
(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 37 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y0) (* a y1)))
(t_2 (* y2 t_1))
(t_3 (- (* y0 y5) (* y1 y4)))
(t_4 (- (* t j) (* y k)))
(t_5
(*
y4
(+
(+ (* b t_4) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2))))))
(t_6 (- (* a b) (* c i)))
(t_7 (- (* i y1) (* b y0)))
(t_8 (* j t_7))
(t_9 (* x (+ (+ (* y t_6) t_2) t_8)))
(t_10 (- (* x j) (* z k))))
(if (<= y4 -3.7e+182)
t_5
(if (<= y4 -7.1e+143)
(* x t_2)
(if (<= y4 -2.15e+71)
(* y3 (- (* c (* y y4)) (- (* c (* z y0)) (* j t_3))))
(if (<= y4 -1.25e-221)
(* x (+ t_2 t_8))
(if (<= y4 -2.6e-286)
(* j (+ (+ (* y3 t_3) (* t (- (* b y4) (* i y5)))) (* x t_7)))
(if (<= y4 7.2e-225)
t_9
(if (<= y4 8.5e-193)
(* i (- (* y1 t_10) (+ (* c (- (* x y) (* z t))) (* y5 t_4))))
(if (<= y4 14000000.0)
t_9
(if (<= y4 2e+75)
(*
y0
(-
(+
(* y5 (- (* j y3) (* k y2)))
(* c (- (* x y2) (* z y3))))
(* b t_10)))
(if (<= y4 1.05e+181)
(*
z
(-
(* k (- (* b y0) (* i y1)))
(+ (* t t_6) (* y3 t_1))))
t_5))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y2 * t_1;
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = (t * j) - (y * k);
double t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_6 = (a * b) - (c * i);
double t_7 = (i * y1) - (b * y0);
double t_8 = j * t_7;
double t_9 = x * (((y * t_6) + t_2) + t_8);
double t_10 = (x * j) - (z * k);
double tmp;
if (y4 <= -3.7e+182) {
tmp = t_5;
} else if (y4 <= -7.1e+143) {
tmp = x * t_2;
} else if (y4 <= -2.15e+71) {
tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_3)));
} else if (y4 <= -1.25e-221) {
tmp = x * (t_2 + t_8);
} else if (y4 <= -2.6e-286) {
tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * t_7));
} else if (y4 <= 7.2e-225) {
tmp = t_9;
} else if (y4 <= 8.5e-193) {
tmp = i * ((y1 * t_10) - ((c * ((x * y) - (z * t))) + (y5 * t_4)));
} else if (y4 <= 14000000.0) {
tmp = t_9;
} else if (y4 <= 2e+75) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_10));
} else if (y4 <= 1.05e+181) {
tmp = z * ((k * ((b * y0) - (i * y1))) - ((t * t_6) + (y3 * t_1)));
} else {
tmp = t_5;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = y2 * t_1
t_3 = (y0 * y5) - (y1 * y4)
t_4 = (t * j) - (y * k)
t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
t_6 = (a * b) - (c * i)
t_7 = (i * y1) - (b * y0)
t_8 = j * t_7
t_9 = x * (((y * t_6) + t_2) + t_8)
t_10 = (x * j) - (z * k)
if (y4 <= (-3.7d+182)) then
tmp = t_5
else if (y4 <= (-7.1d+143)) then
tmp = x * t_2
else if (y4 <= (-2.15d+71)) then
tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_3)))
else if (y4 <= (-1.25d-221)) then
tmp = x * (t_2 + t_8)
else if (y4 <= (-2.6d-286)) then
tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * t_7))
else if (y4 <= 7.2d-225) then
tmp = t_9
else if (y4 <= 8.5d-193) then
tmp = i * ((y1 * t_10) - ((c * ((x * y) - (z * t))) + (y5 * t_4)))
else if (y4 <= 14000000.0d0) then
tmp = t_9
else if (y4 <= 2d+75) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_10))
else if (y4 <= 1.05d+181) then
tmp = z * ((k * ((b * y0) - (i * y1))) - ((t * t_6) + (y3 * t_1)))
else
tmp = t_5
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y2 * t_1;
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = (t * j) - (y * k);
double t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_6 = (a * b) - (c * i);
double t_7 = (i * y1) - (b * y0);
double t_8 = j * t_7;
double t_9 = x * (((y * t_6) + t_2) + t_8);
double t_10 = (x * j) - (z * k);
double tmp;
if (y4 <= -3.7e+182) {
tmp = t_5;
} else if (y4 <= -7.1e+143) {
tmp = x * t_2;
} else if (y4 <= -2.15e+71) {
tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_3)));
} else if (y4 <= -1.25e-221) {
tmp = x * (t_2 + t_8);
} else if (y4 <= -2.6e-286) {
tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * t_7));
} else if (y4 <= 7.2e-225) {
tmp = t_9;
} else if (y4 <= 8.5e-193) {
tmp = i * ((y1 * t_10) - ((c * ((x * y) - (z * t))) + (y5 * t_4)));
} else if (y4 <= 14000000.0) {
tmp = t_9;
} else if (y4 <= 2e+75) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_10));
} else if (y4 <= 1.05e+181) {
tmp = z * ((k * ((b * y0) - (i * y1))) - ((t * t_6) + (y3 * t_1)));
} else {
tmp = t_5;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y0) - (a * y1) t_2 = y2 * t_1 t_3 = (y0 * y5) - (y1 * y4) t_4 = (t * j) - (y * k) t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) t_6 = (a * b) - (c * i) t_7 = (i * y1) - (b * y0) t_8 = j * t_7 t_9 = x * (((y * t_6) + t_2) + t_8) t_10 = (x * j) - (z * k) tmp = 0 if y4 <= -3.7e+182: tmp = t_5 elif y4 <= -7.1e+143: tmp = x * t_2 elif y4 <= -2.15e+71: tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_3))) elif y4 <= -1.25e-221: tmp = x * (t_2 + t_8) elif y4 <= -2.6e-286: tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * t_7)) elif y4 <= 7.2e-225: tmp = t_9 elif y4 <= 8.5e-193: tmp = i * ((y1 * t_10) - ((c * ((x * y) - (z * t))) + (y5 * t_4))) elif y4 <= 14000000.0: tmp = t_9 elif y4 <= 2e+75: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_10)) elif y4 <= 1.05e+181: tmp = z * ((k * ((b * y0) - (i * y1))) - ((t * t_6) + (y3 * t_1))) else: tmp = t_5 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * y0) - Float64(a * y1)) t_2 = Float64(y2 * t_1) t_3 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_4 = Float64(Float64(t * j) - Float64(y * k)) t_5 = Float64(y4 * Float64(Float64(Float64(b * t_4) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) t_6 = Float64(Float64(a * b) - Float64(c * i)) t_7 = Float64(Float64(i * y1) - Float64(b * y0)) t_8 = Float64(j * t_7) t_9 = Float64(x * Float64(Float64(Float64(y * t_6) + t_2) + t_8)) t_10 = Float64(Float64(x * j) - Float64(z * k)) tmp = 0.0 if (y4 <= -3.7e+182) tmp = t_5; elseif (y4 <= -7.1e+143) tmp = Float64(x * t_2); elseif (y4 <= -2.15e+71) tmp = Float64(y3 * Float64(Float64(c * Float64(y * y4)) - Float64(Float64(c * Float64(z * y0)) - Float64(j * t_3)))); elseif (y4 <= -1.25e-221) tmp = Float64(x * Float64(t_2 + t_8)); elseif (y4 <= -2.6e-286) tmp = Float64(j * Float64(Float64(Float64(y3 * t_3) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * t_7))); elseif (y4 <= 7.2e-225) tmp = t_9; elseif (y4 <= 8.5e-193) tmp = Float64(i * Float64(Float64(y1 * t_10) - Float64(Float64(c * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * t_4)))); elseif (y4 <= 14000000.0) tmp = t_9; elseif (y4 <= 2e+75) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) - Float64(b * t_10))); elseif (y4 <= 1.05e+181) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(t * t_6) + Float64(y3 * t_1)))); else tmp = t_5; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (c * y0) - (a * y1); t_2 = y2 * t_1; t_3 = (y0 * y5) - (y1 * y4); t_4 = (t * j) - (y * k); t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); t_6 = (a * b) - (c * i); t_7 = (i * y1) - (b * y0); t_8 = j * t_7; t_9 = x * (((y * t_6) + t_2) + t_8); t_10 = (x * j) - (z * k); tmp = 0.0; if (y4 <= -3.7e+182) tmp = t_5; elseif (y4 <= -7.1e+143) tmp = x * t_2; elseif (y4 <= -2.15e+71) tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_3))); elseif (y4 <= -1.25e-221) tmp = x * (t_2 + t_8); elseif (y4 <= -2.6e-286) tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * t_7)); elseif (y4 <= 7.2e-225) tmp = t_9; elseif (y4 <= 8.5e-193) tmp = i * ((y1 * t_10) - ((c * ((x * y) - (z * t))) + (y5 * t_4))); elseif (y4 <= 14000000.0) tmp = t_9; elseif (y4 <= 2e+75) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_10)); elseif (y4 <= 1.05e+181) tmp = z * ((k * ((b * y0) - (i * y1))) - ((t * t_6) + (y3 * t_1))); else tmp = t_5; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y4 * N[(N[(N[(b * t$95$4), $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]}, Block[{t$95$6 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(j * t$95$7), $MachinePrecision]}, Block[{t$95$9 = N[(x * N[(N[(N[(y * t$95$6), $MachinePrecision] + t$95$2), $MachinePrecision] + t$95$8), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3.7e+182], t$95$5, If[LessEqual[y4, -7.1e+143], N[(x * t$95$2), $MachinePrecision], If[LessEqual[y4, -2.15e+71], N[(y3 * N[(N[(c * N[(y * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(c * N[(z * y0), $MachinePrecision]), $MachinePrecision] - N[(j * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.25e-221], N[(x * N[(t$95$2 + t$95$8), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.6e-286], N[(j * N[(N[(N[(y3 * t$95$3), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7.2e-225], t$95$9, If[LessEqual[y4, 8.5e-193], N[(i * N[(N[(y1 * t$95$10), $MachinePrecision] - N[(N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 14000000.0], t$95$9, If[LessEqual[y4, 2e+75], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.05e+181], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t * t$95$6), $MachinePrecision] + N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$5]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := y2 \cdot t_1\\
t_3 := y0 \cdot y5 - y1 \cdot y4\\
t_4 := t \cdot j - y \cdot k\\
t_5 := y4 \cdot \left(\left(b \cdot t_4 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_6 := a \cdot b - c \cdot i\\
t_7 := i \cdot y1 - b \cdot y0\\
t_8 := j \cdot t_7\\
t_9 := x \cdot \left(\left(y \cdot t_6 + t_2\right) + t_8\right)\\
t_10 := x \cdot j - z \cdot k\\
\mathbf{if}\;y4 \leq -3.7 \cdot 10^{+182}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y4 \leq -7.1 \cdot 10^{+143}:\\
\;\;\;\;x \cdot t_2\\
\mathbf{elif}\;y4 \leq -2.15 \cdot 10^{+71}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4\right) - \left(c \cdot \left(z \cdot y0\right) - j \cdot t_3\right)\right)\\
\mathbf{elif}\;y4 \leq -1.25 \cdot 10^{-221}:\\
\;\;\;\;x \cdot \left(t_2 + t_8\right)\\
\mathbf{elif}\;y4 \leq -2.6 \cdot 10^{-286}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot t_3 + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot t_7\right)\\
\mathbf{elif}\;y4 \leq 7.2 \cdot 10^{-225}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;y4 \leq 8.5 \cdot 10^{-193}:\\
\;\;\;\;i \cdot \left(y1 \cdot t_10 - \left(c \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot t_4\right)\right)\\
\mathbf{elif}\;y4 \leq 14000000:\\
\;\;\;\;t_9\\
\mathbf{elif}\;y4 \leq 2 \cdot 10^{+75}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) - b \cdot t_10\right)\\
\mathbf{elif}\;y4 \leq 1.05 \cdot 10^{+181}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(t \cdot t_6 + y3 \cdot t_1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_5\\
\end{array}
\end{array}
if y4 < -3.69999999999999977e182 or 1.04999999999999999e181 < y4 Initial program 19.6%
Taylor expanded in y4 around inf 72.7%
if -3.69999999999999977e182 < y4 < -7.10000000000000043e143Initial program 40.0%
Taylor expanded in x around inf 60.2%
Taylor expanded in y2 around inf 80.2%
if -7.10000000000000043e143 < y4 < -2.14999999999999992e71Initial program 22.2%
Taylor expanded in y3 around -inf 56.4%
Taylor expanded in a around 0 57.1%
if -2.14999999999999992e71 < y4 < -1.24999999999999999e-221Initial program 26.1%
Taylor expanded in x around inf 58.4%
Taylor expanded in y around 0 60.6%
*-commutative60.6%
*-commutative60.6%
Simplified60.6%
if -1.24999999999999999e-221 < y4 < -2.6e-286Initial program 28.8%
Taylor expanded in j around inf 48.8%
if -2.6e-286 < y4 < 7.20000000000000018e-225 or 8.50000000000000004e-193 < y4 < 1.4e7Initial program 35.0%
Taylor expanded in x around inf 57.7%
if 7.20000000000000018e-225 < y4 < 8.50000000000000004e-193Initial program 53.5%
Taylor expanded in i around -inf 61.6%
if 1.4e7 < y4 < 1.99999999999999985e75Initial program 41.5%
Taylor expanded in y0 around inf 83.4%
if 1.99999999999999985e75 < y4 < 1.04999999999999999e181Initial program 19.0%
Taylor expanded in z around -inf 62.0%
Final simplification62.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a b) (* c i)))
(t_2 (- (* c y0) (* a y1)))
(t_3
(+
(+
(+
(+
(-
(* t_1 (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* x j) (* z k))))
(* t_2 (- (* x y2) (* z y3))))
(* (- (* t j) (* y k)) (- (* b y4) (* i y5))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_3 INFINITY) t_3 (* x (+ (* y t_1) (* y2 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * b) - (c * i);
double t_2 = (c * y0) - (a * y1);
double t_3 = (((((t_1 * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = x * ((y * t_1) + (y2 * t_2));
}
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 = (a * b) - (c * i);
double t_2 = (c * y0) - (a * y1);
double t_3 = (((((t_1 * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_3;
} else {
tmp = x * ((y * t_1) + (y2 * t_2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * b) - (c * i) t_2 = (c * y0) - (a * y1) t_3 = (((((t_1 * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_3 <= math.inf: tmp = t_3 else: tmp = x * ((y * t_1) + (y2 * 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(a * b) - Float64(c * i)) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(t_1 * Float64(Float64(x * y) - Float64(z * t))) - Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(x * j) - Float64(z * k)))) + Float64(t_2 * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_3 <= Inf) tmp = t_3; else tmp = Float64(x * Float64(Float64(y * t_1) + Float64(y2 * t_2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (a * b) - (c * i); t_2 = (c * y0) - (a * y1); t_3 = (((((t_1 * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_3 <= Inf) tmp = t_3; else tmp = x * ((y * t_1) + (y2 * 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[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(t$95$1 * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(x * N[(N[(y * t$95$1), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot b - c \cdot i\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := \left(\left(\left(\left(t_1 \cdot \left(x \cdot y - z \cdot t\right) - \left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\right) + t_2 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t_3 \leq \infty:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot t_1 + y2 \cdot t_2\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 95.0%
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 x around inf 39.8%
Taylor expanded in j around 0 40.4%
Final simplification57.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y1 y4) (* y0 y5)))
(t_2 (- (* c y0) (* a y1)))
(t_3 (* y2 (+ (+ (* k t_1) (* x t_2)) (* t (- (* a y5) (* c y4))))))
(t_4 (+ (* y (- (* a b) (* c i))) (* y2 t_2)))
(t_5 (* x t_4)))
(if (<= j -1.4e+196)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= j -8.5e+69)
(+
(* y4 (+ (* b (* t j)) (* c (- (* y y3) (* t y2)))))
(* (* j y3) (- (* y0 y5) (* y1 y4))))
(if (<= j -3.6e-108)
(* x (+ t_4 (* j (- (* i y1) (* b y0)))))
(if (<= j -1.2e-236)
t_3
(if (<= j 1.48e-300)
t_5
(if (<= j 2.9e-252)
(* k (* y2 t_1))
(if (<= j 2.1e-85)
t_5
(if (or (<= j 9.5e-49) (not (<= j 3e+82)))
(* b (* j (- (* t y4) (* x y0))))
t_3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = (c * y0) - (a * y1);
double t_3 = y2 * (((k * t_1) + (x * t_2)) + (t * ((a * y5) - (c * y4))));
double t_4 = (y * ((a * b) - (c * i))) + (y2 * t_2);
double t_5 = x * t_4;
double tmp;
if (j <= -1.4e+196) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (j <= -8.5e+69) {
tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * ((y0 * y5) - (y1 * y4)));
} else if (j <= -3.6e-108) {
tmp = x * (t_4 + (j * ((i * y1) - (b * y0))));
} else if (j <= -1.2e-236) {
tmp = t_3;
} else if (j <= 1.48e-300) {
tmp = t_5;
} else if (j <= 2.9e-252) {
tmp = k * (y2 * t_1);
} else if (j <= 2.1e-85) {
tmp = t_5;
} else if ((j <= 9.5e-49) || !(j <= 3e+82)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = (y1 * y4) - (y0 * y5)
t_2 = (c * y0) - (a * y1)
t_3 = y2 * (((k * t_1) + (x * t_2)) + (t * ((a * y5) - (c * y4))))
t_4 = (y * ((a * b) - (c * i))) + (y2 * t_2)
t_5 = x * t_4
if (j <= (-1.4d+196)) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (j <= (-8.5d+69)) then
tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * ((y0 * y5) - (y1 * y4)))
else if (j <= (-3.6d-108)) then
tmp = x * (t_4 + (j * ((i * y1) - (b * y0))))
else if (j <= (-1.2d-236)) then
tmp = t_3
else if (j <= 1.48d-300) then
tmp = t_5
else if (j <= 2.9d-252) then
tmp = k * (y2 * t_1)
else if (j <= 2.1d-85) then
tmp = t_5
else if ((j <= 9.5d-49) .or. (.not. (j <= 3d+82))) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = (c * y0) - (a * y1);
double t_3 = y2 * (((k * t_1) + (x * t_2)) + (t * ((a * y5) - (c * y4))));
double t_4 = (y * ((a * b) - (c * i))) + (y2 * t_2);
double t_5 = x * t_4;
double tmp;
if (j <= -1.4e+196) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (j <= -8.5e+69) {
tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * ((y0 * y5) - (y1 * y4)));
} else if (j <= -3.6e-108) {
tmp = x * (t_4 + (j * ((i * y1) - (b * y0))));
} else if (j <= -1.2e-236) {
tmp = t_3;
} else if (j <= 1.48e-300) {
tmp = t_5;
} else if (j <= 2.9e-252) {
tmp = k * (y2 * t_1);
} else if (j <= 2.1e-85) {
tmp = t_5;
} else if ((j <= 9.5e-49) || !(j <= 3e+82)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y1 * y4) - (y0 * y5) t_2 = (c * y0) - (a * y1) t_3 = y2 * (((k * t_1) + (x * t_2)) + (t * ((a * y5) - (c * y4)))) t_4 = (y * ((a * b) - (c * i))) + (y2 * t_2) t_5 = x * t_4 tmp = 0 if j <= -1.4e+196: tmp = x * (y0 * ((c * y2) - (b * j))) elif j <= -8.5e+69: tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * ((y0 * y5) - (y1 * y4))) elif j <= -3.6e-108: tmp = x * (t_4 + (j * ((i * y1) - (b * y0)))) elif j <= -1.2e-236: tmp = t_3 elif j <= 1.48e-300: tmp = t_5 elif j <= 2.9e-252: tmp = k * (y2 * t_1) elif j <= 2.1e-85: tmp = t_5 elif (j <= 9.5e-49) or not (j <= 3e+82): tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(y2 * Float64(Float64(Float64(k * t_1) + Float64(x * t_2)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) t_4 = Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_2)) t_5 = Float64(x * t_4) tmp = 0.0 if (j <= -1.4e+196) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (j <= -8.5e+69) tmp = Float64(Float64(y4 * Float64(Float64(b * Float64(t * j)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) + Float64(Float64(j * y3) * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (j <= -3.6e-108) tmp = Float64(x * Float64(t_4 + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (j <= -1.2e-236) tmp = t_3; elseif (j <= 1.48e-300) tmp = t_5; elseif (j <= 2.9e-252) tmp = Float64(k * Float64(y2 * t_1)); elseif (j <= 2.1e-85) tmp = t_5; elseif ((j <= 9.5e-49) || !(j <= 3e+82)) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y1 * y4) - (y0 * y5); t_2 = (c * y0) - (a * y1); t_3 = y2 * (((k * t_1) + (x * t_2)) + (t * ((a * y5) - (c * y4)))); t_4 = (y * ((a * b) - (c * i))) + (y2 * t_2); t_5 = x * t_4; tmp = 0.0; if (j <= -1.4e+196) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (j <= -8.5e+69) tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * ((y0 * y5) - (y1 * y4))); elseif (j <= -3.6e-108) tmp = x * (t_4 + (j * ((i * y1) - (b * y0)))); elseif (j <= -1.2e-236) tmp = t_3; elseif (j <= 1.48e-300) tmp = t_5; elseif (j <= 2.9e-252) tmp = k * (y2 * t_1); elseif (j <= 2.1e-85) tmp = t_5; elseif ((j <= 9.5e-49) || ~((j <= 3e+82))) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y2 * N[(N[(N[(k * t$95$1), $MachinePrecision] + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(x * t$95$4), $MachinePrecision]}, If[LessEqual[j, -1.4e+196], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -8.5e+69], N[(N[(y4 * N[(N[(b * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * y3), $MachinePrecision] * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.6e-108], N[(x * N[(t$95$4 + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.2e-236], t$95$3, If[LessEqual[j, 1.48e-300], t$95$5, If[LessEqual[j, 2.9e-252], N[(k * N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.1e-85], t$95$5, If[Or[LessEqual[j, 9.5e-49], N[Not[LessEqual[j, 3e+82]], $MachinePrecision]], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := y2 \cdot \left(\left(k \cdot t_1 + x \cdot t_2\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_4 := y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t_2\\
t_5 := x \cdot t_4\\
\mathbf{if}\;j \leq -1.4 \cdot 10^{+196}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;j \leq -8.5 \cdot 10^{+69}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(j \cdot y3\right) \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\\
\mathbf{elif}\;j \leq -3.6 \cdot 10^{-108}:\\
\;\;\;\;x \cdot \left(t_4 + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq -1.2 \cdot 10^{-236}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;j \leq 1.48 \cdot 10^{-300}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;j \leq 2.9 \cdot 10^{-252}:\\
\;\;\;\;k \cdot \left(y2 \cdot t_1\right)\\
\mathbf{elif}\;j \leq 2.1 \cdot 10^{-85}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;j \leq 9.5 \cdot 10^{-49} \lor \neg \left(j \leq 3 \cdot 10^{+82}\right):\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if j < -1.4000000000000001e196Initial program 17.8%
Taylor expanded in x around inf 33.0%
Taylor expanded in y0 around inf 58.0%
*-commutative58.0%
*-commutative58.0%
Simplified58.0%
if -1.4000000000000001e196 < j < -8.5000000000000002e69Initial program 22.7%
Taylor expanded in y4 around inf 50.8%
*-commutative50.8%
*-commutative50.8%
Simplified50.8%
Taylor expanded in k around 0 64.5%
+-commutative64.5%
mul-1-neg64.5%
unsub-neg64.5%
*-commutative64.5%
associate-*r*64.5%
Simplified64.5%
if -8.5000000000000002e69 < j < -3.6000000000000001e-108Initial program 37.0%
Taylor expanded in x around inf 59.0%
if -3.6000000000000001e-108 < j < -1.2000000000000001e-236 or 9.50000000000000006e-49 < j < 2.99999999999999989e82Initial program 23.1%
Taylor expanded in y2 around inf 51.2%
if -1.2000000000000001e-236 < j < 1.4799999999999999e-300 or 2.9000000000000001e-252 < j < 2.1e-85Initial program 33.4%
Taylor expanded in x around inf 57.4%
Taylor expanded in j around 0 61.3%
if 1.4799999999999999e-300 < j < 2.9000000000000001e-252Initial program 54.5%
Taylor expanded in y4 around inf 37.4%
*-commutative37.4%
*-commutative37.4%
Simplified37.4%
Taylor expanded in k around inf 46.8%
mul-1-neg46.8%
distribute-rgt-neg-in46.8%
associate-*r*37.7%
distribute-rgt-neg-in37.7%
*-commutative37.7%
Simplified37.7%
Taylor expanded in y2 around inf 55.6%
if 2.1e-85 < j < 9.50000000000000006e-49 or 2.99999999999999989e82 < j Initial program 26.2%
Taylor expanded in b around inf 41.8%
Taylor expanded in j around inf 59.5%
Final simplification58.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (- (* i y1) (* b y0))))
(t_2 (* y (- (* a b) (* c i))))
(t_3
(-
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* b (* (* y k) y4))))
(t_4 (- (* y0 y5) (* y1 y4)))
(t_5 (* y2 (- (* c y0) (* a y1)))))
(if (<= y4 -5e+229)
(* c (* y (* y3 y4)))
(if (<= y4 -3.85e+143)
t_3
(if (<= y4 -2.7e+128)
(* y3 (- (* c (* y y4)) (- (* c (* z y0)) (* j t_4))))
(if (<= y4 -1.2e+79)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y4 -1.3e-135)
(* x (+ t_5 t_1))
(if (<= y4 -9.2e-215)
(* x t_2)
(if (<= y4 -2.85e-291)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y4 8.5e+68)
(* x (+ (+ t_2 t_5) t_1))
(if (<= y4 1.25e+240)
t_3
(+
(* y4 (+ (* b (* t j)) (* c (- (* y y3) (* t y2)))))
(* (* j y3) t_4)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * ((i * y1) - (b * y0));
double t_2 = y * ((a * b) - (c * i));
double t_3 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4));
double t_4 = (y0 * y5) - (y1 * y4);
double t_5 = y2 * ((c * y0) - (a * y1));
double tmp;
if (y4 <= -5e+229) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -3.85e+143) {
tmp = t_3;
} else if (y4 <= -2.7e+128) {
tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_4)));
} else if (y4 <= -1.2e+79) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y4 <= -1.3e-135) {
tmp = x * (t_5 + t_1);
} else if (y4 <= -9.2e-215) {
tmp = x * t_2;
} else if (y4 <= -2.85e-291) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y4 <= 8.5e+68) {
tmp = x * ((t_2 + t_5) + t_1);
} else if (y4 <= 1.25e+240) {
tmp = t_3;
} else {
tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * t_4);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = j * ((i * y1) - (b * y0))
t_2 = y * ((a * b) - (c * i))
t_3 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4))
t_4 = (y0 * y5) - (y1 * y4)
t_5 = y2 * ((c * y0) - (a * y1))
if (y4 <= (-5d+229)) then
tmp = c * (y * (y3 * y4))
else if (y4 <= (-3.85d+143)) then
tmp = t_3
else if (y4 <= (-2.7d+128)) then
tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_4)))
else if (y4 <= (-1.2d+79)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y4 <= (-1.3d-135)) then
tmp = x * (t_5 + t_1)
else if (y4 <= (-9.2d-215)) then
tmp = x * t_2
else if (y4 <= (-2.85d-291)) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y4 <= 8.5d+68) then
tmp = x * ((t_2 + t_5) + t_1)
else if (y4 <= 1.25d+240) then
tmp = t_3
else
tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * t_4)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * ((i * y1) - (b * y0));
double t_2 = y * ((a * b) - (c * i));
double t_3 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4));
double t_4 = (y0 * y5) - (y1 * y4);
double t_5 = y2 * ((c * y0) - (a * y1));
double tmp;
if (y4 <= -5e+229) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -3.85e+143) {
tmp = t_3;
} else if (y4 <= -2.7e+128) {
tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_4)));
} else if (y4 <= -1.2e+79) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y4 <= -1.3e-135) {
tmp = x * (t_5 + t_1);
} else if (y4 <= -9.2e-215) {
tmp = x * t_2;
} else if (y4 <= -2.85e-291) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y4 <= 8.5e+68) {
tmp = x * ((t_2 + t_5) + t_1);
} else if (y4 <= 1.25e+240) {
tmp = t_3;
} else {
tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * t_4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * ((i * y1) - (b * y0)) t_2 = y * ((a * b) - (c * i)) t_3 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4)) t_4 = (y0 * y5) - (y1 * y4) t_5 = y2 * ((c * y0) - (a * y1)) tmp = 0 if y4 <= -5e+229: tmp = c * (y * (y3 * y4)) elif y4 <= -3.85e+143: tmp = t_3 elif y4 <= -2.7e+128: tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_4))) elif y4 <= -1.2e+79: tmp = t * (y4 * ((b * j) - (c * y2))) elif y4 <= -1.3e-135: tmp = x * (t_5 + t_1) elif y4 <= -9.2e-215: tmp = x * t_2 elif y4 <= -2.85e-291: tmp = x * (y0 * ((c * y2) - (b * j))) elif y4 <= 8.5e+68: tmp = x * ((t_2 + t_5) + t_1) elif y4 <= 1.25e+240: tmp = t_3 else: tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * t_4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) t_2 = Float64(y * Float64(Float64(a * b) - Float64(c * i))) t_3 = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(b * Float64(Float64(y * k) * y4))) t_4 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_5 = Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) tmp = 0.0 if (y4 <= -5e+229) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (y4 <= -3.85e+143) tmp = t_3; elseif (y4 <= -2.7e+128) tmp = Float64(y3 * Float64(Float64(c * Float64(y * y4)) - Float64(Float64(c * Float64(z * y0)) - Float64(j * t_4)))); elseif (y4 <= -1.2e+79) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y4 <= -1.3e-135) tmp = Float64(x * Float64(t_5 + t_1)); elseif (y4 <= -9.2e-215) tmp = Float64(x * t_2); elseif (y4 <= -2.85e-291) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y4 <= 8.5e+68) tmp = Float64(x * Float64(Float64(t_2 + t_5) + t_1)); elseif (y4 <= 1.25e+240) tmp = t_3; else tmp = Float64(Float64(y4 * Float64(Float64(b * Float64(t * j)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) + Float64(Float64(j * y3) * t_4)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * ((i * y1) - (b * y0)); t_2 = y * ((a * b) - (c * i)); t_3 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4)); t_4 = (y0 * y5) - (y1 * y4); t_5 = y2 * ((c * y0) - (a * y1)); tmp = 0.0; if (y4 <= -5e+229) tmp = c * (y * (y3 * y4)); elseif (y4 <= -3.85e+143) tmp = t_3; elseif (y4 <= -2.7e+128) tmp = y3 * ((c * (y * y4)) - ((c * (z * y0)) - (j * t_4))); elseif (y4 <= -1.2e+79) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y4 <= -1.3e-135) tmp = x * (t_5 + t_1); elseif (y4 <= -9.2e-215) tmp = x * t_2; elseif (y4 <= -2.85e-291) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y4 <= 8.5e+68) tmp = x * ((t_2 + t_5) + t_1); elseif (y4 <= 1.25e+240) tmp = t_3; else tmp = (y4 * ((b * (t * j)) + (c * ((y * y3) - (t * y2))))) + ((j * y3) * t_4); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(y * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -5e+229], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -3.85e+143], t$95$3, If[LessEqual[y4, -2.7e+128], N[(y3 * N[(N[(c * N[(y * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(c * N[(z * y0), $MachinePrecision]), $MachinePrecision] - N[(j * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.2e+79], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.3e-135], N[(x * N[(t$95$5 + t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -9.2e-215], N[(x * t$95$2), $MachinePrecision], If[LessEqual[y4, -2.85e-291], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8.5e+68], N[(x * N[(N[(t$95$2 + t$95$5), $MachinePrecision] + t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.25e+240], t$95$3, N[(N[(y4 * N[(N[(b * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * y3), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(i \cdot y1 - b \cdot y0\right)\\
t_2 := y \cdot \left(a \cdot b - c \cdot i\right)\\
t_3 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - b \cdot \left(\left(y \cdot k\right) \cdot y4\right)\\
t_4 := y0 \cdot y5 - y1 \cdot y4\\
t_5 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{if}\;y4 \leq -5 \cdot 10^{+229}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -3.85 \cdot 10^{+143}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y4 \leq -2.7 \cdot 10^{+128}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4\right) - \left(c \cdot \left(z \cdot y0\right) - j \cdot t_4\right)\right)\\
\mathbf{elif}\;y4 \leq -1.2 \cdot 10^{+79}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -1.3 \cdot 10^{-135}:\\
\;\;\;\;x \cdot \left(t_5 + t_1\right)\\
\mathbf{elif}\;y4 \leq -9.2 \cdot 10^{-215}:\\
\;\;\;\;x \cdot t_2\\
\mathbf{elif}\;y4 \leq -2.85 \cdot 10^{-291}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y4 \leq 8.5 \cdot 10^{+68}:\\
\;\;\;\;x \cdot \left(\left(t_2 + t_5\right) + t_1\right)\\
\mathbf{elif}\;y4 \leq 1.25 \cdot 10^{+240}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(j \cdot y3\right) \cdot t_4\\
\end{array}
\end{array}
if y4 < -5.0000000000000005e229Initial program 21.4%
Taylor expanded in y4 around inf 21.9%
*-commutative21.9%
*-commutative21.9%
Simplified21.9%
Taylor expanded in y around inf 71.6%
associate-*r*51.3%
distribute-lft-out--51.3%
Simplified51.3%
Taylor expanded in b around 0 71.6%
*-commutative71.6%
Simplified71.6%
if -5.0000000000000005e229 < y4 < -3.85000000000000013e143 or 8.49999999999999966e68 < y4 < 1.2500000000000001e240Initial program 20.9%
Taylor expanded in y4 around inf 39.5%
*-commutative39.5%
*-commutative39.5%
Simplified39.5%
Taylor expanded in k around inf 58.2%
mul-1-neg58.2%
distribute-rgt-neg-in58.2%
associate-*r*62.8%
distribute-rgt-neg-in62.8%
*-commutative62.8%
Simplified62.8%
if -3.85000000000000013e143 < y4 < -2.70000000000000001e128Initial program 40.0%
Taylor expanded in y3 around -inf 63.0%
Taylor expanded in a around 0 81.6%
if -2.70000000000000001e128 < y4 < -1.19999999999999993e79Initial program 18.2%
Taylor expanded in y4 around inf 36.9%
*-commutative36.9%
*-commutative36.9%
Simplified36.9%
Taylor expanded in t around inf 73.2%
if -1.19999999999999993e79 < y4 < -1.30000000000000002e-135Initial program 28.2%
Taylor expanded in x around inf 57.0%
Taylor expanded in y around 0 62.2%
*-commutative62.2%
*-commutative62.2%
Simplified62.2%
if -1.30000000000000002e-135 < y4 < -9.1999999999999996e-215Initial program 20.6%
Taylor expanded in x around inf 60.3%
Taylor expanded in y around inf 60.8%
if -9.1999999999999996e-215 < y4 < -2.85000000000000017e-291Initial program 22.4%
Taylor expanded in x around inf 33.6%
Taylor expanded in y0 around inf 49.0%
*-commutative49.0%
*-commutative49.0%
Simplified49.0%
if -2.85000000000000017e-291 < y4 < 8.49999999999999966e68Initial program 40.7%
Taylor expanded in x around inf 50.6%
if 1.2500000000000001e240 < y4 Initial program 19.0%
Taylor expanded in y4 around inf 38.1%
*-commutative38.1%
*-commutative38.1%
Simplified38.1%
Taylor expanded in k around 0 57.7%
+-commutative57.7%
mul-1-neg57.7%
unsub-neg57.7%
*-commutative57.7%
associate-*r*57.7%
Simplified57.7%
Final simplification57.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 (- (* a b) (* c i)))
(t_3 (* j (- (* i y1) (* b y0))))
(t_4 (- (* t j) (* y k)))
(t_5
(*
y4
(+
(+ (* b t_4) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2))))))
(t_6 (- (* b y0) (* i y1)))
(t_7 (- (* x j) (* z k)))
(t_8 (* y2 t_1))
(t_9 (* x (+ (+ (* y t_2) t_8) t_3))))
(if (<= y4 -4.6e+79)
t_5
(if (<= y4 -1.58e-145)
(* x (+ t_8 t_3))
(if (<= y4 -1.75e-259)
(*
k
(+
(+ (* y (- (* i y5) (* b y4))) (* y2 (- (* y1 y4) (* y0 y5))))
(* z t_6)))
(if (<= y4 4.8e-226)
t_9
(if (<= y4 1.25e-193)
(* i (- (* y1 t_7) (+ (* c (- (* x y) (* z t))) (* y5 t_4))))
(if (<= y4 3100000000.0)
t_9
(if (<= y4 4.4e+76)
(*
y0
(-
(+ (* y5 (- (* j y3) (* k y2))) (* c (- (* x y2) (* z y3))))
(* b t_7)))
(if (<= y4 8e+180)
(* z (- (* k t_6) (+ (* t t_2) (* y3 t_1))))
t_5))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = (a * b) - (c * i);
double t_3 = j * ((i * y1) - (b * y0));
double t_4 = (t * j) - (y * k);
double t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_6 = (b * y0) - (i * y1);
double t_7 = (x * j) - (z * k);
double t_8 = y2 * t_1;
double t_9 = x * (((y * t_2) + t_8) + t_3);
double tmp;
if (y4 <= -4.6e+79) {
tmp = t_5;
} else if (y4 <= -1.58e-145) {
tmp = x * (t_8 + t_3);
} else if (y4 <= -1.75e-259) {
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * t_6));
} else if (y4 <= 4.8e-226) {
tmp = t_9;
} else if (y4 <= 1.25e-193) {
tmp = i * ((y1 * t_7) - ((c * ((x * y) - (z * t))) + (y5 * t_4)));
} else if (y4 <= 3100000000.0) {
tmp = t_9;
} else if (y4 <= 4.4e+76) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_7));
} else if (y4 <= 8e+180) {
tmp = z * ((k * t_6) - ((t * t_2) + (y3 * t_1)));
} else {
tmp = t_5;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = (a * b) - (c * i)
t_3 = j * ((i * y1) - (b * y0))
t_4 = (t * j) - (y * k)
t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
t_6 = (b * y0) - (i * y1)
t_7 = (x * j) - (z * k)
t_8 = y2 * t_1
t_9 = x * (((y * t_2) + t_8) + t_3)
if (y4 <= (-4.6d+79)) then
tmp = t_5
else if (y4 <= (-1.58d-145)) then
tmp = x * (t_8 + t_3)
else if (y4 <= (-1.75d-259)) then
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * t_6))
else if (y4 <= 4.8d-226) then
tmp = t_9
else if (y4 <= 1.25d-193) then
tmp = i * ((y1 * t_7) - ((c * ((x * y) - (z * t))) + (y5 * t_4)))
else if (y4 <= 3100000000.0d0) then
tmp = t_9
else if (y4 <= 4.4d+76) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_7))
else if (y4 <= 8d+180) then
tmp = z * ((k * t_6) - ((t * t_2) + (y3 * t_1)))
else
tmp = t_5
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = (a * b) - (c * i);
double t_3 = j * ((i * y1) - (b * y0));
double t_4 = (t * j) - (y * k);
double t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_6 = (b * y0) - (i * y1);
double t_7 = (x * j) - (z * k);
double t_8 = y2 * t_1;
double t_9 = x * (((y * t_2) + t_8) + t_3);
double tmp;
if (y4 <= -4.6e+79) {
tmp = t_5;
} else if (y4 <= -1.58e-145) {
tmp = x * (t_8 + t_3);
} else if (y4 <= -1.75e-259) {
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * t_6));
} else if (y4 <= 4.8e-226) {
tmp = t_9;
} else if (y4 <= 1.25e-193) {
tmp = i * ((y1 * t_7) - ((c * ((x * y) - (z * t))) + (y5 * t_4)));
} else if (y4 <= 3100000000.0) {
tmp = t_9;
} else if (y4 <= 4.4e+76) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_7));
} else if (y4 <= 8e+180) {
tmp = z * ((k * t_6) - ((t * t_2) + (y3 * t_1)));
} else {
tmp = t_5;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y0) - (a * y1) t_2 = (a * b) - (c * i) t_3 = j * ((i * y1) - (b * y0)) t_4 = (t * j) - (y * k) t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) t_6 = (b * y0) - (i * y1) t_7 = (x * j) - (z * k) t_8 = y2 * t_1 t_9 = x * (((y * t_2) + t_8) + t_3) tmp = 0 if y4 <= -4.6e+79: tmp = t_5 elif y4 <= -1.58e-145: tmp = x * (t_8 + t_3) elif y4 <= -1.75e-259: tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * t_6)) elif y4 <= 4.8e-226: tmp = t_9 elif y4 <= 1.25e-193: tmp = i * ((y1 * t_7) - ((c * ((x * y) - (z * t))) + (y5 * t_4))) elif y4 <= 3100000000.0: tmp = t_9 elif y4 <= 4.4e+76: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_7)) elif y4 <= 8e+180: tmp = z * ((k * t_6) - ((t * t_2) + (y3 * t_1))) else: tmp = t_5 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * y0) - Float64(a * y1)) t_2 = Float64(Float64(a * b) - Float64(c * i)) t_3 = Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) t_4 = Float64(Float64(t * j) - Float64(y * k)) t_5 = Float64(y4 * Float64(Float64(Float64(b * t_4) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) t_6 = Float64(Float64(b * y0) - Float64(i * y1)) t_7 = Float64(Float64(x * j) - Float64(z * k)) t_8 = Float64(y2 * t_1) t_9 = Float64(x * Float64(Float64(Float64(y * t_2) + t_8) + t_3)) tmp = 0.0 if (y4 <= -4.6e+79) tmp = t_5; elseif (y4 <= -1.58e-145) tmp = Float64(x * Float64(t_8 + t_3)); elseif (y4 <= -1.75e-259) tmp = Float64(k * Float64(Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(z * t_6))); elseif (y4 <= 4.8e-226) tmp = t_9; elseif (y4 <= 1.25e-193) tmp = Float64(i * Float64(Float64(y1 * t_7) - Float64(Float64(c * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * t_4)))); elseif (y4 <= 3100000000.0) tmp = t_9; elseif (y4 <= 4.4e+76) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) - Float64(b * t_7))); elseif (y4 <= 8e+180) tmp = Float64(z * Float64(Float64(k * t_6) - Float64(Float64(t * t_2) + Float64(y3 * t_1)))); else tmp = t_5; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (c * y0) - (a * y1); t_2 = (a * b) - (c * i); t_3 = j * ((i * y1) - (b * y0)); t_4 = (t * j) - (y * k); t_5 = y4 * (((b * t_4) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); t_6 = (b * y0) - (i * y1); t_7 = (x * j) - (z * k); t_8 = y2 * t_1; t_9 = x * (((y * t_2) + t_8) + t_3); tmp = 0.0; if (y4 <= -4.6e+79) tmp = t_5; elseif (y4 <= -1.58e-145) tmp = x * (t_8 + t_3); elseif (y4 <= -1.75e-259) tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * t_6)); elseif (y4 <= 4.8e-226) tmp = t_9; elseif (y4 <= 1.25e-193) tmp = i * ((y1 * t_7) - ((c * ((x * y) - (z * t))) + (y5 * t_4))); elseif (y4 <= 3100000000.0) tmp = t_9; elseif (y4 <= 4.4e+76) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) - (b * t_7)); elseif (y4 <= 8e+180) tmp = z * ((k * t_6) - ((t * t_2) + (y3 * t_1))); else tmp = t_5; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y4 * N[(N[(N[(b * t$95$4), $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]}, Block[{t$95$6 = N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(y2 * t$95$1), $MachinePrecision]}, Block[{t$95$9 = N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + t$95$8), $MachinePrecision] + t$95$3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.6e+79], t$95$5, If[LessEqual[y4, -1.58e-145], N[(x * N[(t$95$8 + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.75e-259], N[(k * N[(N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.8e-226], t$95$9, If[LessEqual[y4, 1.25e-193], N[(i * N[(N[(y1 * t$95$7), $MachinePrecision] - N[(N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3100000000.0], t$95$9, If[LessEqual[y4, 4.4e+76], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8e+180], N[(z * N[(N[(k * t$95$6), $MachinePrecision] - N[(N[(t * t$95$2), $MachinePrecision] + N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$5]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := a \cdot b - c \cdot i\\
t_3 := j \cdot \left(i \cdot y1 - b \cdot y0\right)\\
t_4 := t \cdot j - y \cdot k\\
t_5 := y4 \cdot \left(\left(b \cdot t_4 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_6 := b \cdot y0 - i \cdot y1\\
t_7 := x \cdot j - z \cdot k\\
t_8 := y2 \cdot t_1\\
t_9 := x \cdot \left(\left(y \cdot t_2 + t_8\right) + t_3\right)\\
\mathbf{if}\;y4 \leq -4.6 \cdot 10^{+79}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y4 \leq -1.58 \cdot 10^{-145}:\\
\;\;\;\;x \cdot \left(t_8 + t_3\right)\\
\mathbf{elif}\;y4 \leq -1.75 \cdot 10^{-259}:\\
\;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + z \cdot t_6\right)\\
\mathbf{elif}\;y4 \leq 4.8 \cdot 10^{-226}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;y4 \leq 1.25 \cdot 10^{-193}:\\
\;\;\;\;i \cdot \left(y1 \cdot t_7 - \left(c \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot t_4\right)\right)\\
\mathbf{elif}\;y4 \leq 3100000000:\\
\;\;\;\;t_9\\
\mathbf{elif}\;y4 \leq 4.4 \cdot 10^{+76}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) - b \cdot t_7\right)\\
\mathbf{elif}\;y4 \leq 8 \cdot 10^{+180}:\\
\;\;\;\;z \cdot \left(k \cdot t_6 - \left(t \cdot t_2 + y3 \cdot t_1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_5\\
\end{array}
\end{array}
if y4 < -4.6000000000000001e79 or 8.0000000000000001e180 < y4 Initial program 22.5%
Taylor expanded in y4 around inf 66.4%
if -4.6000000000000001e79 < y4 < -1.58000000000000003e-145Initial program 26.2%
Taylor expanded in x around inf 55.3%
Taylor expanded in y around 0 60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
if -1.58000000000000003e-145 < y4 < -1.7500000000000001e-259Initial program 29.4%
Taylor expanded in k around inf 55.9%
if -1.7500000000000001e-259 < y4 < 4.7999999999999999e-226 or 1.2500000000000001e-193 < y4 < 3.1e9Initial program 32.5%
Taylor expanded in x around inf 55.5%
if 4.7999999999999999e-226 < y4 < 1.2500000000000001e-193Initial program 53.5%
Taylor expanded in i around -inf 61.6%
if 3.1e9 < y4 < 4.4000000000000001e76Initial program 41.5%
Taylor expanded in y0 around inf 83.4%
if 4.4000000000000001e76 < y4 < 8.0000000000000001e180Initial program 19.0%
Taylor expanded in z around -inf 62.0%
Final simplification61.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (- (* c y0) (* a y1))))
(t_2 (- (* t j) (* y k)))
(t_3
(*
y4
(+
(+ (* b t_2) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2))))))
(t_4
(*
x
(+ (+ (* y (- (* a b) (* c i))) t_1) (* j (- (* i y1) (* b y0)))))))
(if (<= y4 -2.45e+182)
t_3
(if (<= y4 -1.15e+144)
(* x t_1)
(if (<= y4 -3.3e+80)
t_3
(if (<= y4 2.4e-225)
t_4
(if (<= y4 5.9e-195)
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* x y) (* z t))) (* y5 t_2))))
(if (<= y4 3.7e+24)
t_4
(if (<= y4 5e+181)
(- (* j (* y3 (- (* y0 y5) (* y1 y4)))) (* b (* (* y k) y4)))
t_3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = (t * j) - (y * k);
double t_3 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_4 = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y4 <= -2.45e+182) {
tmp = t_3;
} else if (y4 <= -1.15e+144) {
tmp = x * t_1;
} else if (y4 <= -3.3e+80) {
tmp = t_3;
} else if (y4 <= 2.4e-225) {
tmp = t_4;
} else if (y4 <= 5.9e-195) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)));
} else if (y4 <= 3.7e+24) {
tmp = t_4;
} else if (y4 <= 5e+181) {
tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4));
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = y2 * ((c * y0) - (a * y1))
t_2 = (t * j) - (y * k)
t_3 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
t_4 = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))))
if (y4 <= (-2.45d+182)) then
tmp = t_3
else if (y4 <= (-1.15d+144)) then
tmp = x * t_1
else if (y4 <= (-3.3d+80)) then
tmp = t_3
else if (y4 <= 2.4d-225) then
tmp = t_4
else if (y4 <= 5.9d-195) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)))
else if (y4 <= 3.7d+24) then
tmp = t_4
else if (y4 <= 5d+181) then
tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4))
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = (t * j) - (y * k);
double t_3 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_4 = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y4 <= -2.45e+182) {
tmp = t_3;
} else if (y4 <= -1.15e+144) {
tmp = x * t_1;
} else if (y4 <= -3.3e+80) {
tmp = t_3;
} else if (y4 <= 2.4e-225) {
tmp = t_4;
} else if (y4 <= 5.9e-195) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)));
} else if (y4 <= 3.7e+24) {
tmp = t_4;
} else if (y4 <= 5e+181) {
tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * ((c * y0) - (a * y1)) t_2 = (t * j) - (y * k) t_3 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) t_4 = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0)))) tmp = 0 if y4 <= -2.45e+182: tmp = t_3 elif y4 <= -1.15e+144: tmp = x * t_1 elif y4 <= -3.3e+80: tmp = t_3 elif y4 <= 2.4e-225: tmp = t_4 elif y4 <= 5.9e-195: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2))) elif y4 <= 3.7e+24: tmp = t_4 elif y4 <= 5e+181: tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4)) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = 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))))) t_4 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + t_1) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (y4 <= -2.45e+182) tmp = t_3; elseif (y4 <= -1.15e+144) tmp = Float64(x * t_1); elseif (y4 <= -3.3e+80) tmp = t_3; elseif (y4 <= 2.4e-225) tmp = t_4; elseif (y4 <= 5.9e-195) 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 (y4 <= 3.7e+24) tmp = t_4; elseif (y4 <= 5e+181) tmp = Float64(Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) - Float64(b * Float64(Float64(y * k) * y4))); else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * ((c * y0) - (a * y1)); t_2 = (t * j) - (y * k); t_3 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); t_4 = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (y4 <= -2.45e+182) tmp = t_3; elseif (y4 <= -1.15e+144) tmp = x * t_1; elseif (y4 <= -3.3e+80) tmp = t_3; elseif (y4 <= 2.4e-225) tmp = t_4; elseif (y4 <= 5.9e-195) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2))); elseif (y4 <= 3.7e+24) tmp = t_4; elseif (y4 <= 5e+181) tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4)); else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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]}, Block[{t$95$4 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -2.45e+182], t$95$3, If[LessEqual[y4, -1.15e+144], N[(x * t$95$1), $MachinePrecision], If[LessEqual[y4, -3.3e+80], t$95$3, If[LessEqual[y4, 2.4e-225], t$95$4, If[LessEqual[y4, 5.9e-195], 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[y4, 3.7e+24], t$95$4, If[LessEqual[y4, 5e+181], N[(N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(y * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
t_2 := t \cdot j - y \cdot k\\
t_3 := 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)\\
t_4 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + t_1\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y4 \leq -2.45 \cdot 10^{+182}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y4 \leq -1.15 \cdot 10^{+144}:\\
\;\;\;\;x \cdot t_1\\
\mathbf{elif}\;y4 \leq -3.3 \cdot 10^{+80}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y4 \leq 2.4 \cdot 10^{-225}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;y4 \leq 5.9 \cdot 10^{-195}:\\
\;\;\;\;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}\;y4 \leq 3.7 \cdot 10^{+24}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;y4 \leq 5 \cdot 10^{+181}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) - b \cdot \left(\left(y \cdot k\right) \cdot y4\right)\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if y4 < -2.45e182 or -1.1500000000000001e144 < y4 < -3.29999999999999991e80 or 5.0000000000000003e181 < y4 Initial program 21.2%
Taylor expanded in y4 around inf 71.5%
if -2.45e182 < y4 < -1.1500000000000001e144Initial program 40.0%
Taylor expanded in x around inf 60.2%
Taylor expanded in y2 around inf 80.2%
if -3.29999999999999991e80 < y4 < 2.39999999999999996e-225 or 5.90000000000000006e-195 < y4 < 3.69999999999999999e24Initial program 30.8%
Taylor expanded in x around inf 53.3%
if 2.39999999999999996e-225 < y4 < 5.90000000000000006e-195Initial program 53.5%
Taylor expanded in i around -inf 61.6%
if 3.69999999999999999e24 < y4 < 5.0000000000000003e181Initial program 23.3%
Taylor expanded in y4 around inf 30.7%
*-commutative30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in k around inf 50.9%
mul-1-neg50.9%
distribute-rgt-neg-in50.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in k around 0 53.9%
associate-*r*53.9%
neg-mul-153.9%
Simplified53.9%
Final simplification59.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (- (* j (- (* i y1) (* b y0))) (* a (* y1 y2)))))
(t_2 (- (* y0 y2) (* y i)))
(t_3 (* b (* z (- (* k y0) (* t a)))))
(t_4
(-
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* b (* (* y k) y4)))))
(if (<= c -9.5e-70)
(* x (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1)))))
(if (<= c -1.75e-215)
(* y3 (+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0)))))
(if (<= c 4.2e-229)
t_1
(if (<= c 9e-168)
t_3
(if (<= c 1.6e-17)
t_1
(if (<= c 1.9e+22)
t_3
(if (<= c 2.4e+44)
t_4
(if (<= c 1.45e+116)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= c 2.1e+201)
(* (* x c) t_2)
(if (<= c 2.9e+250) t_4 (* x (* c t_2))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double t_2 = (y0 * y2) - (y * i);
double t_3 = b * (z * ((k * y0) - (t * a)));
double t_4 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4));
double tmp;
if (c <= -9.5e-70) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -1.75e-215) {
tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))));
} else if (c <= 4.2e-229) {
tmp = t_1;
} else if (c <= 9e-168) {
tmp = t_3;
} else if (c <= 1.6e-17) {
tmp = t_1;
} else if (c <= 1.9e+22) {
tmp = t_3;
} else if (c <= 2.4e+44) {
tmp = t_4;
} else if (c <= 1.45e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 2.1e+201) {
tmp = (x * c) * t_2;
} else if (c <= 2.9e+250) {
tmp = t_4;
} else {
tmp = x * (c * t_2);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)))
t_2 = (y0 * y2) - (y * i)
t_3 = b * (z * ((k * y0) - (t * a)))
t_4 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4))
if (c <= (-9.5d-70)) then
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
else if (c <= (-1.75d-215)) then
tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))
else if (c <= 4.2d-229) then
tmp = t_1
else if (c <= 9d-168) then
tmp = t_3
else if (c <= 1.6d-17) then
tmp = t_1
else if (c <= 1.9d+22) then
tmp = t_3
else if (c <= 2.4d+44) then
tmp = t_4
else if (c <= 1.45d+116) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (c <= 2.1d+201) then
tmp = (x * c) * t_2
else if (c <= 2.9d+250) then
tmp = t_4
else
tmp = x * (c * t_2)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double t_2 = (y0 * y2) - (y * i);
double t_3 = b * (z * ((k * y0) - (t * a)));
double t_4 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4));
double tmp;
if (c <= -9.5e-70) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -1.75e-215) {
tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))));
} else if (c <= 4.2e-229) {
tmp = t_1;
} else if (c <= 9e-168) {
tmp = t_3;
} else if (c <= 1.6e-17) {
tmp = t_1;
} else if (c <= 1.9e+22) {
tmp = t_3;
} else if (c <= 2.4e+44) {
tmp = t_4;
} else if (c <= 1.45e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 2.1e+201) {
tmp = (x * c) * t_2;
} else if (c <= 2.9e+250) {
tmp = t_4;
} else {
tmp = x * (c * t_2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))) t_2 = (y0 * y2) - (y * i) t_3 = b * (z * ((k * y0) - (t * a))) t_4 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4)) tmp = 0 if c <= -9.5e-70: tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) elif c <= -1.75e-215: tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))) elif c <= 4.2e-229: tmp = t_1 elif c <= 9e-168: tmp = t_3 elif c <= 1.6e-17: tmp = t_1 elif c <= 1.9e+22: tmp = t_3 elif c <= 2.4e+44: tmp = t_4 elif c <= 1.45e+116: tmp = c * (y4 * ((y * y3) - (t * y2))) elif c <= 2.1e+201: tmp = (x * c) * t_2 elif c <= 2.9e+250: tmp = t_4 else: tmp = x * (c * t_2) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) - Float64(a * Float64(y1 * y2)))) t_2 = Float64(Float64(y0 * y2) - Float64(y * i)) t_3 = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))) t_4 = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(b * Float64(Float64(y * k) * y4))) tmp = 0.0 if (c <= -9.5e-70) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (c <= -1.75e-215) tmp = Float64(y3 * Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0))))); elseif (c <= 4.2e-229) tmp = t_1; elseif (c <= 9e-168) tmp = t_3; elseif (c <= 1.6e-17) tmp = t_1; elseif (c <= 1.9e+22) tmp = t_3; elseif (c <= 2.4e+44) tmp = t_4; elseif (c <= 1.45e+116) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (c <= 2.1e+201) tmp = Float64(Float64(x * c) * t_2); elseif (c <= 2.9e+250) tmp = t_4; else tmp = Float64(x * Float64(c * t_2)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))); t_2 = (y0 * y2) - (y * i); t_3 = b * (z * ((k * y0) - (t * a))); t_4 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4)); tmp = 0.0; if (c <= -9.5e-70) tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); elseif (c <= -1.75e-215) tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))); elseif (c <= 4.2e-229) tmp = t_1; elseif (c <= 9e-168) tmp = t_3; elseif (c <= 1.6e-17) tmp = t_1; elseif (c <= 1.9e+22) tmp = t_3; elseif (c <= 2.4e+44) tmp = t_4; elseif (c <= 1.45e+116) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (c <= 2.1e+201) tmp = (x * c) * t_2; elseif (c <= 2.9e+250) tmp = t_4; else tmp = x * (c * t_2); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(y * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -9.5e-70], N[(x * 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]), $MachinePrecision], If[LessEqual[c, -1.75e-215], N[(y3 * N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.2e-229], t$95$1, If[LessEqual[c, 9e-168], t$95$3, If[LessEqual[c, 1.6e-17], t$95$1, If[LessEqual[c, 1.9e+22], t$95$3, If[LessEqual[c, 2.4e+44], t$95$4, If[LessEqual[c, 1.45e+116], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.1e+201], N[(N[(x * c), $MachinePrecision] * t$95$2), $MachinePrecision], If[LessEqual[c, 2.9e+250], t$95$4, N[(x * N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right) - a \cdot \left(y1 \cdot y2\right)\right)\\
t_2 := y0 \cdot y2 - y \cdot i\\
t_3 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_4 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - b \cdot \left(\left(y \cdot k\right) \cdot y4\right)\\
\mathbf{if}\;c \leq -9.5 \cdot 10^{-70}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq -1.75 \cdot 10^{-215}:\\
\;\;\;\;y3 \cdot \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 4.2 \cdot 10^{-229}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 9 \cdot 10^{-168}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 1.6 \cdot 10^{-17}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 1.9 \cdot 10^{+22}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 2.4 \cdot 10^{+44}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;c \leq 1.45 \cdot 10^{+116}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 2.1 \cdot 10^{+201}:\\
\;\;\;\;\left(x \cdot c\right) \cdot t_2\\
\mathbf{elif}\;c \leq 2.9 \cdot 10^{+250}:\\
\;\;\;\;t_4\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot t_2\right)\\
\end{array}
\end{array}
if c < -9.4999999999999994e-70Initial program 19.2%
Taylor expanded in x around inf 53.8%
Taylor expanded in j around 0 52.2%
if -9.4999999999999994e-70 < c < -1.7500000000000001e-215Initial program 44.3%
Taylor expanded in y3 around -inf 52.7%
Taylor expanded in y around 0 49.3%
if -1.7500000000000001e-215 < c < 4.19999999999999967e-229 or 9.0000000000000002e-168 < c < 1.6000000000000001e-17Initial program 46.2%
Taylor expanded in x around inf 43.7%
Taylor expanded in y around 0 42.1%
*-commutative42.1%
*-commutative42.1%
Simplified42.1%
Taylor expanded in c around 0 47.4%
mul-1-neg47.4%
distribute-rgt-neg-in47.4%
distribute-rgt-neg-in47.4%
Simplified47.4%
if 4.19999999999999967e-229 < c < 9.0000000000000002e-168 or 1.6000000000000001e-17 < c < 1.9000000000000002e22Initial program 14.3%
Taylor expanded in b around inf 58.2%
Taylor expanded in z around -inf 62.1%
if 1.9000000000000002e22 < c < 2.40000000000000013e44 or 2.0999999999999999e201 < c < 2.90000000000000009e250Initial program 43.8%
Taylor expanded in y4 around inf 57.0%
*-commutative57.0%
*-commutative57.0%
Simplified57.0%
Taylor expanded in k around inf 69.6%
mul-1-neg69.6%
distribute-rgt-neg-in69.6%
associate-*r*69.6%
distribute-rgt-neg-in69.6%
*-commutative69.6%
Simplified69.6%
if 2.40000000000000013e44 < c < 1.4500000000000001e116Initial program 13.3%
Taylor expanded in y4 around inf 27.2%
*-commutative27.2%
*-commutative27.2%
Simplified27.2%
Taylor expanded in c around inf 67.2%
if 1.4500000000000001e116 < c < 2.0999999999999999e201Initial program 28.8%
Taylor expanded in x around inf 50.9%
Taylor expanded in c around inf 51.1%
associate-*r*57.8%
+-commutative57.8%
mul-1-neg57.8%
unsub-neg57.8%
*-commutative57.8%
Simplified57.8%
if 2.90000000000000009e250 < c Initial program 17.9%
Taylor expanded in x around inf 41.6%
Taylor expanded in c around inf 82.5%
+-commutative82.5%
mul-1-neg82.5%
unsub-neg82.5%
*-commutative82.5%
Simplified82.5%
Final simplification56.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y2) (* y i))))
(if (<= c -3.2e-70)
(* x (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1)))))
(if (<= c -5.4e-212)
(* y3 (+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0)))))
(if (<= c 3.4e-228)
(* x (- (* j (- (* i y1) (* b y0))) (* a (* y1 y2))))
(if (<= c 7.6e-168)
(* b (* z (- (* k y0) (* t a))))
(if (<= c 3.4e-70)
(* c (* y4 (* y y3)))
(if (<= c 5.5e+44)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= c 5.7e+116)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= c 1.95e+195)
(* (* x c) t_1)
(if (<= c 4.8e+250)
(-
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* b (* (* y k) y4)))
(* x (* c t_1)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y2) - (y * i);
double tmp;
if (c <= -3.2e-70) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -5.4e-212) {
tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))));
} else if (c <= 3.4e-228) {
tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
} else if (c <= 7.6e-168) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (c <= 3.4e-70) {
tmp = c * (y4 * (y * y3));
} else if (c <= 5.5e+44) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (c <= 5.7e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 1.95e+195) {
tmp = (x * c) * t_1;
} else if (c <= 4.8e+250) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4));
} else {
tmp = x * (c * 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 = (y0 * y2) - (y * i)
if (c <= (-3.2d-70)) then
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
else if (c <= (-5.4d-212)) then
tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))
else if (c <= 3.4d-228) then
tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)))
else if (c <= 7.6d-168) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (c <= 3.4d-70) then
tmp = c * (y4 * (y * y3))
else if (c <= 5.5d+44) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (c <= 5.7d+116) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (c <= 1.95d+195) then
tmp = (x * c) * t_1
else if (c <= 4.8d+250) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4))
else
tmp = x * (c * 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 = (y0 * y2) - (y * i);
double tmp;
if (c <= -3.2e-70) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -5.4e-212) {
tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))));
} else if (c <= 3.4e-228) {
tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
} else if (c <= 7.6e-168) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (c <= 3.4e-70) {
tmp = c * (y4 * (y * y3));
} else if (c <= 5.5e+44) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (c <= 5.7e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 1.95e+195) {
tmp = (x * c) * t_1;
} else if (c <= 4.8e+250) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4));
} else {
tmp = x * (c * t_1);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y0 * y2) - (y * i) tmp = 0 if c <= -3.2e-70: tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) elif c <= -5.4e-212: tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))) elif c <= 3.4e-228: tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))) elif c <= 7.6e-168: tmp = b * (z * ((k * y0) - (t * a))) elif c <= 3.4e-70: tmp = c * (y4 * (y * y3)) elif c <= 5.5e+44: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif c <= 5.7e+116: tmp = c * (y4 * ((y * y3) - (t * y2))) elif c <= 1.95e+195: tmp = (x * c) * t_1 elif c <= 4.8e+250: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4)) else: tmp = x * (c * t_1) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y0 * y2) - Float64(y * i)) tmp = 0.0 if (c <= -3.2e-70) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (c <= -5.4e-212) tmp = Float64(y3 * Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0))))); elseif (c <= 3.4e-228) tmp = Float64(x * Float64(Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) - Float64(a * Float64(y1 * y2)))); elseif (c <= 7.6e-168) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (c <= 3.4e-70) tmp = Float64(c * Float64(y4 * Float64(y * y3))); elseif (c <= 5.5e+44) 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 (c <= 5.7e+116) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (c <= 1.95e+195) tmp = Float64(Float64(x * c) * t_1); elseif (c <= 4.8e+250) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(b * Float64(Float64(y * k) * y4))); else tmp = Float64(x * Float64(c * t_1)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y0 * y2) - (y * i); tmp = 0.0; if (c <= -3.2e-70) tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); elseif (c <= -5.4e-212) tmp = y3 * ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))); elseif (c <= 3.4e-228) tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))); elseif (c <= 7.6e-168) tmp = b * (z * ((k * y0) - (t * a))); elseif (c <= 3.4e-70) tmp = c * (y4 * (y * y3)); elseif (c <= 5.5e+44) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (c <= 5.7e+116) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (c <= 1.95e+195) tmp = (x * c) * t_1; elseif (c <= 4.8e+250) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (b * ((y * k) * y4)); else tmp = x * (c * t_1); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -3.2e-70], N[(x * 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]), $MachinePrecision], If[LessEqual[c, -5.4e-212], N[(y3 * N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.4e-228], N[(x * N[(N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.6e-168], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.4e-70], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e+44], 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[c, 5.7e+116], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.95e+195], N[(N[(x * c), $MachinePrecision] * t$95$1), $MachinePrecision], If[LessEqual[c, 4.8e+250], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(y * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y2 - y \cdot i\\
\mathbf{if}\;c \leq -3.2 \cdot 10^{-70}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq -5.4 \cdot 10^{-212}:\\
\;\;\;\;y3 \cdot \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 3.4 \cdot 10^{-228}:\\
\;\;\;\;x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right) - a \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 7.6 \cdot 10^{-168}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;c \leq 3.4 \cdot 10^{-70}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq 5.5 \cdot 10^{+44}:\\
\;\;\;\;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}\;c \leq 5.7 \cdot 10^{+116}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 1.95 \cdot 10^{+195}:\\
\;\;\;\;\left(x \cdot c\right) \cdot t_1\\
\mathbf{elif}\;c \leq 4.8 \cdot 10^{+250}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - b \cdot \left(\left(y \cdot k\right) \cdot y4\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot t_1\right)\\
\end{array}
\end{array}
if c < -3.1999999999999997e-70Initial program 19.2%
Taylor expanded in x around inf 53.8%
Taylor expanded in j around 0 52.2%
if -3.1999999999999997e-70 < c < -5.39999999999999962e-212Initial program 44.3%
Taylor expanded in y3 around -inf 52.7%
Taylor expanded in y around 0 49.3%
if -5.39999999999999962e-212 < c < 3.39999999999999991e-228Initial program 49.9%
Taylor expanded in x around inf 51.0%
Taylor expanded in y around 0 47.8%
*-commutative47.8%
*-commutative47.8%
Simplified47.8%
Taylor expanded in c around 0 54.3%
mul-1-neg54.3%
distribute-rgt-neg-in54.3%
distribute-rgt-neg-in54.3%
Simplified54.3%
if 3.39999999999999991e-228 < c < 7.6000000000000001e-168Initial program 9.1%
Taylor expanded in b around inf 55.2%
Taylor expanded in z around -inf 73.3%
if 7.6000000000000001e-168 < c < 3.39999999999999995e-70Initial program 42.9%
Taylor expanded in y4 around inf 15.3%
*-commutative15.3%
*-commutative15.3%
Simplified15.3%
Taylor expanded in y around inf 30.9%
associate-*r*17.6%
distribute-lft-out--17.6%
Simplified17.6%
Taylor expanded in b around 0 30.1%
associate-*r*43.7%
*-commutative43.7%
Simplified43.7%
if 3.39999999999999995e-70 < c < 5.5000000000000001e44Initial program 33.3%
Taylor expanded in b around inf 48.3%
if 5.5000000000000001e44 < c < 5.69999999999999983e116Initial program 13.3%
Taylor expanded in y4 around inf 27.2%
*-commutative27.2%
*-commutative27.2%
Simplified27.2%
Taylor expanded in c around inf 67.2%
if 5.69999999999999983e116 < c < 1.9499999999999999e195Initial program 28.8%
Taylor expanded in x around inf 50.9%
Taylor expanded in c around inf 51.1%
associate-*r*57.8%
+-commutative57.8%
mul-1-neg57.8%
unsub-neg57.8%
*-commutative57.8%
Simplified57.8%
if 1.9499999999999999e195 < c < 4.80000000000000026e250Initial program 30.0%
Taylor expanded in y4 around inf 60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
Taylor expanded in k around inf 70.4%
mul-1-neg70.4%
distribute-rgt-neg-in70.4%
associate-*r*70.4%
distribute-rgt-neg-in70.4%
*-commutative70.4%
Simplified70.4%
if 4.80000000000000026e250 < c Initial program 17.9%
Taylor expanded in x around inf 41.6%
Taylor expanded in c around inf 82.5%
+-commutative82.5%
mul-1-neg82.5%
unsub-neg82.5%
*-commutative82.5%
Simplified82.5%
Final simplification56.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (- (* c y0) (* a y1))))
(t_2
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))))
(if (<= y4 -2.65e+182)
t_2
(if (<= y4 -1.1e+144)
(* x t_1)
(if (<= y4 -1.65e+81)
t_2
(if (<= y4 4.2e+24)
(*
x
(+ (+ (* y (- (* a b) (* c i))) t_1) (* j (- (* i y1) (* b y0)))))
(if (<= y4 6.2e+180)
(- (* j (* y3 (- (* y0 y5) (* y1 y4)))) (* b (* (* y k) y4)))
t_2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y4 <= -2.65e+182) {
tmp = t_2;
} else if (y4 <= -1.1e+144) {
tmp = x * t_1;
} else if (y4 <= -1.65e+81) {
tmp = t_2;
} else if (y4 <= 4.2e+24) {
tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))));
} else if (y4 <= 6.2e+180) {
tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = y2 * ((c * y0) - (a * y1))
t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
if (y4 <= (-2.65d+182)) then
tmp = t_2
else if (y4 <= (-1.1d+144)) then
tmp = x * t_1
else if (y4 <= (-1.65d+81)) then
tmp = t_2
else if (y4 <= 4.2d+24) then
tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))))
else if (y4 <= 6.2d+180) then
tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y4 <= -2.65e+182) {
tmp = t_2;
} else if (y4 <= -1.1e+144) {
tmp = x * t_1;
} else if (y4 <= -1.65e+81) {
tmp = t_2;
} else if (y4 <= 4.2e+24) {
tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))));
} else if (y4 <= 6.2e+180) {
tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * ((c * y0) - (a * y1)) t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) tmp = 0 if y4 <= -2.65e+182: tmp = t_2 elif y4 <= -1.1e+144: tmp = x * t_1 elif y4 <= -1.65e+81: tmp = t_2 elif y4 <= 4.2e+24: tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0)))) elif y4 <= 6.2e+180: tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4)) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) t_2 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (y4 <= -2.65e+182) tmp = t_2; elseif (y4 <= -1.1e+144) tmp = Float64(x * t_1); elseif (y4 <= -1.65e+81) tmp = t_2; elseif (y4 <= 4.2e+24) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + t_1) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y4 <= 6.2e+180) tmp = Float64(Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) - Float64(b * Float64(Float64(y * k) * y4))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * ((c * y0) - (a * y1)); t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); tmp = 0.0; if (y4 <= -2.65e+182) tmp = t_2; elseif (y4 <= -1.1e+144) tmp = x * t_1; elseif (y4 <= -1.65e+81) tmp = t_2; elseif (y4 <= 4.2e+24) tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0)))); elseif (y4 <= 6.2e+180) tmp = (j * (y3 * ((y0 * y5) - (y1 * y4)))) - (b * ((y * k) * y4)); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -2.65e+182], t$95$2, If[LessEqual[y4, -1.1e+144], N[(x * t$95$1), $MachinePrecision], If[LessEqual[y4, -1.65e+81], t$95$2, If[LessEqual[y4, 4.2e+24], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 6.2e+180], N[(N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(y * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
t_2 := y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;y4 \leq -2.65 \cdot 10^{+182}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y4 \leq -1.1 \cdot 10^{+144}:\\
\;\;\;\;x \cdot t_1\\
\mathbf{elif}\;y4 \leq -1.65 \cdot 10^{+81}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y4 \leq 4.2 \cdot 10^{+24}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + t_1\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 6.2 \cdot 10^{+180}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) - b \cdot \left(\left(y \cdot k\right) \cdot y4\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if y4 < -2.65e182 or -1.09999999999999994e144 < y4 < -1.65e81 or 6.19999999999999997e180 < y4 Initial program 21.2%
Taylor expanded in y4 around inf 71.5%
if -2.65e182 < y4 < -1.09999999999999994e144Initial program 40.0%
Taylor expanded in x around inf 60.2%
Taylor expanded in y2 around inf 80.2%
if -1.65e81 < y4 < 4.2000000000000003e24Initial program 33.0%
Taylor expanded in x around inf 50.2%
if 4.2000000000000003e24 < y4 < 6.19999999999999997e180Initial program 23.3%
Taylor expanded in y4 around inf 30.7%
*-commutative30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in k around inf 50.9%
mul-1-neg50.9%
distribute-rgt-neg-in50.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in k around 0 53.9%
associate-*r*53.9%
neg-mul-153.9%
Simplified53.9%
Final simplification56.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a b) (* c i)))
(t_2 (- (* x y) (* z t)))
(t_3 (- (* c y0) (* a y1)))
(t_4 (* z (- (* k (- (* b y0) (* i y1))) (+ (* t t_1) (* y3 t_3)))))
(t_5 (- (* t j) (* y k)))
(t_6 (+ (* y t_1) (* y2 t_3))))
(if (<= a -9.2e+101)
(* b (+ (+ (* a t_2) (* y4 t_5)) (* y0 (- (* z k) (* x j)))))
(if (<= a -1.35e-140)
(* i (- (* y1 (- (* x j) (* z k))) (+ (* c t_2) (* y5 t_5))))
(if (<= a -2.05e-235)
t_4
(if (<= a 680000000.0)
(* x (+ t_6 (* j (- (* i y1) (* b y0)))))
(if (<= a 1.6e+113) t_4 (* x t_6))))))))
double code(double x, double y, double z, double t, double a, double 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) - (c * i);
double t_2 = (x * y) - (z * t);
double t_3 = (c * y0) - (a * y1);
double t_4 = z * ((k * ((b * y0) - (i * y1))) - ((t * t_1) + (y3 * t_3)));
double t_5 = (t * j) - (y * k);
double t_6 = (y * t_1) + (y2 * t_3);
double tmp;
if (a <= -9.2e+101) {
tmp = b * (((a * t_2) + (y4 * t_5)) + (y0 * ((z * k) - (x * j))));
} else if (a <= -1.35e-140) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_2) + (y5 * t_5)));
} else if (a <= -2.05e-235) {
tmp = t_4;
} else if (a <= 680000000.0) {
tmp = x * (t_6 + (j * ((i * y1) - (b * y0))));
} else if (a <= 1.6e+113) {
tmp = t_4;
} else {
tmp = x * t_6;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (a * b) - (c * i)
t_2 = (x * y) - (z * t)
t_3 = (c * y0) - (a * y1)
t_4 = z * ((k * ((b * y0) - (i * y1))) - ((t * t_1) + (y3 * t_3)))
t_5 = (t * j) - (y * k)
t_6 = (y * t_1) + (y2 * t_3)
if (a <= (-9.2d+101)) then
tmp = b * (((a * t_2) + (y4 * t_5)) + (y0 * ((z * k) - (x * j))))
else if (a <= (-1.35d-140)) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_2) + (y5 * t_5)))
else if (a <= (-2.05d-235)) then
tmp = t_4
else if (a <= 680000000.0d0) then
tmp = x * (t_6 + (j * ((i * y1) - (b * y0))))
else if (a <= 1.6d+113) then
tmp = t_4
else
tmp = x * t_6
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) - (c * i);
double t_2 = (x * y) - (z * t);
double t_3 = (c * y0) - (a * y1);
double t_4 = z * ((k * ((b * y0) - (i * y1))) - ((t * t_1) + (y3 * t_3)));
double t_5 = (t * j) - (y * k);
double t_6 = (y * t_1) + (y2 * t_3);
double tmp;
if (a <= -9.2e+101) {
tmp = b * (((a * t_2) + (y4 * t_5)) + (y0 * ((z * k) - (x * j))));
} else if (a <= -1.35e-140) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_2) + (y5 * t_5)));
} else if (a <= -2.05e-235) {
tmp = t_4;
} else if (a <= 680000000.0) {
tmp = x * (t_6 + (j * ((i * y1) - (b * y0))));
} else if (a <= 1.6e+113) {
tmp = t_4;
} else {
tmp = x * t_6;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * b) - (c * i) t_2 = (x * y) - (z * t) t_3 = (c * y0) - (a * y1) t_4 = z * ((k * ((b * y0) - (i * y1))) - ((t * t_1) + (y3 * t_3))) t_5 = (t * j) - (y * k) t_6 = (y * t_1) + (y2 * t_3) tmp = 0 if a <= -9.2e+101: tmp = b * (((a * t_2) + (y4 * t_5)) + (y0 * ((z * k) - (x * j)))) elif a <= -1.35e-140: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_2) + (y5 * t_5))) elif a <= -2.05e-235: tmp = t_4 elif a <= 680000000.0: tmp = x * (t_6 + (j * ((i * y1) - (b * y0)))) elif a <= 1.6e+113: tmp = t_4 else: tmp = x * t_6 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * b) - Float64(c * i)) t_2 = Float64(Float64(x * y) - Float64(z * t)) t_3 = Float64(Float64(c * y0) - Float64(a * y1)) t_4 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(t * t_1) + Float64(y3 * t_3)))) t_5 = Float64(Float64(t * j) - Float64(y * k)) t_6 = Float64(Float64(y * t_1) + Float64(y2 * t_3)) tmp = 0.0 if (a <= -9.2e+101) tmp = Float64(b * Float64(Float64(Float64(a * t_2) + Float64(y4 * t_5)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (a <= -1.35e-140) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * t_2) + Float64(y5 * t_5)))); elseif (a <= -2.05e-235) tmp = t_4; elseif (a <= 680000000.0) tmp = Float64(x * Float64(t_6 + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (a <= 1.6e+113) tmp = t_4; else tmp = Float64(x * t_6); 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) - (c * i); t_2 = (x * y) - (z * t); t_3 = (c * y0) - (a * y1); t_4 = z * ((k * ((b * y0) - (i * y1))) - ((t * t_1) + (y3 * t_3))); t_5 = (t * j) - (y * k); t_6 = (y * t_1) + (y2 * t_3); tmp = 0.0; if (a <= -9.2e+101) tmp = b * (((a * t_2) + (y4 * t_5)) + (y0 * ((z * k) - (x * j)))); elseif (a <= -1.35e-140) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_2) + (y5 * t_5))); elseif (a <= -2.05e-235) tmp = t_4; elseif (a <= 680000000.0) tmp = x * (t_6 + (j * ((i * y1) - (b * y0)))); elseif (a <= 1.6e+113) tmp = t_4; else tmp = x * t_6; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t * t$95$1), $MachinePrecision] + N[(y3 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y * t$95$1), $MachinePrecision] + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -9.2e+101], N[(b * N[(N[(N[(a * t$95$2), $MachinePrecision] + N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.35e-140], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * t$95$2), $MachinePrecision] + N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.05e-235], t$95$4, If[LessEqual[a, 680000000.0], N[(x * N[(t$95$6 + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.6e+113], t$95$4, N[(x * t$95$6), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot b - c \cdot i\\
t_2 := x \cdot y - z \cdot t\\
t_3 := c \cdot y0 - a \cdot y1\\
t_4 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(t \cdot t_1 + y3 \cdot t_3\right)\right)\\
t_5 := t \cdot j - y \cdot k\\
t_6 := y \cdot t_1 + y2 \cdot t_3\\
\mathbf{if}\;a \leq -9.2 \cdot 10^{+101}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t_2 + y4 \cdot t_5\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq -1.35 \cdot 10^{-140}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot t_2 + y5 \cdot t_5\right)\right)\\
\mathbf{elif}\;a \leq -2.05 \cdot 10^{-235}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq 680000000:\\
\;\;\;\;x \cdot \left(t_6 + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 1.6 \cdot 10^{+113}:\\
\;\;\;\;t_4\\
\mathbf{else}:\\
\;\;\;\;x \cdot t_6\\
\end{array}
\end{array}
if a < -9.2000000000000005e101Initial program 27.9%
Taylor expanded in b around inf 54.3%
if -9.2000000000000005e101 < a < -1.35e-140Initial program 35.5%
Taylor expanded in i around -inf 57.6%
if -1.35e-140 < a < -2.04999999999999998e-235 or 6.8e8 < a < 1.5999999999999999e113Initial program 30.7%
Taylor expanded in z around -inf 62.3%
if -2.04999999999999998e-235 < a < 6.8e8Initial program 27.0%
Taylor expanded in x around inf 49.6%
if 1.5999999999999999e113 < a Initial program 23.1%
Taylor expanded in x around inf 64.3%
Taylor expanded in j around 0 69.4%
Final simplification57.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y3 (- (* y0 y5) (* y1 y4)))))
(t_2 (* x (- (* j (- (* i y1) (* b y0))) (* a (* y1 y2)))))
(t_3 (* b (* z (- (* k y0) (* t a)))))
(t_4 (- (* y0 y2) (* y i))))
(if (<= c -7.6e-73)
(* x (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1)))))
(if (<= c -3e-140)
t_1
(if (<= c -3.2e-218)
(* a (* b (- (* x y) (* z t))))
(if (<= c 2.26e-228)
t_2
(if (<= c 1.45e-167)
t_3
(if (<= c 5.8e-23)
t_2
(if (<= c 3.7e+27)
t_3
(if (<= c 1.75e+44)
(- t_1 (* b (* (* y k) y4)))
(if (<= c 1.55e+116)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= c 2.55e+187)
(* (* x c) t_4)
(if (<= c 1.1e+251)
(* (* y y4) (- (* c y3) (* b k)))
(* x (* c t_4)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y3 * ((y0 * y5) - (y1 * y4)));
double t_2 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double t_3 = b * (z * ((k * y0) - (t * a)));
double t_4 = (y0 * y2) - (y * i);
double tmp;
if (c <= -7.6e-73) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -3e-140) {
tmp = t_1;
} else if (c <= -3.2e-218) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (c <= 2.26e-228) {
tmp = t_2;
} else if (c <= 1.45e-167) {
tmp = t_3;
} else if (c <= 5.8e-23) {
tmp = t_2;
} else if (c <= 3.7e+27) {
tmp = t_3;
} else if (c <= 1.75e+44) {
tmp = t_1 - (b * ((y * k) * y4));
} else if (c <= 1.55e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 2.55e+187) {
tmp = (x * c) * t_4;
} else if (c <= 1.1e+251) {
tmp = (y * y4) * ((c * y3) - (b * k));
} else {
tmp = x * (c * t_4);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = j * (y3 * ((y0 * y5) - (y1 * y4)))
t_2 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)))
t_3 = b * (z * ((k * y0) - (t * a)))
t_4 = (y0 * y2) - (y * i)
if (c <= (-7.6d-73)) then
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
else if (c <= (-3d-140)) then
tmp = t_1
else if (c <= (-3.2d-218)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (c <= 2.26d-228) then
tmp = t_2
else if (c <= 1.45d-167) then
tmp = t_3
else if (c <= 5.8d-23) then
tmp = t_2
else if (c <= 3.7d+27) then
tmp = t_3
else if (c <= 1.75d+44) then
tmp = t_1 - (b * ((y * k) * y4))
else if (c <= 1.55d+116) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (c <= 2.55d+187) then
tmp = (x * c) * t_4
else if (c <= 1.1d+251) then
tmp = (y * y4) * ((c * y3) - (b * k))
else
tmp = x * (c * t_4)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y3 * ((y0 * y5) - (y1 * y4)));
double t_2 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double t_3 = b * (z * ((k * y0) - (t * a)));
double t_4 = (y0 * y2) - (y * i);
double tmp;
if (c <= -7.6e-73) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -3e-140) {
tmp = t_1;
} else if (c <= -3.2e-218) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (c <= 2.26e-228) {
tmp = t_2;
} else if (c <= 1.45e-167) {
tmp = t_3;
} else if (c <= 5.8e-23) {
tmp = t_2;
} else if (c <= 3.7e+27) {
tmp = t_3;
} else if (c <= 1.75e+44) {
tmp = t_1 - (b * ((y * k) * y4));
} else if (c <= 1.55e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 2.55e+187) {
tmp = (x * c) * t_4;
} else if (c <= 1.1e+251) {
tmp = (y * y4) * ((c * y3) - (b * k));
} else {
tmp = x * (c * t_4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (y3 * ((y0 * y5) - (y1 * y4))) t_2 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))) t_3 = b * (z * ((k * y0) - (t * a))) t_4 = (y0 * y2) - (y * i) tmp = 0 if c <= -7.6e-73: tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) elif c <= -3e-140: tmp = t_1 elif c <= -3.2e-218: tmp = a * (b * ((x * y) - (z * t))) elif c <= 2.26e-228: tmp = t_2 elif c <= 1.45e-167: tmp = t_3 elif c <= 5.8e-23: tmp = t_2 elif c <= 3.7e+27: tmp = t_3 elif c <= 1.75e+44: tmp = t_1 - (b * ((y * k) * y4)) elif c <= 1.55e+116: tmp = c * (y4 * ((y * y3) - (t * y2))) elif c <= 2.55e+187: tmp = (x * c) * t_4 elif c <= 1.1e+251: tmp = (y * y4) * ((c * y3) - (b * k)) else: tmp = x * (c * t_4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) t_2 = Float64(x * Float64(Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) - Float64(a * Float64(y1 * y2)))) t_3 = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))) t_4 = Float64(Float64(y0 * y2) - Float64(y * i)) tmp = 0.0 if (c <= -7.6e-73) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (c <= -3e-140) tmp = t_1; elseif (c <= -3.2e-218) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (c <= 2.26e-228) tmp = t_2; elseif (c <= 1.45e-167) tmp = t_3; elseif (c <= 5.8e-23) tmp = t_2; elseif (c <= 3.7e+27) tmp = t_3; elseif (c <= 1.75e+44) tmp = Float64(t_1 - Float64(b * Float64(Float64(y * k) * y4))); elseif (c <= 1.55e+116) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (c <= 2.55e+187) tmp = Float64(Float64(x * c) * t_4); elseif (c <= 1.1e+251) tmp = Float64(Float64(y * y4) * Float64(Float64(c * y3) - Float64(b * k))); else tmp = Float64(x * Float64(c * t_4)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (y3 * ((y0 * y5) - (y1 * y4))); t_2 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))); t_3 = b * (z * ((k * y0) - (t * a))); t_4 = (y0 * y2) - (y * i); tmp = 0.0; if (c <= -7.6e-73) tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); elseif (c <= -3e-140) tmp = t_1; elseif (c <= -3.2e-218) tmp = a * (b * ((x * y) - (z * t))); elseif (c <= 2.26e-228) tmp = t_2; elseif (c <= 1.45e-167) tmp = t_3; elseif (c <= 5.8e-23) tmp = t_2; elseif (c <= 3.7e+27) tmp = t_3; elseif (c <= 1.75e+44) tmp = t_1 - (b * ((y * k) * y4)); elseif (c <= 1.55e+116) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (c <= 2.55e+187) tmp = (x * c) * t_4; elseif (c <= 1.1e+251) tmp = (y * y4) * ((c * y3) - (b * k)); else tmp = x * (c * t_4); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7.6e-73], N[(x * 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]), $MachinePrecision], If[LessEqual[c, -3e-140], t$95$1, If[LessEqual[c, -3.2e-218], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.26e-228], t$95$2, If[LessEqual[c, 1.45e-167], t$95$3, If[LessEqual[c, 5.8e-23], t$95$2, If[LessEqual[c, 3.7e+27], t$95$3, If[LessEqual[c, 1.75e+44], N[(t$95$1 - N[(b * N[(N[(y * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.55e+116], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.55e+187], N[(N[(x * c), $MachinePrecision] * t$95$4), $MachinePrecision], If[LessEqual[c, 1.1e+251], N[(N[(y * y4), $MachinePrecision] * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
t_2 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right) - a \cdot \left(y1 \cdot y2\right)\right)\\
t_3 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_4 := y0 \cdot y2 - y \cdot i\\
\mathbf{if}\;c \leq -7.6 \cdot 10^{-73}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq -3 \cdot 10^{-140}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -3.2 \cdot 10^{-218}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;c \leq 2.26 \cdot 10^{-228}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq 1.45 \cdot 10^{-167}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 5.8 \cdot 10^{-23}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq 3.7 \cdot 10^{+27}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 1.75 \cdot 10^{+44}:\\
\;\;\;\;t_1 - b \cdot \left(\left(y \cdot k\right) \cdot y4\right)\\
\mathbf{elif}\;c \leq 1.55 \cdot 10^{+116}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 2.55 \cdot 10^{+187}:\\
\;\;\;\;\left(x \cdot c\right) \cdot t_4\\
\mathbf{elif}\;c \leq 1.1 \cdot 10^{+251}:\\
\;\;\;\;\left(y \cdot y4\right) \cdot \left(c \cdot y3 - b \cdot k\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot t_4\right)\\
\end{array}
\end{array}
if c < -7.6000000000000005e-73Initial program 19.2%
Taylor expanded in x around inf 53.8%
Taylor expanded in j around 0 52.2%
if -7.6000000000000005e-73 < c < -3.00000000000000018e-140Initial program 45.3%
Taylor expanded in y3 around -inf 72.6%
Taylor expanded in j around inf 56.6%
if -3.00000000000000018e-140 < c < -3.2000000000000001e-218Initial program 43.4%
Taylor expanded in b around inf 43.6%
Taylor expanded in a around inf 50.7%
if -3.2000000000000001e-218 < c < 2.26000000000000001e-228 or 1.45000000000000001e-167 < c < 5.8000000000000003e-23Initial program 46.2%
Taylor expanded in x around inf 43.7%
Taylor expanded in y around 0 42.1%
*-commutative42.1%
*-commutative42.1%
Simplified42.1%
Taylor expanded in c around 0 47.4%
mul-1-neg47.4%
distribute-rgt-neg-in47.4%
distribute-rgt-neg-in47.4%
Simplified47.4%
if 2.26000000000000001e-228 < c < 1.45000000000000001e-167 or 5.8000000000000003e-23 < c < 3.70000000000000002e27Initial program 14.3%
Taylor expanded in b around inf 58.2%
Taylor expanded in z around -inf 62.1%
if 3.70000000000000002e27 < c < 1.75e44Initial program 66.7%
Taylor expanded in y4 around inf 51.7%
*-commutative51.7%
*-commutative51.7%
Simplified51.7%
Taylor expanded in k around inf 68.4%
mul-1-neg68.4%
distribute-rgt-neg-in68.4%
associate-*r*68.4%
distribute-rgt-neg-in68.4%
*-commutative68.4%
Simplified68.4%
Taylor expanded in k around 0 67.8%
associate-*r*67.8%
neg-mul-167.8%
Simplified67.8%
if 1.75e44 < c < 1.54999999999999998e116Initial program 13.3%
Taylor expanded in y4 around inf 27.2%
*-commutative27.2%
*-commutative27.2%
Simplified27.2%
Taylor expanded in c around inf 67.2%
if 1.54999999999999998e116 < c < 2.55e187Initial program 29.5%
Taylor expanded in x around inf 51.1%
Taylor expanded in c around inf 47.1%
associate-*r*54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
*-commutative54.9%
Simplified54.9%
if 2.55e187 < c < 1.1e251Initial program 28.6%
Taylor expanded in y4 around inf 50.1%
*-commutative50.1%
*-commutative50.1%
Simplified50.1%
Taylor expanded in y around inf 71.5%
associate-*r*71.6%
distribute-lft-out--71.6%
Simplified71.6%
if 1.1e251 < c Initial program 17.9%
Taylor expanded in x around inf 41.6%
Taylor expanded in c around inf 82.5%
+-commutative82.5%
mul-1-neg82.5%
unsub-neg82.5%
*-commutative82.5%
Simplified82.5%
Final simplification57.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* z (- (* k y0) (* t a)))))
(t_2 (- (* y0 y2) (* y i)))
(t_3 (* x (- (* j (- (* i y1) (* b y0))) (* a (* y1 y2))))))
(if (<= c -2.35e-70)
(* x (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1)))))
(if (<= c -2.4e-137)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= c -3.8e-216)
(* a (* b (- (* x y) (* z t))))
(if (<= c 2.55e-228)
t_3
(if (<= c 5.9e-167)
t_1
(if (<= c 1.75e-17)
t_3
(if (<= c 6.8e+20)
t_1
(if (<= c 1.02e+44)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= c 4.7e+116)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= c 5.7e+187)
(* (* x c) t_2)
(if (<= c 3.3e+251)
(* (* y y4) (- (* c y3) (* b k)))
(* x (* c 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 = b * (z * ((k * y0) - (t * a)));
double t_2 = (y0 * y2) - (y * i);
double t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double tmp;
if (c <= -2.35e-70) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -2.4e-137) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (c <= -3.8e-216) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (c <= 2.55e-228) {
tmp = t_3;
} else if (c <= 5.9e-167) {
tmp = t_1;
} else if (c <= 1.75e-17) {
tmp = t_3;
} else if (c <= 6.8e+20) {
tmp = t_1;
} else if (c <= 1.02e+44) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (c <= 4.7e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 5.7e+187) {
tmp = (x * c) * t_2;
} else if (c <= 3.3e+251) {
tmp = (y * y4) * ((c * y3) - (b * k));
} else {
tmp = x * (c * t_2);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = b * (z * ((k * y0) - (t * a)))
t_2 = (y0 * y2) - (y * i)
t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)))
if (c <= (-2.35d-70)) then
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
else if (c <= (-2.4d-137)) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (c <= (-3.8d-216)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (c <= 2.55d-228) then
tmp = t_3
else if (c <= 5.9d-167) then
tmp = t_1
else if (c <= 1.75d-17) then
tmp = t_3
else if (c <= 6.8d+20) then
tmp = t_1
else if (c <= 1.02d+44) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (c <= 4.7d+116) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (c <= 5.7d+187) then
tmp = (x * c) * t_2
else if (c <= 3.3d+251) then
tmp = (y * y4) * ((c * y3) - (b * k))
else
tmp = x * (c * 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 = b * (z * ((k * y0) - (t * a)));
double t_2 = (y0 * y2) - (y * i);
double t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double tmp;
if (c <= -2.35e-70) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -2.4e-137) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (c <= -3.8e-216) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (c <= 2.55e-228) {
tmp = t_3;
} else if (c <= 5.9e-167) {
tmp = t_1;
} else if (c <= 1.75e-17) {
tmp = t_3;
} else if (c <= 6.8e+20) {
tmp = t_1;
} else if (c <= 1.02e+44) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (c <= 4.7e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 5.7e+187) {
tmp = (x * c) * t_2;
} else if (c <= 3.3e+251) {
tmp = (y * y4) * ((c * y3) - (b * k));
} else {
tmp = x * (c * t_2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (z * ((k * y0) - (t * a))) t_2 = (y0 * y2) - (y * i) t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))) tmp = 0 if c <= -2.35e-70: tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) elif c <= -2.4e-137: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif c <= -3.8e-216: tmp = a * (b * ((x * y) - (z * t))) elif c <= 2.55e-228: tmp = t_3 elif c <= 5.9e-167: tmp = t_1 elif c <= 1.75e-17: tmp = t_3 elif c <= 6.8e+20: tmp = t_1 elif c <= 1.02e+44: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif c <= 4.7e+116: tmp = c * (y4 * ((y * y3) - (t * y2))) elif c <= 5.7e+187: tmp = (x * c) * t_2 elif c <= 3.3e+251: tmp = (y * y4) * ((c * y3) - (b * k)) else: tmp = x * (c * 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(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))) t_2 = Float64(Float64(y0 * y2) - Float64(y * i)) t_3 = Float64(x * Float64(Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) - Float64(a * Float64(y1 * y2)))) tmp = 0.0 if (c <= -2.35e-70) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (c <= -2.4e-137) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (c <= -3.8e-216) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (c <= 2.55e-228) tmp = t_3; elseif (c <= 5.9e-167) tmp = t_1; elseif (c <= 1.75e-17) tmp = t_3; elseif (c <= 6.8e+20) tmp = t_1; elseif (c <= 1.02e+44) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (c <= 4.7e+116) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (c <= 5.7e+187) tmp = Float64(Float64(x * c) * t_2); elseif (c <= 3.3e+251) tmp = Float64(Float64(y * y4) * Float64(Float64(c * y3) - Float64(b * k))); else tmp = Float64(x * Float64(c * 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 = b * (z * ((k * y0) - (t * a))); t_2 = (y0 * y2) - (y * i); t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))); tmp = 0.0; if (c <= -2.35e-70) tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); elseif (c <= -2.4e-137) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (c <= -3.8e-216) tmp = a * (b * ((x * y) - (z * t))); elseif (c <= 2.55e-228) tmp = t_3; elseif (c <= 5.9e-167) tmp = t_1; elseif (c <= 1.75e-17) tmp = t_3; elseif (c <= 6.8e+20) tmp = t_1; elseif (c <= 1.02e+44) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (c <= 4.7e+116) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (c <= 5.7e+187) tmp = (x * c) * t_2; elseif (c <= 3.3e+251) tmp = (y * y4) * ((c * y3) - (b * k)); else tmp = x * (c * 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[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.35e-70], N[(x * 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]), $MachinePrecision], If[LessEqual[c, -2.4e-137], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -3.8e-216], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.55e-228], t$95$3, If[LessEqual[c, 5.9e-167], t$95$1, If[LessEqual[c, 1.75e-17], t$95$3, If[LessEqual[c, 6.8e+20], t$95$1, If[LessEqual[c, 1.02e+44], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.7e+116], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.7e+187], N[(N[(x * c), $MachinePrecision] * t$95$2), $MachinePrecision], If[LessEqual[c, 3.3e+251], N[(N[(y * y4), $MachinePrecision] * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_2 := y0 \cdot y2 - y \cdot i\\
t_3 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right) - a \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -2.35 \cdot 10^{-70}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq -2.4 \cdot 10^{-137}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq -3.8 \cdot 10^{-216}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;c \leq 2.55 \cdot 10^{-228}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 5.9 \cdot 10^{-167}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 1.75 \cdot 10^{-17}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 6.8 \cdot 10^{+20}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 1.02 \cdot 10^{+44}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq 4.7 \cdot 10^{+116}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 5.7 \cdot 10^{+187}:\\
\;\;\;\;\left(x \cdot c\right) \cdot t_2\\
\mathbf{elif}\;c \leq 3.3 \cdot 10^{+251}:\\
\;\;\;\;\left(y \cdot y4\right) \cdot \left(c \cdot y3 - b \cdot k\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot t_2\right)\\
\end{array}
\end{array}
if c < -2.3499999999999999e-70Initial program 19.2%
Taylor expanded in x around inf 53.8%
Taylor expanded in j around 0 52.2%
if -2.3499999999999999e-70 < c < -2.4e-137Initial program 45.3%
Taylor expanded in y3 around -inf 72.6%
Taylor expanded in j around inf 56.6%
if -2.4e-137 < c < -3.8e-216Initial program 43.4%
Taylor expanded in b around inf 43.6%
Taylor expanded in a around inf 50.7%
if -3.8e-216 < c < 2.5500000000000001e-228 or 5.90000000000000022e-167 < c < 1.7500000000000001e-17Initial program 46.2%
Taylor expanded in x around inf 43.7%
Taylor expanded in y around 0 42.1%
*-commutative42.1%
*-commutative42.1%
Simplified42.1%
Taylor expanded in c around 0 47.4%
mul-1-neg47.4%
distribute-rgt-neg-in47.4%
distribute-rgt-neg-in47.4%
Simplified47.4%
if 2.5500000000000001e-228 < c < 5.90000000000000022e-167 or 1.7500000000000001e-17 < c < 6.8e20Initial program 14.8%
Taylor expanded in b around inf 60.2%
Taylor expanded in z around -inf 64.3%
if 6.8e20 < c < 1.01999999999999999e44Initial program 50.0%
Taylor expanded in y4 around inf 35.0%
*-commutative35.0%
*-commutative35.0%
Simplified35.0%
Taylor expanded in y1 around inf 52.2%
if 1.01999999999999999e44 < c < 4.7000000000000003e116Initial program 18.8%
Taylor expanded in y4 around inf 31.8%
*-commutative31.8%
*-commutative31.8%
Simplified31.8%
Taylor expanded in c around inf 63.4%
if 4.7000000000000003e116 < c < 5.7000000000000004e187Initial program 29.5%
Taylor expanded in x around inf 51.1%
Taylor expanded in c around inf 47.1%
associate-*r*54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
*-commutative54.9%
Simplified54.9%
if 5.7000000000000004e187 < c < 3.30000000000000018e251Initial program 28.6%
Taylor expanded in y4 around inf 50.1%
*-commutative50.1%
*-commutative50.1%
Simplified50.1%
Taylor expanded in y around inf 71.5%
associate-*r*71.6%
distribute-lft-out--71.6%
Simplified71.6%
if 3.30000000000000018e251 < c Initial program 17.9%
Taylor expanded in x around inf 41.6%
Taylor expanded in c around inf 82.5%
+-commutative82.5%
mul-1-neg82.5%
unsub-neg82.5%
*-commutative82.5%
Simplified82.5%
Final simplification56.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* z (- (* k y0) (* t a)))))
(t_2 (- (* y0 y2) (* y i)))
(t_3 (* x (- (* j (- (* i y1) (* b y0))) (* a (* y1 y2)))))
(t_4 (- (* y0 y5) (* y1 y4))))
(if (<= c -1e-68)
(* x (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1)))))
(if (<= c -4.8e-212)
(* y3 (+ (* j t_4) (* z (- (* a y1) (* c y0)))))
(if (<= c 1.3e-230)
t_3
(if (<= c 1.15e-167)
t_1
(if (<= c 1.26e-20)
t_3
(if (<= c 2.4e+23)
t_1
(if (<= c 5.8e+44)
(- (* j (* y3 t_4)) (* b (* (* y k) y4)))
(if (<= c 2.15e+116)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= c 5.8e+186)
(* (* x c) t_2)
(if (<= c 2.8e+250)
(* (* y y4) (- (* c y3) (* b k)))
(* x (* c 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 = b * (z * ((k * y0) - (t * a)));
double t_2 = (y0 * y2) - (y * i);
double t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double t_4 = (y0 * y5) - (y1 * y4);
double tmp;
if (c <= -1e-68) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -4.8e-212) {
tmp = y3 * ((j * t_4) + (z * ((a * y1) - (c * y0))));
} else if (c <= 1.3e-230) {
tmp = t_3;
} else if (c <= 1.15e-167) {
tmp = t_1;
} else if (c <= 1.26e-20) {
tmp = t_3;
} else if (c <= 2.4e+23) {
tmp = t_1;
} else if (c <= 5.8e+44) {
tmp = (j * (y3 * t_4)) - (b * ((y * k) * y4));
} else if (c <= 2.15e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 5.8e+186) {
tmp = (x * c) * t_2;
} else if (c <= 2.8e+250) {
tmp = (y * y4) * ((c * y3) - (b * k));
} else {
tmp = x * (c * t_2);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = b * (z * ((k * y0) - (t * a)))
t_2 = (y0 * y2) - (y * i)
t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)))
t_4 = (y0 * y5) - (y1 * y4)
if (c <= (-1d-68)) then
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
else if (c <= (-4.8d-212)) then
tmp = y3 * ((j * t_4) + (z * ((a * y1) - (c * y0))))
else if (c <= 1.3d-230) then
tmp = t_3
else if (c <= 1.15d-167) then
tmp = t_1
else if (c <= 1.26d-20) then
tmp = t_3
else if (c <= 2.4d+23) then
tmp = t_1
else if (c <= 5.8d+44) then
tmp = (j * (y3 * t_4)) - (b * ((y * k) * y4))
else if (c <= 2.15d+116) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (c <= 5.8d+186) then
tmp = (x * c) * t_2
else if (c <= 2.8d+250) then
tmp = (y * y4) * ((c * y3) - (b * k))
else
tmp = x * (c * 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 = b * (z * ((k * y0) - (t * a)));
double t_2 = (y0 * y2) - (y * i);
double t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
double t_4 = (y0 * y5) - (y1 * y4);
double tmp;
if (c <= -1e-68) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (c <= -4.8e-212) {
tmp = y3 * ((j * t_4) + (z * ((a * y1) - (c * y0))));
} else if (c <= 1.3e-230) {
tmp = t_3;
} else if (c <= 1.15e-167) {
tmp = t_1;
} else if (c <= 1.26e-20) {
tmp = t_3;
} else if (c <= 2.4e+23) {
tmp = t_1;
} else if (c <= 5.8e+44) {
tmp = (j * (y3 * t_4)) - (b * ((y * k) * y4));
} else if (c <= 2.15e+116) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= 5.8e+186) {
tmp = (x * c) * t_2;
} else if (c <= 2.8e+250) {
tmp = (y * y4) * ((c * y3) - (b * k));
} else {
tmp = x * (c * t_2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (z * ((k * y0) - (t * a))) t_2 = (y0 * y2) - (y * i) t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))) t_4 = (y0 * y5) - (y1 * y4) tmp = 0 if c <= -1e-68: tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) elif c <= -4.8e-212: tmp = y3 * ((j * t_4) + (z * ((a * y1) - (c * y0)))) elif c <= 1.3e-230: tmp = t_3 elif c <= 1.15e-167: tmp = t_1 elif c <= 1.26e-20: tmp = t_3 elif c <= 2.4e+23: tmp = t_1 elif c <= 5.8e+44: tmp = (j * (y3 * t_4)) - (b * ((y * k) * y4)) elif c <= 2.15e+116: tmp = c * (y4 * ((y * y3) - (t * y2))) elif c <= 5.8e+186: tmp = (x * c) * t_2 elif c <= 2.8e+250: tmp = (y * y4) * ((c * y3) - (b * k)) else: tmp = x * (c * 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(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))) t_2 = Float64(Float64(y0 * y2) - Float64(y * i)) t_3 = Float64(x * Float64(Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) - Float64(a * Float64(y1 * y2)))) t_4 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) tmp = 0.0 if (c <= -1e-68) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (c <= -4.8e-212) tmp = Float64(y3 * Float64(Float64(j * t_4) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0))))); elseif (c <= 1.3e-230) tmp = t_3; elseif (c <= 1.15e-167) tmp = t_1; elseif (c <= 1.26e-20) tmp = t_3; elseif (c <= 2.4e+23) tmp = t_1; elseif (c <= 5.8e+44) tmp = Float64(Float64(j * Float64(y3 * t_4)) - Float64(b * Float64(Float64(y * k) * y4))); elseif (c <= 2.15e+116) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (c <= 5.8e+186) tmp = Float64(Float64(x * c) * t_2); elseif (c <= 2.8e+250) tmp = Float64(Float64(y * y4) * Float64(Float64(c * y3) - Float64(b * k))); else tmp = Float64(x * Float64(c * 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 = b * (z * ((k * y0) - (t * a))); t_2 = (y0 * y2) - (y * i); t_3 = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))); t_4 = (y0 * y5) - (y1 * y4); tmp = 0.0; if (c <= -1e-68) tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); elseif (c <= -4.8e-212) tmp = y3 * ((j * t_4) + (z * ((a * y1) - (c * y0)))); elseif (c <= 1.3e-230) tmp = t_3; elseif (c <= 1.15e-167) tmp = t_1; elseif (c <= 1.26e-20) tmp = t_3; elseif (c <= 2.4e+23) tmp = t_1; elseif (c <= 5.8e+44) tmp = (j * (y3 * t_4)) - (b * ((y * k) * y4)); elseif (c <= 2.15e+116) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (c <= 5.8e+186) tmp = (x * c) * t_2; elseif (c <= 2.8e+250) tmp = (y * y4) * ((c * y3) - (b * k)); else tmp = x * (c * 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[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1e-68], N[(x * 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]), $MachinePrecision], If[LessEqual[c, -4.8e-212], N[(y3 * N[(N[(j * t$95$4), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.3e-230], t$95$3, If[LessEqual[c, 1.15e-167], t$95$1, If[LessEqual[c, 1.26e-20], t$95$3, If[LessEqual[c, 2.4e+23], t$95$1, If[LessEqual[c, 5.8e+44], N[(N[(j * N[(y3 * t$95$4), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(y * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.15e+116], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.8e+186], N[(N[(x * c), $MachinePrecision] * t$95$2), $MachinePrecision], If[LessEqual[c, 2.8e+250], N[(N[(y * y4), $MachinePrecision] * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_2 := y0 \cdot y2 - y \cdot i\\
t_3 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right) - a \cdot \left(y1 \cdot y2\right)\right)\\
t_4 := y0 \cdot y5 - y1 \cdot y4\\
\mathbf{if}\;c \leq -1 \cdot 10^{-68}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq -4.8 \cdot 10^{-212}:\\
\;\;\;\;y3 \cdot \left(j \cdot t_4 + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 1.3 \cdot 10^{-230}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 1.15 \cdot 10^{-167}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 1.26 \cdot 10^{-20}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 2.4 \cdot 10^{+23}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 5.8 \cdot 10^{+44}:\\
\;\;\;\;j \cdot \left(y3 \cdot t_4\right) - b \cdot \left(\left(y \cdot k\right) \cdot y4\right)\\
\mathbf{elif}\;c \leq 2.15 \cdot 10^{+116}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 5.8 \cdot 10^{+186}:\\
\;\;\;\;\left(x \cdot c\right) \cdot t_2\\
\mathbf{elif}\;c \leq 2.8 \cdot 10^{+250}:\\
\;\;\;\;\left(y \cdot y4\right) \cdot \left(c \cdot y3 - b \cdot k\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot t_2\right)\\
\end{array}
\end{array}
if c < -1.00000000000000007e-68Initial program 19.2%
Taylor expanded in x around inf 53.8%
Taylor expanded in j around 0 52.2%
if -1.00000000000000007e-68 < c < -4.79999999999999978e-212Initial program 44.3%
Taylor expanded in y3 around -inf 52.7%
Taylor expanded in y around 0 49.3%
if -4.79999999999999978e-212 < c < 1.3000000000000001e-230 or 1.1500000000000001e-167 < c < 1.26e-20Initial program 46.2%
Taylor expanded in x around inf 43.7%
Taylor expanded in y around 0 42.1%
*-commutative42.1%
*-commutative42.1%
Simplified42.1%
Taylor expanded in c around 0 47.4%
mul-1-neg47.4%
distribute-rgt-neg-in47.4%
distribute-rgt-neg-in47.4%
Simplified47.4%
if 1.3000000000000001e-230 < c < 1.1500000000000001e-167 or 1.26e-20 < c < 2.4e23Initial program 14.3%
Taylor expanded in b around inf 58.2%
Taylor expanded in z around -inf 62.1%
if 2.4e23 < c < 5.8000000000000004e44Initial program 66.7%
Taylor expanded in y4 around inf 51.7%
*-commutative51.7%
*-commutative51.7%
Simplified51.7%
Taylor expanded in k around inf 68.4%
mul-1-neg68.4%
distribute-rgt-neg-in68.4%
associate-*r*68.4%
distribute-rgt-neg-in68.4%
*-commutative68.4%
Simplified68.4%
Taylor expanded in k around 0 67.8%
associate-*r*67.8%
neg-mul-167.8%
Simplified67.8%
if 5.8000000000000004e44 < c < 2.15e116Initial program 13.3%
Taylor expanded in y4 around inf 27.2%
*-commutative27.2%
*-commutative27.2%
Simplified27.2%
Taylor expanded in c around inf 67.2%
if 2.15e116 < c < 5.8e186Initial program 29.5%
Taylor expanded in x around inf 51.1%
Taylor expanded in c around inf 47.1%
associate-*r*54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
*-commutative54.9%
Simplified54.9%
if 5.8e186 < c < 2.8000000000000001e250Initial program 28.6%
Taylor expanded in y4 around inf 50.1%
*-commutative50.1%
*-commutative50.1%
Simplified50.1%
Taylor expanded in y around inf 71.5%
associate-*r*71.6%
distribute-lft-out--71.6%
Simplified71.6%
if 2.8000000000000001e250 < c Initial program 17.9%
Taylor expanded in x around inf 41.6%
Taylor expanded in c around inf 82.5%
+-commutative82.5%
mul-1-neg82.5%
unsub-neg82.5%
*-commutative82.5%
Simplified82.5%
Final simplification56.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* c (- (* y0 y2) (* y i)))))
(t_2 (* b (* j (- (* t y4) (* x y0)))))
(t_3 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= j -1.16e+78)
t_2
(if (<= j -5.3e-80)
t_1
(if (<= j -6.4e-236)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= j 1.5e-300)
t_1
(if (<= j 4.1e-225)
t_3
(if (<= j 6.8e-162)
(* a (* b (- (* x y) (* z t))))
(if (<= j 5e-142)
(* x (* (- a) (* y1 y2)))
(if (or (<= j 2.1e-44) (not (<= j 6.8e+67))) t_2 t_3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (c * ((y0 * y2) - (y * i)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double t_3 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (j <= -1.16e+78) {
tmp = t_2;
} else if (j <= -5.3e-80) {
tmp = t_1;
} else if (j <= -6.4e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (j <= 1.5e-300) {
tmp = t_1;
} else if (j <= 4.1e-225) {
tmp = t_3;
} else if (j <= 6.8e-162) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 5e-142) {
tmp = x * (-a * (y1 * y2));
} else if ((j <= 2.1e-44) || !(j <= 6.8e+67)) {
tmp = t_2;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = x * (c * ((y0 * y2) - (y * i)))
t_2 = b * (j * ((t * y4) - (x * y0)))
t_3 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (j <= (-1.16d+78)) then
tmp = t_2
else if (j <= (-5.3d-80)) then
tmp = t_1
else if (j <= (-6.4d-236)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (j <= 1.5d-300) then
tmp = t_1
else if (j <= 4.1d-225) then
tmp = t_3
else if (j <= 6.8d-162) then
tmp = a * (b * ((x * y) - (z * t)))
else if (j <= 5d-142) then
tmp = x * (-a * (y1 * y2))
else if ((j <= 2.1d-44) .or. (.not. (j <= 6.8d+67))) then
tmp = t_2
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (c * ((y0 * y2) - (y * i)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double t_3 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (j <= -1.16e+78) {
tmp = t_2;
} else if (j <= -5.3e-80) {
tmp = t_1;
} else if (j <= -6.4e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (j <= 1.5e-300) {
tmp = t_1;
} else if (j <= 4.1e-225) {
tmp = t_3;
} else if (j <= 6.8e-162) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 5e-142) {
tmp = x * (-a * (y1 * y2));
} else if ((j <= 2.1e-44) || !(j <= 6.8e+67)) {
tmp = t_2;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (c * ((y0 * y2) - (y * i))) t_2 = b * (j * ((t * y4) - (x * y0))) t_3 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if j <= -1.16e+78: tmp = t_2 elif j <= -5.3e-80: tmp = t_1 elif j <= -6.4e-236: tmp = c * (y4 * ((y * y3) - (t * y2))) elif j <= 1.5e-300: tmp = t_1 elif j <= 4.1e-225: tmp = t_3 elif j <= 6.8e-162: tmp = a * (b * ((x * y) - (z * t))) elif j <= 5e-142: tmp = x * (-a * (y1 * y2)) elif (j <= 2.1e-44) or not (j <= 6.8e+67): tmp = t_2 else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))) t_2 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) t_3 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (j <= -1.16e+78) tmp = t_2; elseif (j <= -5.3e-80) tmp = t_1; elseif (j <= -6.4e-236) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (j <= 1.5e-300) tmp = t_1; elseif (j <= 4.1e-225) tmp = t_3; elseif (j <= 6.8e-162) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 5e-142) tmp = Float64(x * Float64(Float64(-a) * Float64(y1 * y2))); elseif ((j <= 2.1e-44) || !(j <= 6.8e+67)) tmp = t_2; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (c * ((y0 * y2) - (y * i))); t_2 = b * (j * ((t * y4) - (x * y0))); t_3 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (j <= -1.16e+78) tmp = t_2; elseif (j <= -5.3e-80) tmp = t_1; elseif (j <= -6.4e-236) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (j <= 1.5e-300) tmp = t_1; elseif (j <= 4.1e-225) tmp = t_3; elseif (j <= 6.8e-162) tmp = a * (b * ((x * y) - (z * t))); elseif (j <= 5e-142) tmp = x * (-a * (y1 * y2)); elseif ((j <= 2.1e-44) || ~((j <= 6.8e+67))) tmp = t_2; else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.16e+78], t$95$2, If[LessEqual[j, -5.3e-80], t$95$1, If[LessEqual[j, -6.4e-236], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.5e-300], t$95$1, If[LessEqual[j, 4.1e-225], t$95$3, If[LessEqual[j, 6.8e-162], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5e-142], N[(x * N[((-a) * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[j, 2.1e-44], N[Not[LessEqual[j, 6.8e+67]], $MachinePrecision]], t$95$2, t$95$3]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
t_2 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_3 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;j \leq -1.16 \cdot 10^{+78}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq -5.3 \cdot 10^{-80}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq -6.4 \cdot 10^{-236}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.5 \cdot 10^{-300}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 4.1 \cdot 10^{-225}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;j \leq 6.8 \cdot 10^{-162}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 5 \cdot 10^{-142}:\\
\;\;\;\;x \cdot \left(\left(-a\right) \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 2.1 \cdot 10^{-44} \lor \neg \left(j \leq 6.8 \cdot 10^{+67}\right):\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if j < -1.1600000000000001e78 or 5.0000000000000002e-142 < j < 2.10000000000000001e-44 or 6.8000000000000003e67 < j Initial program 23.8%
Taylor expanded in b around inf 37.7%
Taylor expanded in j around inf 51.2%
if -1.1600000000000001e78 < j < -5.30000000000000026e-80 or -6.3999999999999999e-236 < j < 1.50000000000000012e-300Initial program 37.3%
Taylor expanded in x around inf 61.3%
Taylor expanded in c around inf 47.0%
+-commutative47.0%
mul-1-neg47.0%
unsub-neg47.0%
*-commutative47.0%
Simplified47.0%
if -5.30000000000000026e-80 < j < -6.3999999999999999e-236Initial program 25.7%
Taylor expanded in y4 around inf 26.7%
*-commutative26.7%
*-commutative26.7%
Simplified26.7%
Taylor expanded in c around inf 43.2%
if 1.50000000000000012e-300 < j < 4.10000000000000022e-225 or 2.10000000000000001e-44 < j < 6.8000000000000003e67Initial program 29.6%
Taylor expanded in y4 around inf 33.1%
*-commutative33.1%
*-commutative33.1%
Simplified33.1%
Taylor expanded in k around inf 36.9%
mul-1-neg36.9%
distribute-rgt-neg-in36.9%
associate-*r*34.0%
distribute-rgt-neg-in34.0%
*-commutative34.0%
Simplified34.0%
Taylor expanded in y2 around inf 45.3%
if 4.10000000000000022e-225 < j < 6.8e-162Initial program 39.3%
Taylor expanded in b around inf 40.1%
Taylor expanded in a around inf 44.2%
if 6.8e-162 < j < 5.0000000000000002e-142Initial program 0.0%
Taylor expanded in x around inf 50.0%
Taylor expanded in j around 0 50.0%
Taylor expanded in y1 around inf 100.0%
mul-1-neg100.0%
distribute-rgt-neg-in100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
Simplified100.0%
Final simplification48.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* c (- (* y0 y2) (* y i)))))
(t_2 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= j -6.1e-25)
(* x (* j (- (* i y1) (* b y0))))
(if (<= j -4.3e-80)
t_1
(if (<= j -4.4e-236)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= j 1.5e-300)
t_1
(if (<= j 8.5e-225)
t_2
(if (<= j 1.05e-163)
(* a (* b (- (* x y) (* z t))))
(if (<= j 4.8e-130)
(* x (* (- a) (* y1 y2)))
(if (or (<= j 1.7e-44) (not (<= j 1.4e+68)))
(* b (* j (- (* t y4) (* x y0))))
t_2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (c * ((y0 * y2) - (y * i)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (j <= -6.1e-25) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (j <= -4.3e-80) {
tmp = t_1;
} else if (j <= -4.4e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (j <= 1.5e-300) {
tmp = t_1;
} else if (j <= 8.5e-225) {
tmp = t_2;
} else if (j <= 1.05e-163) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 4.8e-130) {
tmp = x * (-a * (y1 * y2));
} else if ((j <= 1.7e-44) || !(j <= 1.4e+68)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * (c * ((y0 * y2) - (y * i)))
t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (j <= (-6.1d-25)) then
tmp = x * (j * ((i * y1) - (b * y0)))
else if (j <= (-4.3d-80)) then
tmp = t_1
else if (j <= (-4.4d-236)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (j <= 1.5d-300) then
tmp = t_1
else if (j <= 8.5d-225) then
tmp = t_2
else if (j <= 1.05d-163) then
tmp = a * (b * ((x * y) - (z * t)))
else if (j <= 4.8d-130) then
tmp = x * (-a * (y1 * y2))
else if ((j <= 1.7d-44) .or. (.not. (j <= 1.4d+68))) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (c * ((y0 * y2) - (y * i)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (j <= -6.1e-25) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (j <= -4.3e-80) {
tmp = t_1;
} else if (j <= -4.4e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (j <= 1.5e-300) {
tmp = t_1;
} else if (j <= 8.5e-225) {
tmp = t_2;
} else if (j <= 1.05e-163) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 4.8e-130) {
tmp = x * (-a * (y1 * y2));
} else if ((j <= 1.7e-44) || !(j <= 1.4e+68)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (c * ((y0 * y2) - (y * i))) t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if j <= -6.1e-25: tmp = x * (j * ((i * y1) - (b * y0))) elif j <= -4.3e-80: tmp = t_1 elif j <= -4.4e-236: tmp = c * (y4 * ((y * y3) - (t * y2))) elif j <= 1.5e-300: tmp = t_1 elif j <= 8.5e-225: tmp = t_2 elif j <= 1.05e-163: tmp = a * (b * ((x * y) - (z * t))) elif j <= 4.8e-130: tmp = x * (-a * (y1 * y2)) elif (j <= 1.7e-44) or not (j <= 1.4e+68): tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))) t_2 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (j <= -6.1e-25) tmp = Float64(x * Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (j <= -4.3e-80) tmp = t_1; elseif (j <= -4.4e-236) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (j <= 1.5e-300) tmp = t_1; elseif (j <= 8.5e-225) tmp = t_2; elseif (j <= 1.05e-163) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 4.8e-130) tmp = Float64(x * Float64(Float64(-a) * Float64(y1 * y2))); elseif ((j <= 1.7e-44) || !(j <= 1.4e+68)) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (c * ((y0 * y2) - (y * i))); t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (j <= -6.1e-25) tmp = x * (j * ((i * y1) - (b * y0))); elseif (j <= -4.3e-80) tmp = t_1; elseif (j <= -4.4e-236) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (j <= 1.5e-300) tmp = t_1; elseif (j <= 8.5e-225) tmp = t_2; elseif (j <= 1.05e-163) tmp = a * (b * ((x * y) - (z * t))); elseif (j <= 4.8e-130) tmp = x * (-a * (y1 * y2)); elseif ((j <= 1.7e-44) || ~((j <= 1.4e+68))) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -6.1e-25], N[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -4.3e-80], t$95$1, If[LessEqual[j, -4.4e-236], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.5e-300], t$95$1, If[LessEqual[j, 8.5e-225], t$95$2, If[LessEqual[j, 1.05e-163], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.8e-130], N[(x * N[((-a) * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[j, 1.7e-44], N[Not[LessEqual[j, 1.4e+68]], $MachinePrecision]], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
t_2 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;j \leq -6.1 \cdot 10^{-25}:\\
\;\;\;\;x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq -4.3 \cdot 10^{-80}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq -4.4 \cdot 10^{-236}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.5 \cdot 10^{-300}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 8.5 \cdot 10^{-225}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq 1.05 \cdot 10^{-163}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 4.8 \cdot 10^{-130}:\\
\;\;\;\;x \cdot \left(\left(-a\right) \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.7 \cdot 10^{-44} \lor \neg \left(j \leq 1.4 \cdot 10^{+68}\right):\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if j < -6.10000000000000018e-25Initial program 23.2%
Taylor expanded in x around inf 44.6%
Taylor expanded in j around inf 44.0%
*-commutative44.0%
*-commutative44.0%
Simplified44.0%
if -6.10000000000000018e-25 < j < -4.3000000000000001e-80 or -4.39999999999999985e-236 < j < 1.50000000000000012e-300Initial program 43.0%
Taylor expanded in x around inf 60.5%
Taylor expanded in c around inf 58.3%
+-commutative58.3%
mul-1-neg58.3%
unsub-neg58.3%
*-commutative58.3%
Simplified58.3%
if -4.3000000000000001e-80 < j < -4.39999999999999985e-236Initial program 25.7%
Taylor expanded in y4 around inf 26.7%
*-commutative26.7%
*-commutative26.7%
Simplified26.7%
Taylor expanded in c around inf 43.2%
if 1.50000000000000012e-300 < j < 8.4999999999999998e-225 or 1.70000000000000008e-44 < j < 1.4e68Initial program 29.6%
Taylor expanded in y4 around inf 33.1%
*-commutative33.1%
*-commutative33.1%
Simplified33.1%
Taylor expanded in k around inf 36.9%
mul-1-neg36.9%
distribute-rgt-neg-in36.9%
associate-*r*34.0%
distribute-rgt-neg-in34.0%
*-commutative34.0%
Simplified34.0%
Taylor expanded in y2 around inf 45.3%
if 8.4999999999999998e-225 < j < 1.04999999999999999e-163Initial program 39.3%
Taylor expanded in b around inf 40.1%
Taylor expanded in a around inf 44.2%
if 1.04999999999999999e-163 < j < 4.79999999999999993e-130Initial program 0.0%
Taylor expanded in x around inf 50.0%
Taylor expanded in j around 0 50.0%
Taylor expanded in y1 around inf 100.0%
mul-1-neg100.0%
distribute-rgt-neg-in100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
Simplified100.0%
if 4.79999999999999993e-130 < j < 1.70000000000000008e-44 or 1.4e68 < j Initial program 26.9%
Taylor expanded in b around inf 39.8%
Taylor expanded in j around inf 52.6%
Final simplification48.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* c (- (* y0 y2) (* y i))))))
(if (<= j -2.7e+156)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= j -14500000000000.0)
(* x (* y (- (* a b) (* c i))))
(if (<= j -5.2e-25)
(* x (* j (- (* i y1) (* b y0))))
(if (<= j -4.8e-80)
t_1
(if (<= j -1.3e-236)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= j 1.15e-300)
t_1
(if (<= j 4.2e-222)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= j 2.1e-160)
(* a (* b (- (* x y) (* z t))))
(if (<= j 7.6e-137)
(* x (* (- a) (* y1 y2)))
(* b (* j (- (* t y4) (* x y0)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (c * ((y0 * y2) - (y * i)));
double tmp;
if (j <= -2.7e+156) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (j <= -14500000000000.0) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (j <= -5.2e-25) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (j <= -4.8e-80) {
tmp = t_1;
} else if (j <= -1.3e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (j <= 1.15e-300) {
tmp = t_1;
} else if (j <= 4.2e-222) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (j <= 2.1e-160) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 7.6e-137) {
tmp = x * (-a * (y1 * y2));
} else {
tmp = b * (j * ((t * y4) - (x * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (c * ((y0 * y2) - (y * i)))
if (j <= (-2.7d+156)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (j <= (-14500000000000.0d0)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (j <= (-5.2d-25)) then
tmp = x * (j * ((i * y1) - (b * y0)))
else if (j <= (-4.8d-80)) then
tmp = t_1
else if (j <= (-1.3d-236)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (j <= 1.15d-300) then
tmp = t_1
else if (j <= 4.2d-222) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (j <= 2.1d-160) then
tmp = a * (b * ((x * y) - (z * t)))
else if (j <= 7.6d-137) then
tmp = x * (-a * (y1 * y2))
else
tmp = b * (j * ((t * y4) - (x * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (c * ((y0 * y2) - (y * i)));
double tmp;
if (j <= -2.7e+156) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (j <= -14500000000000.0) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (j <= -5.2e-25) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (j <= -4.8e-80) {
tmp = t_1;
} else if (j <= -1.3e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (j <= 1.15e-300) {
tmp = t_1;
} else if (j <= 4.2e-222) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (j <= 2.1e-160) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 7.6e-137) {
tmp = x * (-a * (y1 * y2));
} else {
tmp = b * (j * ((t * y4) - (x * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (c * ((y0 * y2) - (y * i))) tmp = 0 if j <= -2.7e+156: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif j <= -14500000000000.0: tmp = x * (y * ((a * b) - (c * i))) elif j <= -5.2e-25: tmp = x * (j * ((i * y1) - (b * y0))) elif j <= -4.8e-80: tmp = t_1 elif j <= -1.3e-236: tmp = c * (y4 * ((y * y3) - (t * y2))) elif j <= 1.15e-300: tmp = t_1 elif j <= 4.2e-222: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif j <= 2.1e-160: tmp = a * (b * ((x * y) - (z * t))) elif j <= 7.6e-137: tmp = x * (-a * (y1 * y2)) else: tmp = b * (j * ((t * y4) - (x * y0))) 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(c * Float64(Float64(y0 * y2) - Float64(y * i)))) tmp = 0.0 if (j <= -2.7e+156) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= -14500000000000.0) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (j <= -5.2e-25) tmp = Float64(x * Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (j <= -4.8e-80) tmp = t_1; elseif (j <= -1.3e-236) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (j <= 1.15e-300) tmp = t_1; elseif (j <= 4.2e-222) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (j <= 2.1e-160) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 7.6e-137) tmp = Float64(x * Float64(Float64(-a) * Float64(y1 * y2))); else tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (c * ((y0 * y2) - (y * i))); tmp = 0.0; if (j <= -2.7e+156) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (j <= -14500000000000.0) tmp = x * (y * ((a * b) - (c * i))); elseif (j <= -5.2e-25) tmp = x * (j * ((i * y1) - (b * y0))); elseif (j <= -4.8e-80) tmp = t_1; elseif (j <= -1.3e-236) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (j <= 1.15e-300) tmp = t_1; elseif (j <= 4.2e-222) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (j <= 2.1e-160) tmp = a * (b * ((x * y) - (z * t))); elseif (j <= 7.6e-137) tmp = x * (-a * (y1 * y2)); else tmp = b * (j * ((t * y4) - (x * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.7e+156], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -14500000000000.0], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -5.2e-25], N[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -4.8e-80], t$95$1, If[LessEqual[j, -1.3e-236], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.15e-300], t$95$1, If[LessEqual[j, 4.2e-222], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.1e-160], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 7.6e-137], N[(x * N[((-a) * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{if}\;j \leq -2.7 \cdot 10^{+156}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq -14500000000000:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;j \leq -5.2 \cdot 10^{-25}:\\
\;\;\;\;x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq -4.8 \cdot 10^{-80}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq -1.3 \cdot 10^{-236}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.15 \cdot 10^{-300}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 4.2 \cdot 10^{-222}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 2.1 \cdot 10^{-160}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 7.6 \cdot 10^{-137}:\\
\;\;\;\;x \cdot \left(\left(-a\right) \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\end{array}
\end{array}
if j < -2.7e156Initial program 22.8%
Taylor expanded in y0 around inf 37.6%
Taylor expanded in j around inf 49.6%
if -2.7e156 < j < -1.45e13Initial program 19.3%
Taylor expanded in x around inf 55.6%
Taylor expanded in y around inf 46.2%
if -1.45e13 < j < -5.2e-25Initial program 42.6%
Taylor expanded in x around inf 57.0%
Taylor expanded in j around inf 71.5%
*-commutative71.5%
*-commutative71.5%
Simplified71.5%
if -5.2e-25 < j < -4.7999999999999998e-80 or -1.3e-236 < j < 1.15e-300Initial program 43.0%
Taylor expanded in x around inf 60.5%
Taylor expanded in c around inf 58.3%
+-commutative58.3%
mul-1-neg58.3%
unsub-neg58.3%
*-commutative58.3%
Simplified58.3%
if -4.7999999999999998e-80 < j < -1.3e-236Initial program 25.7%
Taylor expanded in y4 around inf 26.7%
*-commutative26.7%
*-commutative26.7%
Simplified26.7%
Taylor expanded in c around inf 43.2%
if 1.15e-300 < j < 4.1999999999999998e-222Initial program 42.9%
Taylor expanded in y4 around inf 36.7%
*-commutative36.7%
*-commutative36.7%
Simplified36.7%
Taylor expanded in k around inf 37.0%
mul-1-neg37.0%
distribute-rgt-neg-in37.0%
associate-*r*29.9%
distribute-rgt-neg-in29.9%
*-commutative29.9%
Simplified29.9%
Taylor expanded in y2 around inf 51.0%
if 4.1999999999999998e-222 < j < 2.1e-160Initial program 39.3%
Taylor expanded in b around inf 40.1%
Taylor expanded in a around inf 44.2%
if 2.1e-160 < j < 7.59999999999999997e-137Initial program 0.0%
Taylor expanded in x around inf 50.0%
Taylor expanded in j around 0 50.0%
Taylor expanded in y1 around inf 100.0%
mul-1-neg100.0%
distribute-rgt-neg-in100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
Simplified100.0%
if 7.59999999999999997e-137 < j Initial program 25.2%
Taylor expanded in b around inf 37.6%
Taylor expanded in j around inf 44.4%
Final simplification49.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y2 (- (* c y0) (* a y1)))))
(t_2 (* x (* y (- (* a b) (* c i))))))
(if (<= i -1.95e+105)
t_2
(if (<= i -4.2e+57)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= i -3.2e-50)
t_2
(if (<= i -3.1e-165)
t_1
(if (<= i -4e-275)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= i 9.5e-235)
t_1
(if (<= i 7e-152)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= i 2.75e+31)
(* (* t b) (- (* j y4) (* z a)))
(* x (* j (- (* i y1) (* b y0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y2 * ((c * y0) - (a * y1)));
double t_2 = x * (y * ((a * b) - (c * i)));
double tmp;
if (i <= -1.95e+105) {
tmp = t_2;
} else if (i <= -4.2e+57) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= -3.2e-50) {
tmp = t_2;
} else if (i <= -3.1e-165) {
tmp = t_1;
} else if (i <= -4e-275) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (i <= 9.5e-235) {
tmp = t_1;
} else if (i <= 7e-152) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (i <= 2.75e+31) {
tmp = (t * b) * ((j * y4) - (z * a));
} else {
tmp = x * (j * ((i * y1) - (b * 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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * (y2 * ((c * y0) - (a * y1)))
t_2 = x * (y * ((a * b) - (c * i)))
if (i <= (-1.95d+105)) then
tmp = t_2
else if (i <= (-4.2d+57)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (i <= (-3.2d-50)) then
tmp = t_2
else if (i <= (-3.1d-165)) then
tmp = t_1
else if (i <= (-4d-275)) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (i <= 9.5d-235) then
tmp = t_1
else if (i <= 7d-152) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (i <= 2.75d+31) then
tmp = (t * b) * ((j * y4) - (z * a))
else
tmp = x * (j * ((i * y1) - (b * 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 t_1 = x * (y2 * ((c * y0) - (a * y1)));
double t_2 = x * (y * ((a * b) - (c * i)));
double tmp;
if (i <= -1.95e+105) {
tmp = t_2;
} else if (i <= -4.2e+57) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= -3.2e-50) {
tmp = t_2;
} else if (i <= -3.1e-165) {
tmp = t_1;
} else if (i <= -4e-275) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (i <= 9.5e-235) {
tmp = t_1;
} else if (i <= 7e-152) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (i <= 2.75e+31) {
tmp = (t * b) * ((j * y4) - (z * a));
} else {
tmp = x * (j * ((i * y1) - (b * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y2 * ((c * y0) - (a * y1))) t_2 = x * (y * ((a * b) - (c * i))) tmp = 0 if i <= -1.95e+105: tmp = t_2 elif i <= -4.2e+57: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif i <= -3.2e-50: tmp = t_2 elif i <= -3.1e-165: tmp = t_1 elif i <= -4e-275: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif i <= 9.5e-235: tmp = t_1 elif i <= 7e-152: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif i <= 2.75e+31: tmp = (t * b) * ((j * y4) - (z * a)) else: tmp = x * (j * ((i * y1) - (b * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) t_2 = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))) tmp = 0.0 if (i <= -1.95e+105) tmp = t_2; elseif (i <= -4.2e+57) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (i <= -3.2e-50) tmp = t_2; elseif (i <= -3.1e-165) tmp = t_1; elseif (i <= -4e-275) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (i <= 9.5e-235) tmp = t_1; elseif (i <= 7e-152) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (i <= 2.75e+31) tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a))); else tmp = Float64(x * Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y2 * ((c * y0) - (a * y1))); t_2 = x * (y * ((a * b) - (c * i))); tmp = 0.0; if (i <= -1.95e+105) tmp = t_2; elseif (i <= -4.2e+57) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (i <= -3.2e-50) tmp = t_2; elseif (i <= -3.1e-165) tmp = t_1; elseif (i <= -4e-275) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (i <= 9.5e-235) tmp = t_1; elseif (i <= 7e-152) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (i <= 2.75e+31) tmp = (t * b) * ((j * y4) - (z * a)); else tmp = x * (j * ((i * y1) - (b * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.95e+105], t$95$2, If[LessEqual[i, -4.2e+57], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.2e-50], t$95$2, If[LessEqual[i, -3.1e-165], t$95$1, If[LessEqual[i, -4e-275], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9.5e-235], t$95$1, If[LessEqual[i, 7e-152], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.75e+31], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
t_2 := x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{if}\;i \leq -1.95 \cdot 10^{+105}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -4.2 \cdot 10^{+57}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;i \leq -3.2 \cdot 10^{-50}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -3.1 \cdot 10^{-165}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq -4 \cdot 10^{-275}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;i \leq 9.5 \cdot 10^{-235}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 7 \cdot 10^{-152}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq 2.75 \cdot 10^{+31}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if i < -1.94999999999999989e105 or -4.19999999999999982e57 < i < -3.2e-50Initial program 26.3%
Taylor expanded in x around inf 47.5%
Taylor expanded in y around inf 53.2%
if -1.94999999999999989e105 < i < -4.19999999999999982e57Initial program 29.8%
Taylor expanded in y0 around inf 50.0%
Taylor expanded in j around inf 62.0%
if -3.2e-50 < i < -3.09999999999999996e-165 or -3.99999999999999974e-275 < i < 9.4999999999999996e-235Initial program 38.4%
Taylor expanded in x around inf 60.2%
Taylor expanded in y2 around inf 55.8%
if -3.09999999999999996e-165 < i < -3.99999999999999974e-275Initial program 27.7%
Taylor expanded in y4 around inf 35.5%
*-commutative35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in y1 around inf 42.8%
if 9.4999999999999996e-235 < i < 7.0000000000000002e-152Initial program 42.1%
Taylor expanded in y4 around inf 43.2%
*-commutative43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in k around inf 59.7%
mul-1-neg59.7%
distribute-rgt-neg-in59.7%
associate-*r*54.4%
distribute-rgt-neg-in54.4%
*-commutative54.4%
Simplified54.4%
Taylor expanded in y2 around inf 53.8%
if 7.0000000000000002e-152 < i < 2.75000000000000001e31Initial program 24.4%
Taylor expanded in b around inf 44.7%
Taylor expanded in t around inf 49.9%
associate-*r*47.5%
+-commutative47.5%
mul-1-neg47.5%
unsub-neg47.5%
Simplified47.5%
if 2.75000000000000001e31 < i Initial program 24.1%
Taylor expanded in x around inf 47.0%
Taylor expanded in j around inf 41.1%
*-commutative41.1%
*-commutative41.1%
Simplified41.1%
Final simplification49.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y0 (- (* c y2) (* b j)))))
(t_2 (* b (* t (- (* j y4) (* z a))))))
(if (<= z -1.05e+132)
t_2
(if (<= z -4.5e+110)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= z -2020000000.0)
t_2
(if (<= z 1.3e-70)
t_1
(if (<= z 5e+51)
(* (* y b) (- (* x a) (* k y4)))
(if (<= z 2.8e+100)
(* (* y0 y3) (- (* j y5) (* z c)))
(if (<= z 8.4e+130)
t_2
(if (<= z 2.3e+258)
t_1
(* c (* y4 (- (* y y3) (* t y2))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y0 * ((c * y2) - (b * j)));
double t_2 = b * (t * ((j * y4) - (z * a)));
double tmp;
if (z <= -1.05e+132) {
tmp = t_2;
} else if (z <= -4.5e+110) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -2020000000.0) {
tmp = t_2;
} else if (z <= 1.3e-70) {
tmp = t_1;
} else if (z <= 5e+51) {
tmp = (y * b) * ((x * a) - (k * y4));
} else if (z <= 2.8e+100) {
tmp = (y0 * y3) * ((j * y5) - (z * c));
} else if (z <= 8.4e+130) {
tmp = t_2;
} else if (z <= 2.3e+258) {
tmp = t_1;
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * (y0 * ((c * y2) - (b * j)))
t_2 = b * (t * ((j * y4) - (z * a)))
if (z <= (-1.05d+132)) then
tmp = t_2
else if (z <= (-4.5d+110)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (z <= (-2020000000.0d0)) then
tmp = t_2
else if (z <= 1.3d-70) then
tmp = t_1
else if (z <= 5d+51) then
tmp = (y * b) * ((x * a) - (k * y4))
else if (z <= 2.8d+100) then
tmp = (y0 * y3) * ((j * y5) - (z * c))
else if (z <= 8.4d+130) then
tmp = t_2
else if (z <= 2.3d+258) then
tmp = t_1
else
tmp = c * (y4 * ((y * y3) - (t * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y0 * ((c * y2) - (b * j)));
double t_2 = b * (t * ((j * y4) - (z * a)));
double tmp;
if (z <= -1.05e+132) {
tmp = t_2;
} else if (z <= -4.5e+110) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -2020000000.0) {
tmp = t_2;
} else if (z <= 1.3e-70) {
tmp = t_1;
} else if (z <= 5e+51) {
tmp = (y * b) * ((x * a) - (k * y4));
} else if (z <= 2.8e+100) {
tmp = (y0 * y3) * ((j * y5) - (z * c));
} else if (z <= 8.4e+130) {
tmp = t_2;
} else if (z <= 2.3e+258) {
tmp = t_1;
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y0 * ((c * y2) - (b * j))) t_2 = b * (t * ((j * y4) - (z * a))) tmp = 0 if z <= -1.05e+132: tmp = t_2 elif z <= -4.5e+110: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif z <= -2020000000.0: tmp = t_2 elif z <= 1.3e-70: tmp = t_1 elif z <= 5e+51: tmp = (y * b) * ((x * a) - (k * y4)) elif z <= 2.8e+100: tmp = (y0 * y3) * ((j * y5) - (z * c)) elif z <= 8.4e+130: tmp = t_2 elif z <= 2.3e+258: tmp = t_1 else: tmp = c * (y4 * ((y * y3) - (t * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))) t_2 = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * a)))) tmp = 0.0 if (z <= -1.05e+132) tmp = t_2; elseif (z <= -4.5e+110) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (z <= -2020000000.0) tmp = t_2; elseif (z <= 1.3e-70) tmp = t_1; elseif (z <= 5e+51) tmp = Float64(Float64(y * b) * Float64(Float64(x * a) - Float64(k * y4))); elseif (z <= 2.8e+100) tmp = Float64(Float64(y0 * y3) * Float64(Float64(j * y5) - Float64(z * c))); elseif (z <= 8.4e+130) tmp = t_2; elseif (z <= 2.3e+258) tmp = t_1; else tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y0 * ((c * y2) - (b * j))); t_2 = b * (t * ((j * y4) - (z * a))); tmp = 0.0; if (z <= -1.05e+132) tmp = t_2; elseif (z <= -4.5e+110) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (z <= -2020000000.0) tmp = t_2; elseif (z <= 1.3e-70) tmp = t_1; elseif (z <= 5e+51) tmp = (y * b) * ((x * a) - (k * y4)); elseif (z <= 2.8e+100) tmp = (y0 * y3) * ((j * y5) - (z * c)); elseif (z <= 8.4e+130) tmp = t_2; elseif (z <= 2.3e+258) tmp = t_1; else tmp = c * (y4 * ((y * y3) - (t * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.05e+132], t$95$2, If[LessEqual[z, -4.5e+110], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2020000000.0], t$95$2, If[LessEqual[z, 1.3e-70], t$95$1, If[LessEqual[z, 5e+51], N[(N[(y * b), $MachinePrecision] * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.8e+100], N[(N[(y0 * y3), $MachinePrecision] * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.4e+130], t$95$2, If[LessEqual[z, 2.3e+258], t$95$1, N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
t_2 := b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{if}\;z \leq -1.05 \cdot 10^{+132}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq -4.5 \cdot 10^{+110}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -2020000000:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 1.3 \cdot 10^{-70}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 5 \cdot 10^{+51}:\\
\;\;\;\;\left(y \cdot b\right) \cdot \left(x \cdot a - k \cdot y4\right)\\
\mathbf{elif}\;z \leq 2.8 \cdot 10^{+100}:\\
\;\;\;\;\left(y0 \cdot y3\right) \cdot \left(j \cdot y5 - z \cdot c\right)\\
\mathbf{elif}\;z \leq 8.4 \cdot 10^{+130}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 2.3 \cdot 10^{+258}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\end{array}
\end{array}
if z < -1.04999999999999997e132 or -4.5000000000000003e110 < z < -2.02e9 or 2.7999999999999998e100 < z < 8.39999999999999962e130Initial program 25.6%
Taylor expanded in b around inf 46.3%
Taylor expanded in t around -inf 54.9%
mul-1-neg54.9%
distribute-rgt-neg-in54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
Simplified54.9%
if -1.04999999999999997e132 < z < -4.5000000000000003e110Initial program 28.6%
Taylor expanded in y4 around inf 29.6%
*-commutative29.6%
*-commutative29.6%
Simplified29.6%
Taylor expanded in k around inf 46.1%
mul-1-neg46.1%
distribute-rgt-neg-in46.1%
associate-*r*46.1%
distribute-rgt-neg-in46.1%
*-commutative46.1%
Simplified46.1%
Taylor expanded in y2 around inf 72.2%
if -2.02e9 < z < 1.30000000000000001e-70 or 8.39999999999999962e130 < z < 2.3000000000000001e258Initial program 31.9%
Taylor expanded in x around inf 49.1%
Taylor expanded in y0 around inf 43.4%
*-commutative43.4%
*-commutative43.4%
Simplified43.4%
if 1.30000000000000001e-70 < z < 5e51Initial program 18.0%
Taylor expanded in b around inf 39.8%
Taylor expanded in y around inf 64.6%
associate-*r*61.3%
+-commutative61.3%
mul-1-neg61.3%
unsub-neg61.3%
*-commutative61.3%
Simplified61.3%
if 5e51 < z < 2.7999999999999998e100Initial program 50.0%
Taylor expanded in y0 around inf 68.9%
Taylor expanded in y3 around inf 52.0%
associate-*r*59.4%
+-commutative59.4%
mul-1-neg59.4%
unsub-neg59.4%
Simplified59.4%
if 2.3000000000000001e258 < z Initial program 16.7%
Taylor expanded in y4 around inf 50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in c around inf 58.7%
Final simplification50.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y0 (* c y2)))))
(if (<= c -1.05e+131)
t_1
(if (<= c -18000.0)
(* (* x y) (* a b))
(if (<= c 3.3e-238)
(* x (* b (* j (- y0))))
(if (<= c 3.6e-179)
(* a (* (* z t) (- b)))
(if (<= c 5e-20)
(* i (* j (* x y1)))
(if (<= c 1.2e+30)
(* b (* t (* z (- a))))
(if (<= c 2.9e+101)
(* b (* k (* y (- y4))))
(if (<= c 3e+131)
(* (* a b) (* z (- t)))
(if (<= c 4.4e+250) (* c (* y (* y3 y4))) t_1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y0 * (c * y2));
double tmp;
if (c <= -1.05e+131) {
tmp = t_1;
} else if (c <= -18000.0) {
tmp = (x * y) * (a * b);
} else if (c <= 3.3e-238) {
tmp = x * (b * (j * -y0));
} else if (c <= 3.6e-179) {
tmp = a * ((z * t) * -b);
} else if (c <= 5e-20) {
tmp = i * (j * (x * y1));
} else if (c <= 1.2e+30) {
tmp = b * (t * (z * -a));
} else if (c <= 2.9e+101) {
tmp = b * (k * (y * -y4));
} else if (c <= 3e+131) {
tmp = (a * b) * (z * -t);
} else if (c <= 4.4e+250) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (y0 * (c * y2))
if (c <= (-1.05d+131)) then
tmp = t_1
else if (c <= (-18000.0d0)) then
tmp = (x * y) * (a * b)
else if (c <= 3.3d-238) then
tmp = x * (b * (j * -y0))
else if (c <= 3.6d-179) then
tmp = a * ((z * t) * -b)
else if (c <= 5d-20) then
tmp = i * (j * (x * y1))
else if (c <= 1.2d+30) then
tmp = b * (t * (z * -a))
else if (c <= 2.9d+101) then
tmp = b * (k * (y * -y4))
else if (c <= 3d+131) then
tmp = (a * b) * (z * -t)
else if (c <= 4.4d+250) then
tmp = c * (y * (y3 * y4))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y0 * (c * y2));
double tmp;
if (c <= -1.05e+131) {
tmp = t_1;
} else if (c <= -18000.0) {
tmp = (x * y) * (a * b);
} else if (c <= 3.3e-238) {
tmp = x * (b * (j * -y0));
} else if (c <= 3.6e-179) {
tmp = a * ((z * t) * -b);
} else if (c <= 5e-20) {
tmp = i * (j * (x * y1));
} else if (c <= 1.2e+30) {
tmp = b * (t * (z * -a));
} else if (c <= 2.9e+101) {
tmp = b * (k * (y * -y4));
} else if (c <= 3e+131) {
tmp = (a * b) * (z * -t);
} else if (c <= 4.4e+250) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y0 * (c * y2)) tmp = 0 if c <= -1.05e+131: tmp = t_1 elif c <= -18000.0: tmp = (x * y) * (a * b) elif c <= 3.3e-238: tmp = x * (b * (j * -y0)) elif c <= 3.6e-179: tmp = a * ((z * t) * -b) elif c <= 5e-20: tmp = i * (j * (x * y1)) elif c <= 1.2e+30: tmp = b * (t * (z * -a)) elif c <= 2.9e+101: tmp = b * (k * (y * -y4)) elif c <= 3e+131: tmp = (a * b) * (z * -t) elif c <= 4.4e+250: tmp = c * (y * (y3 * y4)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y0 * Float64(c * y2))) tmp = 0.0 if (c <= -1.05e+131) tmp = t_1; elseif (c <= -18000.0) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (c <= 3.3e-238) tmp = Float64(x * Float64(b * Float64(j * Float64(-y0)))); elseif (c <= 3.6e-179) tmp = Float64(a * Float64(Float64(z * t) * Float64(-b))); elseif (c <= 5e-20) tmp = Float64(i * Float64(j * Float64(x * y1))); elseif (c <= 1.2e+30) tmp = Float64(b * Float64(t * Float64(z * Float64(-a)))); elseif (c <= 2.9e+101) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); elseif (c <= 3e+131) tmp = Float64(Float64(a * b) * Float64(z * Float64(-t))); elseif (c <= 4.4e+250) tmp = Float64(c * Float64(y * Float64(y3 * y4))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y0 * (c * y2)); tmp = 0.0; if (c <= -1.05e+131) tmp = t_1; elseif (c <= -18000.0) tmp = (x * y) * (a * b); elseif (c <= 3.3e-238) tmp = x * (b * (j * -y0)); elseif (c <= 3.6e-179) tmp = a * ((z * t) * -b); elseif (c <= 5e-20) tmp = i * (j * (x * y1)); elseif (c <= 1.2e+30) tmp = b * (t * (z * -a)); elseif (c <= 2.9e+101) tmp = b * (k * (y * -y4)); elseif (c <= 3e+131) tmp = (a * b) * (z * -t); elseif (c <= 4.4e+250) tmp = c * (y * (y3 * y4)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.05e+131], t$95$1, If[LessEqual[c, -18000.0], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.3e-238], N[(x * N[(b * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.6e-179], N[(a * N[(N[(z * t), $MachinePrecision] * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-20], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.2e+30], N[(b * N[(t * N[(z * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.9e+101], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+131], N[(N[(a * b), $MachinePrecision] * N[(z * (-t)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.4e+250], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -1.05 \cdot 10^{+131}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -18000:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;c \leq 3.3 \cdot 10^{-238}:\\
\;\;\;\;x \cdot \left(b \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;c \leq 3.6 \cdot 10^{-179}:\\
\;\;\;\;a \cdot \left(\left(z \cdot t\right) \cdot \left(-b\right)\right)\\
\mathbf{elif}\;c \leq 5 \cdot 10^{-20}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 1.2 \cdot 10^{+30}:\\
\;\;\;\;b \cdot \left(t \cdot \left(z \cdot \left(-a\right)\right)\right)\\
\mathbf{elif}\;c \leq 2.9 \cdot 10^{+101}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;c \leq 3 \cdot 10^{+131}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(z \cdot \left(-t\right)\right)\\
\mathbf{elif}\;c \leq 4.4 \cdot 10^{+250}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -1.04999999999999993e131 or 4.40000000000000029e250 < c Initial program 13.3%
Taylor expanded in x around inf 45.4%
Taylor expanded in y0 around inf 55.6%
*-commutative55.6%
*-commutative55.6%
Simplified55.6%
Taylor expanded in y2 around inf 52.0%
*-commutative52.0%
Simplified52.0%
if -1.04999999999999993e131 < c < -18000Initial program 12.1%
Taylor expanded in b around inf 48.5%
Taylor expanded in y around inf 56.6%
associate-*r*52.6%
+-commutative52.6%
mul-1-neg52.6%
unsub-neg52.6%
*-commutative52.6%
Simplified52.6%
Taylor expanded in a around inf 41.3%
associate-*r*45.1%
*-commutative45.1%
Simplified45.1%
if -18000 < c < 3.2999999999999997e-238Initial program 50.0%
Taylor expanded in x around inf 43.2%
Taylor expanded in y0 around inf 32.0%
*-commutative32.0%
*-commutative32.0%
Simplified32.0%
Taylor expanded in y2 around 0 30.3%
mul-1-neg30.3%
*-commutative30.3%
Simplified30.3%
if 3.2999999999999997e-238 < c < 3.60000000000000007e-179Initial program 14.3%
Taylor expanded in b around inf 71.5%
Taylor expanded in a around inf 71.5%
Taylor expanded in x around 0 71.8%
associate-*r*71.8%
neg-mul-171.8%
Simplified71.8%
if 3.60000000000000007e-179 < c < 4.9999999999999999e-20Initial program 33.3%
Taylor expanded in x around inf 34.3%
Taylor expanded in y around 0 34.7%
*-commutative34.7%
*-commutative34.7%
Simplified34.7%
Taylor expanded in i around inf 24.8%
if 4.9999999999999999e-20 < c < 1.2e30Initial program 18.8%
Taylor expanded in b around inf 63.7%
Taylor expanded in t around -inf 51.3%
mul-1-neg51.3%
distribute-rgt-neg-in51.3%
+-commutative51.3%
mul-1-neg51.3%
unsub-neg51.3%
Simplified51.3%
Taylor expanded in a around inf 51.2%
if 1.2e30 < c < 2.89999999999999987e101Initial program 26.3%
Taylor expanded in b around inf 27.4%
Taylor expanded in y around inf 48.9%
associate-*r*33.5%
+-commutative33.5%
mul-1-neg33.5%
unsub-neg33.5%
*-commutative33.5%
Simplified33.5%
Taylor expanded in a around 0 43.2%
mul-1-neg43.2%
Simplified43.2%
if 2.89999999999999987e101 < c < 3.0000000000000001e131Initial program 30.7%
Taylor expanded in b around inf 40.1%
Taylor expanded in a around inf 60.2%
Taylor expanded in x around 0 51.3%
mul-1-neg51.3%
associate-*r*60.6%
distribute-rgt-neg-in60.6%
distribute-rgt-neg-in60.6%
Simplified60.6%
if 3.0000000000000001e131 < c < 4.40000000000000029e250Initial program 30.0%
Taylor expanded in y4 around inf 43.9%
*-commutative43.9%
*-commutative43.9%
Simplified43.9%
Taylor expanded in y around inf 63.7%
associate-*r*57.0%
distribute-lft-out--57.0%
Simplified57.0%
Taylor expanded in b around 0 47.8%
*-commutative47.8%
Simplified47.8%
Final simplification42.2%
(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 (<= y4 -1.35e+221)
(* c (* y (* y3 y4)))
(if (<= y4 -5.5e-19)
(* x (* y0 (* c y2)))
(if (<= y4 -2.45e-39)
t_1
(if (<= y4 -5.4e-72)
(* b (* t (* z (- a))))
(if (<= y4 -2.5e-234)
(* (* x y) (* c (- i)))
(if (<= y4 5e-302)
(* x (* b (* j (- y0))))
(if (<= y4 2.1e+113) t_1 (* b (* t (* j y4))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y4 <= -1.35e+221) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -5.5e-19) {
tmp = x * (y0 * (c * y2));
} else if (y4 <= -2.45e-39) {
tmp = t_1;
} else if (y4 <= -5.4e-72) {
tmp = b * (t * (z * -a));
} else if (y4 <= -2.5e-234) {
tmp = (x * y) * (c * -i);
} else if (y4 <= 5e-302) {
tmp = x * (b * (j * -y0));
} else if (y4 <= 2.1e+113) {
tmp = t_1;
} else {
tmp = b * (t * (j * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (b * ((x * y) - (z * t)))
if (y4 <= (-1.35d+221)) then
tmp = c * (y * (y3 * y4))
else if (y4 <= (-5.5d-19)) then
tmp = x * (y0 * (c * y2))
else if (y4 <= (-2.45d-39)) then
tmp = t_1
else if (y4 <= (-5.4d-72)) then
tmp = b * (t * (z * -a))
else if (y4 <= (-2.5d-234)) then
tmp = (x * y) * (c * -i)
else if (y4 <= 5d-302) then
tmp = x * (b * (j * -y0))
else if (y4 <= 2.1d+113) then
tmp = t_1
else
tmp = b * (t * (j * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y4 <= -1.35e+221) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -5.5e-19) {
tmp = x * (y0 * (c * y2));
} else if (y4 <= -2.45e-39) {
tmp = t_1;
} else if (y4 <= -5.4e-72) {
tmp = b * (t * (z * -a));
} else if (y4 <= -2.5e-234) {
tmp = (x * y) * (c * -i);
} else if (y4 <= 5e-302) {
tmp = x * (b * (j * -y0));
} else if (y4 <= 2.1e+113) {
tmp = t_1;
} else {
tmp = b * (t * (j * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if y4 <= -1.35e+221: tmp = c * (y * (y3 * y4)) elif y4 <= -5.5e-19: tmp = x * (y0 * (c * y2)) elif y4 <= -2.45e-39: tmp = t_1 elif y4 <= -5.4e-72: tmp = b * (t * (z * -a)) elif y4 <= -2.5e-234: tmp = (x * y) * (c * -i) elif y4 <= 5e-302: tmp = x * (b * (j * -y0)) elif y4 <= 2.1e+113: tmp = t_1 else: tmp = b * (t * (j * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y4 <= -1.35e+221) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (y4 <= -5.5e-19) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (y4 <= -2.45e-39) tmp = t_1; elseif (y4 <= -5.4e-72) tmp = Float64(b * Float64(t * Float64(z * Float64(-a)))); elseif (y4 <= -2.5e-234) tmp = Float64(Float64(x * y) * Float64(c * Float64(-i))); elseif (y4 <= 5e-302) tmp = Float64(x * Float64(b * Float64(j * Float64(-y0)))); elseif (y4 <= 2.1e+113) tmp = t_1; else tmp = Float64(b * Float64(t * Float64(j * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (y4 <= -1.35e+221) tmp = c * (y * (y3 * y4)); elseif (y4 <= -5.5e-19) tmp = x * (y0 * (c * y2)); elseif (y4 <= -2.45e-39) tmp = t_1; elseif (y4 <= -5.4e-72) tmp = b * (t * (z * -a)); elseif (y4 <= -2.5e-234) tmp = (x * y) * (c * -i); elseif (y4 <= 5e-302) tmp = x * (b * (j * -y0)); elseif (y4 <= 2.1e+113) tmp = t_1; else tmp = b * (t * (j * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.35e+221], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -5.5e-19], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.45e-39], t$95$1, If[LessEqual[y4, -5.4e-72], N[(b * N[(t * N[(z * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.5e-234], N[(N[(x * y), $MachinePrecision] * N[(c * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5e-302], N[(x * N[(b * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.1e+113], t$95$1, N[(b * N[(t * N[(j * y4), $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}\;y4 \leq -1.35 \cdot 10^{+221}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -5.5 \cdot 10^{-19}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -2.45 \cdot 10^{-39}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y4 \leq -5.4 \cdot 10^{-72}:\\
\;\;\;\;b \cdot \left(t \cdot \left(z \cdot \left(-a\right)\right)\right)\\
\mathbf{elif}\;y4 \leq -2.5 \cdot 10^{-234}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(c \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y4 \leq 5 \cdot 10^{-302}:\\
\;\;\;\;x \cdot \left(b \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;y4 \leq 2.1 \cdot 10^{+113}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\end{array}
\end{array}
if y4 < -1.35e221Initial program 26.7%
Taylor expanded in y4 around inf 27.1%
*-commutative27.1%
*-commutative27.1%
Simplified27.1%
Taylor expanded in y around inf 73.5%
associate-*r*54.6%
distribute-lft-out--54.6%
Simplified54.6%
Taylor expanded in b around 0 67.1%
*-commutative67.1%
Simplified67.1%
if -1.35e221 < y4 < -5.4999999999999996e-19Initial program 27.5%
Taylor expanded in x around inf 46.1%
Taylor expanded in y0 around inf 41.9%
*-commutative41.9%
*-commutative41.9%
Simplified41.9%
Taylor expanded in y2 around inf 43.9%
*-commutative43.9%
Simplified43.9%
if -5.4999999999999996e-19 < y4 < -2.44999999999999987e-39 or 5.00000000000000033e-302 < y4 < 2.0999999999999999e113Initial program 37.4%
Taylor expanded in b around inf 42.9%
Taylor expanded in a around inf 41.4%
if -2.44999999999999987e-39 < y4 < -5.4e-72Initial program 33.3%
Taylor expanded in b around inf 50.1%
Taylor expanded in t around -inf 50.6%
mul-1-neg50.6%
distribute-rgt-neg-in50.6%
+-commutative50.6%
mul-1-neg50.6%
unsub-neg50.6%
Simplified50.6%
Taylor expanded in a around inf 50.6%
if -5.4e-72 < y4 < -2.49999999999999989e-234Initial program 29.8%
Taylor expanded in x around inf 56.0%
Taylor expanded in j around 0 48.7%
Taylor expanded in i around inf 40.5%
mul-1-neg40.5%
associate-*r*41.8%
distribute-rgt-neg-in41.8%
Simplified41.8%
if -2.49999999999999989e-234 < y4 < 5.00000000000000033e-302Initial program 22.4%
Taylor expanded in x around inf 41.0%
Taylor expanded in y0 around inf 49.0%
*-commutative49.0%
*-commutative49.0%
Simplified49.0%
Taylor expanded in y2 around 0 34.2%
mul-1-neg34.2%
*-commutative34.2%
Simplified34.2%
if 2.0999999999999999e113 < y4 Initial program 14.2%
Taylor expanded in b around inf 34.4%
Taylor expanded in t around -inf 43.8%
mul-1-neg43.8%
distribute-rgt-neg-in43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
Simplified43.8%
Taylor expanded in a around 0 44.1%
neg-mul-144.1%
distribute-lft-neg-in44.1%
*-commutative44.1%
Simplified44.1%
Final simplification43.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* t (* z (- a))))))
(if (<= z -6.4e+131)
t_1
(if (<= z -1.4e+93)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= z -1.35e+37)
t_1
(if (<= z 1.35e-77)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= z 4e+73)
(* x (* y (- (* a b) (* c i))))
(if (<= z 9.5e+141)
(* b (* y0 (- (* z k) (* x j))))
(if (<= z 1.1e+224)
(* a (* b (- (* x y) (* z t))))
(* c (* y4 (- (* y y3) (* t y2)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * (z * -a));
double tmp;
if (z <= -6.4e+131) {
tmp = t_1;
} else if (z <= -1.4e+93) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -1.35e+37) {
tmp = t_1;
} else if (z <= 1.35e-77) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (z <= 4e+73) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (z <= 9.5e+141) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (z <= 1.1e+224) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (t * (z * -a))
if (z <= (-6.4d+131)) then
tmp = t_1
else if (z <= (-1.4d+93)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (z <= (-1.35d+37)) then
tmp = t_1
else if (z <= 1.35d-77) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (z <= 4d+73) then
tmp = x * (y * ((a * b) - (c * i)))
else if (z <= 9.5d+141) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (z <= 1.1d+224) then
tmp = a * (b * ((x * y) - (z * t)))
else
tmp = c * (y4 * ((y * y3) - (t * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * (z * -a));
double tmp;
if (z <= -6.4e+131) {
tmp = t_1;
} else if (z <= -1.4e+93) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -1.35e+37) {
tmp = t_1;
} else if (z <= 1.35e-77) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (z <= 4e+73) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (z <= 9.5e+141) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (z <= 1.1e+224) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (t * (z * -a)) tmp = 0 if z <= -6.4e+131: tmp = t_1 elif z <= -1.4e+93: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif z <= -1.35e+37: tmp = t_1 elif z <= 1.35e-77: tmp = x * (y0 * ((c * y2) - (b * j))) elif z <= 4e+73: tmp = x * (y * ((a * b) - (c * i))) elif z <= 9.5e+141: tmp = b * (y0 * ((z * k) - (x * j))) elif z <= 1.1e+224: tmp = a * (b * ((x * y) - (z * t))) else: tmp = c * (y4 * ((y * y3) - (t * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(t * Float64(z * Float64(-a)))) tmp = 0.0 if (z <= -6.4e+131) tmp = t_1; elseif (z <= -1.4e+93) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (z <= -1.35e+37) tmp = t_1; elseif (z <= 1.35e-77) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (z <= 4e+73) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (z <= 9.5e+141) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (z <= 1.1e+224) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); else tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (t * (z * -a)); tmp = 0.0; if (z <= -6.4e+131) tmp = t_1; elseif (z <= -1.4e+93) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (z <= -1.35e+37) tmp = t_1; elseif (z <= 1.35e-77) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (z <= 4e+73) tmp = x * (y * ((a * b) - (c * i))); elseif (z <= 9.5e+141) tmp = b * (y0 * ((z * k) - (x * j))); elseif (z <= 1.1e+224) tmp = a * (b * ((x * y) - (z * t))); else tmp = c * (y4 * ((y * y3) - (t * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(t * N[(z * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.4e+131], t$95$1, If[LessEqual[z, -1.4e+93], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.35e+37], t$95$1, If[LessEqual[z, 1.35e-77], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4e+73], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.5e+141], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.1e+224], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot \left(z \cdot \left(-a\right)\right)\right)\\
\mathbf{if}\;z \leq -6.4 \cdot 10^{+131}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.4 \cdot 10^{+93}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -1.35 \cdot 10^{+37}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 1.35 \cdot 10^{-77}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;z \leq 4 \cdot 10^{+73}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;z \leq 9.5 \cdot 10^{+141}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{+224}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\end{array}
\end{array}
if z < -6.4000000000000004e131 or -1.39999999999999994e93 < z < -1.34999999999999993e37Initial program 28.4%
Taylor expanded in b around inf 46.2%
Taylor expanded in t around -inf 56.9%
mul-1-neg56.9%
distribute-rgt-neg-in56.9%
+-commutative56.9%
mul-1-neg56.9%
unsub-neg56.9%
Simplified56.9%
Taylor expanded in a around inf 46.3%
if -6.4000000000000004e131 < z < -1.39999999999999994e93Initial program 20.0%
Taylor expanded in y4 around inf 30.7%
*-commutative30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in k around inf 32.3%
mul-1-neg32.3%
distribute-rgt-neg-in32.3%
associate-*r*32.3%
distribute-rgt-neg-in32.3%
*-commutative32.3%
Simplified32.3%
Taylor expanded in y2 around inf 60.8%
if -1.34999999999999993e37 < z < 1.35e-77Initial program 34.2%
Taylor expanded in x around inf 48.8%
Taylor expanded in y0 around inf 39.8%
*-commutative39.8%
*-commutative39.8%
Simplified39.8%
if 1.35e-77 < z < 3.99999999999999993e73Initial program 21.7%
Taylor expanded in x around inf 49.1%
Taylor expanded in y around inf 57.4%
if 3.99999999999999993e73 < z < 9.49999999999999974e141Initial program 33.3%
Taylor expanded in b around inf 27.9%
Taylor expanded in y0 around inf 54.6%
if 9.49999999999999974e141 < z < 1.1e224Initial program 19.8%
Taylor expanded in b around inf 40.5%
Taylor expanded in a around inf 60.9%
if 1.1e224 < z Initial program 16.7%
Taylor expanded in y4 around inf 56.0%
*-commutative56.0%
*-commutative56.0%
Simplified56.0%
Taylor expanded in c around inf 50.5%
Final simplification46.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* t (- (* j y4) (* z a))))))
(if (<= z -3.4e+132)
t_1
(if (<= z -2.45e+104)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= z -2400000000.0)
t_1
(if (<= z 9.2e-120)
(* x (- (* j (- (* i y1) (* b y0))) (* a (* y1 y2))))
(if (<= z 1.8e+70)
(* (* x c) (- (* y0 y2) (* y i)))
(if (<= z 3.1e+128)
(* b (* y0 (- (* z k) (* x j))))
(if (<= z 3.9e+178)
(* x (* y0 (- (* c y2) (* b j))))
(* c (* y4 (- (* y y3) (* t y2)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * ((j * y4) - (z * a)));
double tmp;
if (z <= -3.4e+132) {
tmp = t_1;
} else if (z <= -2.45e+104) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -2400000000.0) {
tmp = t_1;
} else if (z <= 9.2e-120) {
tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
} else if (z <= 1.8e+70) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (z <= 3.1e+128) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (z <= 3.9e+178) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (t * ((j * y4) - (z * a)))
if (z <= (-3.4d+132)) then
tmp = t_1
else if (z <= (-2.45d+104)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (z <= (-2400000000.0d0)) then
tmp = t_1
else if (z <= 9.2d-120) then
tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)))
else if (z <= 1.8d+70) then
tmp = (x * c) * ((y0 * y2) - (y * i))
else if (z <= 3.1d+128) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (z <= 3.9d+178) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else
tmp = c * (y4 * ((y * y3) - (t * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * ((j * y4) - (z * a)));
double tmp;
if (z <= -3.4e+132) {
tmp = t_1;
} else if (z <= -2.45e+104) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -2400000000.0) {
tmp = t_1;
} else if (z <= 9.2e-120) {
tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2)));
} else if (z <= 1.8e+70) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (z <= 3.1e+128) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (z <= 3.9e+178) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (t * ((j * y4) - (z * a))) tmp = 0 if z <= -3.4e+132: tmp = t_1 elif z <= -2.45e+104: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif z <= -2400000000.0: tmp = t_1 elif z <= 9.2e-120: tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))) elif z <= 1.8e+70: tmp = (x * c) * ((y0 * y2) - (y * i)) elif z <= 3.1e+128: tmp = b * (y0 * ((z * k) - (x * j))) elif z <= 3.9e+178: tmp = x * (y0 * ((c * y2) - (b * j))) else: tmp = c * (y4 * ((y * y3) - (t * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * a)))) tmp = 0.0 if (z <= -3.4e+132) tmp = t_1; elseif (z <= -2.45e+104) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (z <= -2400000000.0) tmp = t_1; elseif (z <= 9.2e-120) tmp = Float64(x * Float64(Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) - Float64(a * Float64(y1 * y2)))); elseif (z <= 1.8e+70) tmp = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))); elseif (z <= 3.1e+128) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (z <= 3.9e+178) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); else tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (t * ((j * y4) - (z * a))); tmp = 0.0; if (z <= -3.4e+132) tmp = t_1; elseif (z <= -2.45e+104) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (z <= -2400000000.0) tmp = t_1; elseif (z <= 9.2e-120) tmp = x * ((j * ((i * y1) - (b * y0))) - (a * (y1 * y2))); elseif (z <= 1.8e+70) tmp = (x * c) * ((y0 * y2) - (y * i)); elseif (z <= 3.1e+128) tmp = b * (y0 * ((z * k) - (x * j))); elseif (z <= 3.9e+178) tmp = x * (y0 * ((c * y2) - (b * j))); else tmp = c * (y4 * ((y * y3) - (t * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.4e+132], t$95$1, If[LessEqual[z, -2.45e+104], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2400000000.0], t$95$1, If[LessEqual[z, 9.2e-120], N[(x * N[(N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e+70], N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.1e+128], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.9e+178], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{if}\;z \leq -3.4 \cdot 10^{+132}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -2.45 \cdot 10^{+104}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -2400000000:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 9.2 \cdot 10^{-120}:\\
\;\;\;\;x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right) - a \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 1.8 \cdot 10^{+70}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
\mathbf{elif}\;z \leq 3.1 \cdot 10^{+128}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;z \leq 3.9 \cdot 10^{+178}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\end{array}
\end{array}
if z < -3.40000000000000025e132 or -2.44999999999999993e104 < z < -2.4e9Initial program 24.7%
Taylor expanded in b around inf 45.9%
Taylor expanded in t around -inf 53.5%
mul-1-neg53.5%
distribute-rgt-neg-in53.5%
+-commutative53.5%
mul-1-neg53.5%
unsub-neg53.5%
Simplified53.5%
if -3.40000000000000025e132 < z < -2.44999999999999993e104Initial program 28.6%
Taylor expanded in y4 around inf 29.6%
*-commutative29.6%
*-commutative29.6%
Simplified29.6%
Taylor expanded in k around inf 46.1%
mul-1-neg46.1%
distribute-rgt-neg-in46.1%
associate-*r*46.1%
distribute-rgt-neg-in46.1%
*-commutative46.1%
Simplified46.1%
Taylor expanded in y2 around inf 72.2%
if -2.4e9 < z < 9.19999999999999946e-120Initial program 36.1%
Taylor expanded in x around inf 50.5%
Taylor expanded in y around 0 49.0%
*-commutative49.0%
*-commutative49.0%
Simplified49.0%
Taylor expanded in c around 0 43.4%
mul-1-neg43.4%
distribute-rgt-neg-in43.4%
distribute-rgt-neg-in43.4%
Simplified43.4%
if 9.19999999999999946e-120 < z < 1.8e70Initial program 22.3%
Taylor expanded in x around inf 47.2%
Taylor expanded in c around inf 48.0%
associate-*r*52.1%
+-commutative52.1%
mul-1-neg52.1%
unsub-neg52.1%
*-commutative52.1%
Simplified52.1%
if 1.8e70 < z < 3.10000000000000004e128Initial program 40.0%
Taylor expanded in b around inf 41.1%
Taylor expanded in y0 around inf 60.8%
if 3.10000000000000004e128 < z < 3.8999999999999997e178Initial program 22.2%
Taylor expanded in x around inf 44.9%
Taylor expanded in y0 around inf 78.0%
*-commutative78.0%
*-commutative78.0%
Simplified78.0%
if 3.8999999999999997e178 < z Initial program 16.6%
Taylor expanded in y4 around inf 50.9%
*-commutative50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in c around inf 50.6%
Final simplification50.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y0 (* c y2)))))
(if (<= c -1e+126)
t_1
(if (<= c -1.42e-6)
(* (* x y) (* a b))
(if (<= c 3.8e-235)
(* x (* b (* j (- y0))))
(if (<= c 2.4e-179)
(* a (* (* z t) (- b)))
(if (<= c 5e-19)
(* i (* j (* x y1)))
(if (<= c 4.6e+24)
(* b (* t (* z (- a))))
(if (<= c 1.75e+140) (* b (* k (* y (- y4)))) t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y0 * (c * y2));
double tmp;
if (c <= -1e+126) {
tmp = t_1;
} else if (c <= -1.42e-6) {
tmp = (x * y) * (a * b);
} else if (c <= 3.8e-235) {
tmp = x * (b * (j * -y0));
} else if (c <= 2.4e-179) {
tmp = a * ((z * t) * -b);
} else if (c <= 5e-19) {
tmp = i * (j * (x * y1));
} else if (c <= 4.6e+24) {
tmp = b * (t * (z * -a));
} else if (c <= 1.75e+140) {
tmp = b * (k * (y * -y4));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (y0 * (c * y2))
if (c <= (-1d+126)) then
tmp = t_1
else if (c <= (-1.42d-6)) then
tmp = (x * y) * (a * b)
else if (c <= 3.8d-235) then
tmp = x * (b * (j * -y0))
else if (c <= 2.4d-179) then
tmp = a * ((z * t) * -b)
else if (c <= 5d-19) then
tmp = i * (j * (x * y1))
else if (c <= 4.6d+24) then
tmp = b * (t * (z * -a))
else if (c <= 1.75d+140) then
tmp = b * (k * (y * -y4))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y0 * (c * y2));
double tmp;
if (c <= -1e+126) {
tmp = t_1;
} else if (c <= -1.42e-6) {
tmp = (x * y) * (a * b);
} else if (c <= 3.8e-235) {
tmp = x * (b * (j * -y0));
} else if (c <= 2.4e-179) {
tmp = a * ((z * t) * -b);
} else if (c <= 5e-19) {
tmp = i * (j * (x * y1));
} else if (c <= 4.6e+24) {
tmp = b * (t * (z * -a));
} else if (c <= 1.75e+140) {
tmp = b * (k * (y * -y4));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y0 * (c * y2)) tmp = 0 if c <= -1e+126: tmp = t_1 elif c <= -1.42e-6: tmp = (x * y) * (a * b) elif c <= 3.8e-235: tmp = x * (b * (j * -y0)) elif c <= 2.4e-179: tmp = a * ((z * t) * -b) elif c <= 5e-19: tmp = i * (j * (x * y1)) elif c <= 4.6e+24: tmp = b * (t * (z * -a)) elif c <= 1.75e+140: tmp = b * (k * (y * -y4)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y0 * Float64(c * y2))) tmp = 0.0 if (c <= -1e+126) tmp = t_1; elseif (c <= -1.42e-6) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (c <= 3.8e-235) tmp = Float64(x * Float64(b * Float64(j * Float64(-y0)))); elseif (c <= 2.4e-179) tmp = Float64(a * Float64(Float64(z * t) * Float64(-b))); elseif (c <= 5e-19) tmp = Float64(i * Float64(j * Float64(x * y1))); elseif (c <= 4.6e+24) tmp = Float64(b * Float64(t * Float64(z * Float64(-a)))); elseif (c <= 1.75e+140) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y0 * (c * y2)); tmp = 0.0; if (c <= -1e+126) tmp = t_1; elseif (c <= -1.42e-6) tmp = (x * y) * (a * b); elseif (c <= 3.8e-235) tmp = x * (b * (j * -y0)); elseif (c <= 2.4e-179) tmp = a * ((z * t) * -b); elseif (c <= 5e-19) tmp = i * (j * (x * y1)); elseif (c <= 4.6e+24) tmp = b * (t * (z * -a)); elseif (c <= 1.75e+140) tmp = b * (k * (y * -y4)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1e+126], t$95$1, If[LessEqual[c, -1.42e-6], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.8e-235], N[(x * N[(b * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.4e-179], N[(a * N[(N[(z * t), $MachinePrecision] * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-19], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.6e+24], N[(b * N[(t * N[(z * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.75e+140], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -1 \cdot 10^{+126}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -1.42 \cdot 10^{-6}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;c \leq 3.8 \cdot 10^{-235}:\\
\;\;\;\;x \cdot \left(b \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;c \leq 2.4 \cdot 10^{-179}:\\
\;\;\;\;a \cdot \left(\left(z \cdot t\right) \cdot \left(-b\right)\right)\\
\mathbf{elif}\;c \leq 5 \cdot 10^{-19}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 4.6 \cdot 10^{+24}:\\
\;\;\;\;b \cdot \left(t \cdot \left(z \cdot \left(-a\right)\right)\right)\\
\mathbf{elif}\;c \leq 1.75 \cdot 10^{+140}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -9.99999999999999925e125 or 1.74999999999999995e140 < c Initial program 20.6%
Taylor expanded in x around inf 45.3%
Taylor expanded in y0 around inf 49.8%
*-commutative49.8%
*-commutative49.8%
Simplified49.8%
Taylor expanded in y2 around inf 46.1%
*-commutative46.1%
Simplified46.1%
if -9.99999999999999925e125 < c < -1.42e-6Initial program 12.1%
Taylor expanded in b around inf 48.5%
Taylor expanded in y around inf 56.6%
associate-*r*52.6%
+-commutative52.6%
mul-1-neg52.6%
unsub-neg52.6%
*-commutative52.6%
Simplified52.6%
Taylor expanded in a around inf 41.3%
associate-*r*45.1%
*-commutative45.1%
Simplified45.1%
if -1.42e-6 < c < 3.80000000000000026e-235Initial program 50.0%
Taylor expanded in x around inf 43.2%
Taylor expanded in y0 around inf 32.0%
*-commutative32.0%
*-commutative32.0%
Simplified32.0%
Taylor expanded in y2 around 0 30.3%
mul-1-neg30.3%
*-commutative30.3%
Simplified30.3%
if 3.80000000000000026e-235 < c < 2.4e-179Initial program 14.3%
Taylor expanded in b around inf 71.5%
Taylor expanded in a around inf 71.5%
Taylor expanded in x around 0 71.8%
associate-*r*71.8%
neg-mul-171.8%
Simplified71.8%
if 2.4e-179 < c < 5.0000000000000004e-19Initial program 33.3%
Taylor expanded in x around inf 34.3%
Taylor expanded in y around 0 34.7%
*-commutative34.7%
*-commutative34.7%
Simplified34.7%
Taylor expanded in i around inf 24.8%
if 5.0000000000000004e-19 < c < 4.5999999999999998e24Initial program 18.8%
Taylor expanded in b around inf 63.7%
Taylor expanded in t around -inf 51.3%
mul-1-neg51.3%
distribute-rgt-neg-in51.3%
+-commutative51.3%
mul-1-neg51.3%
unsub-neg51.3%
Simplified51.3%
Taylor expanded in a around inf 51.2%
if 4.5999999999999998e24 < c < 1.74999999999999995e140Initial program 23.7%
Taylor expanded in b around inf 33.0%
Taylor expanded in y around inf 42.6%
associate-*r*34.0%
+-commutative34.0%
mul-1-neg34.0%
unsub-neg34.0%
*-commutative34.0%
Simplified34.0%
Taylor expanded in a around 0 39.1%
mul-1-neg39.1%
Simplified39.1%
Final simplification39.5%
(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 -4.8e+73)
t_1
(if (<= j 1.7e-242)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 4.1e-172)
(* a (* b (- (* x y) (* z t))))
(if (or (<= j 1.15e-45) (not (<= j 9.5e+67)))
t_1
(* k (* y2 (- (* y1 y4) (* y0 y5))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -4.8e+73) {
tmp = t_1;
} else if (j <= 1.7e-242) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 4.1e-172) {
tmp = a * (b * ((x * y) - (z * t)));
} else if ((j <= 1.15e-45) || !(j <= 9.5e+67)) {
tmp = t_1;
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (j <= (-4.8d+73)) then
tmp = t_1
else if (j <= 1.7d-242) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 4.1d-172) then
tmp = a * (b * ((x * y) - (z * t)))
else if ((j <= 1.15d-45) .or. (.not. (j <= 9.5d+67))) then
tmp = t_1
else
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -4.8e+73) {
tmp = t_1;
} else if (j <= 1.7e-242) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 4.1e-172) {
tmp = a * (b * ((x * y) - (z * t)));
} else if ((j <= 1.15e-45) || !(j <= 9.5e+67)) {
tmp = t_1;
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if j <= -4.8e+73: tmp = t_1 elif j <= 1.7e-242: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 4.1e-172: tmp = a * (b * ((x * y) - (z * t))) elif (j <= 1.15e-45) or not (j <= 9.5e+67): tmp = t_1 else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (j <= -4.8e+73) tmp = t_1; elseif (j <= 1.7e-242) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 4.1e-172) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif ((j <= 1.15e-45) || !(j <= 9.5e+67)) tmp = t_1; else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (j <= -4.8e+73) tmp = t_1; elseif (j <= 1.7e-242) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 4.1e-172) tmp = a * (b * ((x * y) - (z * t))); elseif ((j <= 1.15e-45) || ~((j <= 9.5e+67))) tmp = t_1; else tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -4.8e+73], t$95$1, If[LessEqual[j, 1.7e-242], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.1e-172], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[j, 1.15e-45], N[Not[LessEqual[j, 9.5e+67]], $MachinePrecision]], t$95$1, N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;j \leq -4.8 \cdot 10^{+73}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 1.7 \cdot 10^{-242}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 4.1 \cdot 10^{-172}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 1.15 \cdot 10^{-45} \lor \neg \left(j \leq 9.5 \cdot 10^{+67}\right):\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if j < -4.80000000000000004e73 or 4.1e-172 < j < 1.14999999999999996e-45 or 9.5000000000000002e67 < j Initial program 23.5%
Taylor expanded in b around inf 38.0%
Taylor expanded in j around inf 50.4%
if -4.80000000000000004e73 < j < 1.7e-242Initial program 35.6%
Taylor expanded in y0 around inf 37.0%
Taylor expanded in c around inf 32.4%
if 1.7e-242 < j < 4.1e-172Initial program 35.2%
Taylor expanded in b around inf 40.8%
Taylor expanded in a around inf 40.5%
if 1.14999999999999996e-45 < j < 9.5000000000000002e67Initial program 20.4%
Taylor expanded in y4 around inf 30.5%
*-commutative30.5%
*-commutative30.5%
Simplified30.5%
Taylor expanded in k around inf 36.9%
mul-1-neg36.9%
distribute-rgt-neg-in36.9%
associate-*r*36.9%
distribute-rgt-neg-in36.9%
*-commutative36.9%
Simplified36.9%
Taylor expanded in y2 around inf 41.4%
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 (* i (* j (* x y1)))) (t_2 (* c (* y4 (* y y3)))))
(if (<= y1 -1.6e+56)
t_1
(if (<= y1 -2.6e-60)
(* b (* j (* t y4)))
(if (<= y1 -2.9e-242)
(* x (* y2 (* c y0)))
(if (<= y1 1e-294)
t_2
(if (<= y1 1.25e-136)
(* x (* y0 (* c y2)))
(if (<= y1 2.15e+95) 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 * (j * (x * y1));
double t_2 = c * (y4 * (y * y3));
double tmp;
if (y1 <= -1.6e+56) {
tmp = t_1;
} else if (y1 <= -2.6e-60) {
tmp = b * (j * (t * y4));
} else if (y1 <= -2.9e-242) {
tmp = x * (y2 * (c * y0));
} else if (y1 <= 1e-294) {
tmp = t_2;
} else if (y1 <= 1.25e-136) {
tmp = x * (y0 * (c * y2));
} else if (y1 <= 2.15e+95) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = i * (j * (x * y1))
t_2 = c * (y4 * (y * y3))
if (y1 <= (-1.6d+56)) then
tmp = t_1
else if (y1 <= (-2.6d-60)) then
tmp = b * (j * (t * y4))
else if (y1 <= (-2.9d-242)) then
tmp = x * (y2 * (c * y0))
else if (y1 <= 1d-294) then
tmp = t_2
else if (y1 <= 1.25d-136) then
tmp = x * (y0 * (c * y2))
else if (y1 <= 2.15d+95) 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 * (j * (x * y1));
double t_2 = c * (y4 * (y * y3));
double tmp;
if (y1 <= -1.6e+56) {
tmp = t_1;
} else if (y1 <= -2.6e-60) {
tmp = b * (j * (t * y4));
} else if (y1 <= -2.9e-242) {
tmp = x * (y2 * (c * y0));
} else if (y1 <= 1e-294) {
tmp = t_2;
} else if (y1 <= 1.25e-136) {
tmp = x * (y0 * (c * y2));
} else if (y1 <= 2.15e+95) {
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 * (j * (x * y1)) t_2 = c * (y4 * (y * y3)) tmp = 0 if y1 <= -1.6e+56: tmp = t_1 elif y1 <= -2.6e-60: tmp = b * (j * (t * y4)) elif y1 <= -2.9e-242: tmp = x * (y2 * (c * y0)) elif y1 <= 1e-294: tmp = t_2 elif y1 <= 1.25e-136: tmp = x * (y0 * (c * y2)) elif y1 <= 2.15e+95: 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(j * Float64(x * y1))) t_2 = Float64(c * Float64(y4 * Float64(y * y3))) tmp = 0.0 if (y1 <= -1.6e+56) tmp = t_1; elseif (y1 <= -2.6e-60) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y1 <= -2.9e-242) tmp = Float64(x * Float64(y2 * Float64(c * y0))); elseif (y1 <= 1e-294) tmp = t_2; elseif (y1 <= 1.25e-136) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (y1 <= 2.15e+95) 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 * (j * (x * y1)); t_2 = c * (y4 * (y * y3)); tmp = 0.0; if (y1 <= -1.6e+56) tmp = t_1; elseif (y1 <= -2.6e-60) tmp = b * (j * (t * y4)); elseif (y1 <= -2.9e-242) tmp = x * (y2 * (c * y0)); elseif (y1 <= 1e-294) tmp = t_2; elseif (y1 <= 1.25e-136) tmp = x * (y0 * (c * y2)); elseif (y1 <= 2.15e+95) 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[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.6e+56], t$95$1, If[LessEqual[y1, -2.6e-60], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.9e-242], N[(x * N[(y2 * N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1e-294], t$95$2, If[LessEqual[y1, 1.25e-136], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.15e+95], t$95$2, t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
t_2 := c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{if}\;y1 \leq -1.6 \cdot 10^{+56}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -2.6 \cdot 10^{-60}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -2.9 \cdot 10^{-242}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 10^{-294}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y1 \leq 1.25 \cdot 10^{-136}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 2.15 \cdot 10^{+95}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y1 < -1.60000000000000002e56 or 2.15e95 < y1 Initial program 21.9%
Taylor expanded in x around inf 45.4%
Taylor expanded in y around 0 42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in i around inf 36.7%
if -1.60000000000000002e56 < y1 < -2.5999999999999998e-60Initial program 28.1%
Taylor expanded in b around inf 32.5%
Taylor expanded in t around -inf 38.7%
mul-1-neg38.7%
distribute-rgt-neg-in38.7%
+-commutative38.7%
mul-1-neg38.7%
unsub-neg38.7%
Simplified38.7%
Taylor expanded in a around 0 42.0%
if -2.5999999999999998e-60 < y1 < -2.9000000000000001e-242Initial program 44.8%
Taylor expanded in x around inf 43.2%
Taylor expanded in j around 0 33.1%
Taylor expanded in y0 around inf 29.2%
associate-*r*31.7%
*-commutative31.7%
Simplified31.7%
if -2.9000000000000001e-242 < y1 < 1.00000000000000002e-294 or 1.25e-136 < y1 < 2.15e95Initial program 28.3%
Taylor expanded in y4 around inf 37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y around inf 40.8%
associate-*r*37.9%
distribute-lft-out--37.9%
Simplified37.9%
Taylor expanded in b around 0 29.7%
associate-*r*32.3%
*-commutative32.3%
Simplified32.3%
if 1.00000000000000002e-294 < y1 < 1.25e-136Initial program 30.8%
Taylor expanded in x around inf 42.7%
Taylor expanded in y0 around inf 47.3%
*-commutative47.3%
*-commutative47.3%
Simplified47.3%
Taylor expanded in y2 around inf 47.2%
*-commutative47.2%
Simplified47.2%
Final simplification36.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y4 (* y y3)))))
(if (<= y1 -33000000000000.0)
(* (* x y) (* a b))
(if (<= y1 -2.36e-60)
(* b (* j (* t y4)))
(if (<= y1 -2.25e-249)
(* x (* y2 (* c y0)))
(if (<= y1 5.2e-293)
t_1
(if (<= y1 7.2e-135)
(* x (* y0 (* c y2)))
(if (<= y1 1.7e+97) t_1 (* i (* j (* x y1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y4 * (y * y3));
double tmp;
if (y1 <= -33000000000000.0) {
tmp = (x * y) * (a * b);
} else if (y1 <= -2.36e-60) {
tmp = b * (j * (t * y4));
} else if (y1 <= -2.25e-249) {
tmp = x * (y2 * (c * y0));
} else if (y1 <= 5.2e-293) {
tmp = t_1;
} else if (y1 <= 7.2e-135) {
tmp = x * (y0 * (c * y2));
} else if (y1 <= 1.7e+97) {
tmp = t_1;
} else {
tmp = i * (j * (x * y1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (y4 * (y * y3))
if (y1 <= (-33000000000000.0d0)) then
tmp = (x * y) * (a * b)
else if (y1 <= (-2.36d-60)) then
tmp = b * (j * (t * y4))
else if (y1 <= (-2.25d-249)) then
tmp = x * (y2 * (c * y0))
else if (y1 <= 5.2d-293) then
tmp = t_1
else if (y1 <= 7.2d-135) then
tmp = x * (y0 * (c * y2))
else if (y1 <= 1.7d+97) then
tmp = t_1
else
tmp = i * (j * (x * y1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y4 * (y * y3));
double tmp;
if (y1 <= -33000000000000.0) {
tmp = (x * y) * (a * b);
} else if (y1 <= -2.36e-60) {
tmp = b * (j * (t * y4));
} else if (y1 <= -2.25e-249) {
tmp = x * (y2 * (c * y0));
} else if (y1 <= 5.2e-293) {
tmp = t_1;
} else if (y1 <= 7.2e-135) {
tmp = x * (y0 * (c * y2));
} else if (y1 <= 1.7e+97) {
tmp = t_1;
} else {
tmp = i * (j * (x * y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y4 * (y * y3)) tmp = 0 if y1 <= -33000000000000.0: tmp = (x * y) * (a * b) elif y1 <= -2.36e-60: tmp = b * (j * (t * y4)) elif y1 <= -2.25e-249: tmp = x * (y2 * (c * y0)) elif y1 <= 5.2e-293: tmp = t_1 elif y1 <= 7.2e-135: tmp = x * (y0 * (c * y2)) elif y1 <= 1.7e+97: tmp = t_1 else: tmp = i * (j * (x * y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y4 * Float64(y * y3))) tmp = 0.0 if (y1 <= -33000000000000.0) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (y1 <= -2.36e-60) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y1 <= -2.25e-249) tmp = Float64(x * Float64(y2 * Float64(c * y0))); elseif (y1 <= 5.2e-293) tmp = t_1; elseif (y1 <= 7.2e-135) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (y1 <= 1.7e+97) tmp = t_1; else tmp = Float64(i * Float64(j * Float64(x * y1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y4 * (y * y3)); tmp = 0.0; if (y1 <= -33000000000000.0) tmp = (x * y) * (a * b); elseif (y1 <= -2.36e-60) tmp = b * (j * (t * y4)); elseif (y1 <= -2.25e-249) tmp = x * (y2 * (c * y0)); elseif (y1 <= 5.2e-293) tmp = t_1; elseif (y1 <= 7.2e-135) tmp = x * (y0 * (c * y2)); elseif (y1 <= 1.7e+97) tmp = t_1; else tmp = i * (j * (x * y1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -33000000000000.0], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.36e-60], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.25e-249], N[(x * N[(y2 * N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.2e-293], t$95$1, If[LessEqual[y1, 7.2e-135], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.7e+97], t$95$1, N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{if}\;y1 \leq -33000000000000:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;y1 \leq -2.36 \cdot 10^{-60}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -2.25 \cdot 10^{-249}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 5.2 \cdot 10^{-293}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq 7.2 \cdot 10^{-135}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 1.7 \cdot 10^{+97}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\end{array}
\end{array}
if y1 < -3.3e13Initial program 31.3%
Taylor expanded in b around inf 25.9%
Taylor expanded in y around inf 36.6%
associate-*r*34.6%
+-commutative34.6%
mul-1-neg34.6%
unsub-neg34.6%
*-commutative34.6%
Simplified34.6%
Taylor expanded in a around inf 30.4%
associate-*r*34.3%
*-commutative34.3%
Simplified34.3%
if -3.3e13 < y1 < -2.35999999999999989e-60Initial program 31.8%
Taylor expanded in b around inf 33.0%
Taylor expanded in t around -inf 42.5%
mul-1-neg42.5%
distribute-rgt-neg-in42.5%
+-commutative42.5%
mul-1-neg42.5%
unsub-neg42.5%
Simplified42.5%
Taylor expanded in a around 0 46.6%
if -2.35999999999999989e-60 < y1 < -2.2499999999999999e-249Initial program 44.8%
Taylor expanded in x around inf 43.2%
Taylor expanded in j around 0 33.1%
Taylor expanded in y0 around inf 29.2%
associate-*r*31.7%
*-commutative31.7%
Simplified31.7%
if -2.2499999999999999e-249 < y1 < 5.1999999999999996e-293 or 7.19999999999999955e-135 < y1 < 1.70000000000000005e97Initial program 28.3%
Taylor expanded in y4 around inf 37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y around inf 40.8%
associate-*r*37.9%
distribute-lft-out--37.9%
Simplified37.9%
Taylor expanded in b around 0 29.7%
associate-*r*32.3%
*-commutative32.3%
Simplified32.3%
if 5.1999999999999996e-293 < y1 < 7.19999999999999955e-135Initial program 30.8%
Taylor expanded in x around inf 42.7%
Taylor expanded in y0 around inf 47.3%
*-commutative47.3%
*-commutative47.3%
Simplified47.3%
Taylor expanded in y2 around inf 47.2%
*-commutative47.2%
Simplified47.2%
if 1.70000000000000005e97 < y1 Initial program 12.3%
Taylor expanded in x around inf 47.5%
Taylor expanded in y around 0 45.5%
*-commutative45.5%
*-commutative45.5%
Simplified45.5%
Taylor expanded in i around inf 40.1%
Final simplification36.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (* t y4))))
(t_2 (* a (* (* x y) b)))
(t_3 (* c (* x (* y0 y2)))))
(if (<= y4 -6e+113)
t_1
(if (<= y4 -1.42e-18)
t_3
(if (<= y4 -1.95e-196)
t_2
(if (<= y4 2.5e-300) t_3 (if (<= y4 1.6e+113) 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 = b * (j * (t * y4));
double t_2 = a * ((x * y) * b);
double t_3 = c * (x * (y0 * y2));
double tmp;
if (y4 <= -6e+113) {
tmp = t_1;
} else if (y4 <= -1.42e-18) {
tmp = t_3;
} else if (y4 <= -1.95e-196) {
tmp = t_2;
} else if (y4 <= 2.5e-300) {
tmp = t_3;
} else if (y4 <= 1.6e+113) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = b * (j * (t * y4))
t_2 = a * ((x * y) * b)
t_3 = c * (x * (y0 * y2))
if (y4 <= (-6d+113)) then
tmp = t_1
else if (y4 <= (-1.42d-18)) then
tmp = t_3
else if (y4 <= (-1.95d-196)) then
tmp = t_2
else if (y4 <= 2.5d-300) then
tmp = t_3
else if (y4 <= 1.6d+113) 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 = b * (j * (t * y4));
double t_2 = a * ((x * y) * b);
double t_3 = c * (x * (y0 * y2));
double tmp;
if (y4 <= -6e+113) {
tmp = t_1;
} else if (y4 <= -1.42e-18) {
tmp = t_3;
} else if (y4 <= -1.95e-196) {
tmp = t_2;
} else if (y4 <= 2.5e-300) {
tmp = t_3;
} else if (y4 <= 1.6e+113) {
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 = b * (j * (t * y4)) t_2 = a * ((x * y) * b) t_3 = c * (x * (y0 * y2)) tmp = 0 if y4 <= -6e+113: tmp = t_1 elif y4 <= -1.42e-18: tmp = t_3 elif y4 <= -1.95e-196: tmp = t_2 elif y4 <= 2.5e-300: tmp = t_3 elif y4 <= 1.6e+113: 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(b * Float64(j * Float64(t * y4))) t_2 = Float64(a * Float64(Float64(x * y) * b)) t_3 = Float64(c * Float64(x * Float64(y0 * y2))) tmp = 0.0 if (y4 <= -6e+113) tmp = t_1; elseif (y4 <= -1.42e-18) tmp = t_3; elseif (y4 <= -1.95e-196) tmp = t_2; elseif (y4 <= 2.5e-300) tmp = t_3; elseif (y4 <= 1.6e+113) 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 = b * (j * (t * y4)); t_2 = a * ((x * y) * b); t_3 = c * (x * (y0 * y2)); tmp = 0.0; if (y4 <= -6e+113) tmp = t_1; elseif (y4 <= -1.42e-18) tmp = t_3; elseif (y4 <= -1.95e-196) tmp = t_2; elseif (y4 <= 2.5e-300) tmp = t_3; elseif (y4 <= 1.6e+113) 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[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -6e+113], t$95$1, If[LessEqual[y4, -1.42e-18], t$95$3, If[LessEqual[y4, -1.95e-196], t$95$2, If[LessEqual[y4, 2.5e-300], t$95$3, If[LessEqual[y4, 1.6e+113], t$95$2, t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
t_2 := a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
t_3 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y4 \leq -6 \cdot 10^{+113}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y4 \leq -1.42 \cdot 10^{-18}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y4 \leq -1.95 \cdot 10^{-196}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y4 \leq 2.5 \cdot 10^{-300}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y4 \leq 1.6 \cdot 10^{+113}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y4 < -6e113 or 1.5999999999999999e113 < y4 Initial program 21.9%
Taylor expanded in b around inf 33.9%
Taylor expanded in t around -inf 42.2%
mul-1-neg42.2%
distribute-rgt-neg-in42.2%
+-commutative42.2%
mul-1-neg42.2%
unsub-neg42.2%
Simplified42.2%
Taylor expanded in a around 0 39.4%
if -6e113 < y4 < -1.41999999999999996e-18 or -1.95000000000000008e-196 < y4 < 2.49999999999999998e-300Initial program 22.2%
Taylor expanded in x around inf 47.9%
Taylor expanded in j around 0 44.5%
Taylor expanded in y0 around inf 32.4%
*-commutative32.4%
Simplified32.4%
if -1.41999999999999996e-18 < y4 < -1.95000000000000008e-196 or 2.49999999999999998e-300 < y4 < 1.5999999999999999e113Initial program 36.3%
Taylor expanded in x around inf 45.7%
Taylor expanded in j around 0 44.2%
Taylor expanded in b around inf 30.1%
Final simplification33.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* (* x y) b))) (t_2 (* c (* x (* y0 y2)))))
(if (<= y4 -1.35e+80)
(* c (* y (* y3 y4)))
(if (<= y4 -2.6e-17)
t_2
(if (<= y4 -6.4e-199)
t_1
(if (<= y4 1.5e-301)
t_2
(if (<= y4 1.85e+113) t_1 (* b (* j (* t y4))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double t_2 = c * (x * (y0 * y2));
double tmp;
if (y4 <= -1.35e+80) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -2.6e-17) {
tmp = t_2;
} else if (y4 <= -6.4e-199) {
tmp = t_1;
} else if (y4 <= 1.5e-301) {
tmp = t_2;
} else if (y4 <= 1.85e+113) {
tmp = t_1;
} else {
tmp = b * (j * (t * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * ((x * y) * b)
t_2 = c * (x * (y0 * y2))
if (y4 <= (-1.35d+80)) then
tmp = c * (y * (y3 * y4))
else if (y4 <= (-2.6d-17)) then
tmp = t_2
else if (y4 <= (-6.4d-199)) then
tmp = t_1
else if (y4 <= 1.5d-301) then
tmp = t_2
else if (y4 <= 1.85d+113) then
tmp = t_1
else
tmp = b * (j * (t * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double t_2 = c * (x * (y0 * y2));
double tmp;
if (y4 <= -1.35e+80) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -2.6e-17) {
tmp = t_2;
} else if (y4 <= -6.4e-199) {
tmp = t_1;
} else if (y4 <= 1.5e-301) {
tmp = t_2;
} else if (y4 <= 1.85e+113) {
tmp = t_1;
} else {
tmp = b * (j * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((x * y) * b) t_2 = c * (x * (y0 * y2)) tmp = 0 if y4 <= -1.35e+80: tmp = c * (y * (y3 * y4)) elif y4 <= -2.6e-17: tmp = t_2 elif y4 <= -6.4e-199: tmp = t_1 elif y4 <= 1.5e-301: tmp = t_2 elif y4 <= 1.85e+113: tmp = t_1 else: tmp = b * (j * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(x * y) * b)) t_2 = Float64(c * Float64(x * Float64(y0 * y2))) tmp = 0.0 if (y4 <= -1.35e+80) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (y4 <= -2.6e-17) tmp = t_2; elseif (y4 <= -6.4e-199) tmp = t_1; elseif (y4 <= 1.5e-301) tmp = t_2; elseif (y4 <= 1.85e+113) tmp = t_1; else tmp = Float64(b * Float64(j * Float64(t * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((x * y) * b); t_2 = c * (x * (y0 * y2)); tmp = 0.0; if (y4 <= -1.35e+80) tmp = c * (y * (y3 * y4)); elseif (y4 <= -2.6e-17) tmp = t_2; elseif (y4 <= -6.4e-199) tmp = t_1; elseif (y4 <= 1.5e-301) tmp = t_2; elseif (y4 <= 1.85e+113) tmp = t_1; else tmp = b * (j * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.35e+80], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.6e-17], t$95$2, If[LessEqual[y4, -6.4e-199], t$95$1, If[LessEqual[y4, 1.5e-301], t$95$2, If[LessEqual[y4, 1.85e+113], t$95$1, N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
t_2 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y4 \leq -1.35 \cdot 10^{+80}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -2.6 \cdot 10^{-17}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y4 \leq -6.4 \cdot 10^{-199}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y4 \leq 1.5 \cdot 10^{-301}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y4 \leq 1.85 \cdot 10^{+113}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if y4 < -1.34999999999999991e80Initial program 28.9%
Taylor expanded in y4 around inf 34.7%
*-commutative34.7%
*-commutative34.7%
Simplified34.7%
Taylor expanded in y around inf 50.9%
associate-*r*38.3%
distribute-lft-out--38.3%
Simplified38.3%
Taylor expanded in b around 0 40.6%
*-commutative40.6%
Simplified40.6%
if -1.34999999999999991e80 < y4 < -2.60000000000000003e-17 or -6.3999999999999999e-199 < y4 < 1.5e-301Initial program 22.2%
Taylor expanded in x around inf 54.3%
Taylor expanded in j around 0 46.3%
Taylor expanded in y0 around inf 35.7%
*-commutative35.7%
Simplified35.7%
if -2.60000000000000003e-17 < y4 < -6.3999999999999999e-199 or 1.5e-301 < y4 < 1.8499999999999999e113Initial program 36.5%
Taylor expanded in x around inf 45.0%
Taylor expanded in j around 0 44.3%
Taylor expanded in b around inf 29.7%
if 1.8499999999999999e113 < y4 Initial program 14.2%
Taylor expanded in b around inf 34.4%
Taylor expanded in t around -inf 43.8%
mul-1-neg43.8%
distribute-rgt-neg-in43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
Simplified43.8%
Taylor expanded in a around 0 41.6%
Final simplification34.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* (* x y) b))))
(if (<= y4 -1.48e+81)
(* c (* y (* y3 y4)))
(if (<= y4 -6.6e-18)
(* c (* x (* y0 y2)))
(if (<= y4 -9e-197)
t_1
(if (<= y4 4.5e-301)
(* c (* y2 (* x y0)))
(if (<= y4 1.45e+113) t_1 (* b (* j (* t y4))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (y4 <= -1.48e+81) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -6.6e-18) {
tmp = c * (x * (y0 * y2));
} else if (y4 <= -9e-197) {
tmp = t_1;
} else if (y4 <= 4.5e-301) {
tmp = c * (y2 * (x * y0));
} else if (y4 <= 1.45e+113) {
tmp = t_1;
} else {
tmp = b * (j * (t * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * ((x * y) * b)
if (y4 <= (-1.48d+81)) then
tmp = c * (y * (y3 * y4))
else if (y4 <= (-6.6d-18)) then
tmp = c * (x * (y0 * y2))
else if (y4 <= (-9d-197)) then
tmp = t_1
else if (y4 <= 4.5d-301) then
tmp = c * (y2 * (x * y0))
else if (y4 <= 1.45d+113) then
tmp = t_1
else
tmp = b * (j * (t * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (y4 <= -1.48e+81) {
tmp = c * (y * (y3 * y4));
} else if (y4 <= -6.6e-18) {
tmp = c * (x * (y0 * y2));
} else if (y4 <= -9e-197) {
tmp = t_1;
} else if (y4 <= 4.5e-301) {
tmp = c * (y2 * (x * y0));
} else if (y4 <= 1.45e+113) {
tmp = t_1;
} else {
tmp = b * (j * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((x * y) * b) tmp = 0 if y4 <= -1.48e+81: tmp = c * (y * (y3 * y4)) elif y4 <= -6.6e-18: tmp = c * (x * (y0 * y2)) elif y4 <= -9e-197: tmp = t_1 elif y4 <= 4.5e-301: tmp = c * (y2 * (x * y0)) elif y4 <= 1.45e+113: tmp = t_1 else: tmp = b * (j * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(x * y) * b)) tmp = 0.0 if (y4 <= -1.48e+81) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (y4 <= -6.6e-18) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y4 <= -9e-197) tmp = t_1; elseif (y4 <= 4.5e-301) tmp = Float64(c * Float64(y2 * Float64(x * y0))); elseif (y4 <= 1.45e+113) tmp = t_1; else tmp = Float64(b * Float64(j * Float64(t * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((x * y) * b); tmp = 0.0; if (y4 <= -1.48e+81) tmp = c * (y * (y3 * y4)); elseif (y4 <= -6.6e-18) tmp = c * (x * (y0 * y2)); elseif (y4 <= -9e-197) tmp = t_1; elseif (y4 <= 4.5e-301) tmp = c * (y2 * (x * y0)); elseif (y4 <= 1.45e+113) tmp = t_1; else tmp = b * (j * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.48e+81], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -6.6e-18], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -9e-197], t$95$1, If[LessEqual[y4, 4.5e-301], N[(c * N[(y2 * N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.45e+113], t$95$1, N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{if}\;y4 \leq -1.48 \cdot 10^{+81}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -6.6 \cdot 10^{-18}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -9 \cdot 10^{-197}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y4 \leq 4.5 \cdot 10^{-301}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 1.45 \cdot 10^{+113}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if y4 < -1.47999999999999998e81Initial program 28.9%
Taylor expanded in y4 around inf 34.7%
*-commutative34.7%
*-commutative34.7%
Simplified34.7%
Taylor expanded in y around inf 50.9%
associate-*r*38.3%
distribute-lft-out--38.3%
Simplified38.3%
Taylor expanded in b around 0 40.6%
*-commutative40.6%
Simplified40.6%
if -1.47999999999999998e81 < y4 < -6.6000000000000003e-18Initial program 18.8%
Taylor expanded in x around inf 69.2%
Taylor expanded in j around 0 75.5%
Taylor expanded in y0 around inf 63.8%
*-commutative63.8%
Simplified63.8%
if -6.6000000000000003e-18 < y4 < -9.0000000000000002e-197 or 4.5000000000000002e-301 < y4 < 1.44999999999999992e113Initial program 36.5%
Taylor expanded in x around inf 45.0%
Taylor expanded in j around 0 44.3%
Taylor expanded in b around inf 29.7%
if -9.0000000000000002e-197 < y4 < 4.5000000000000002e-301Initial program 23.8%
Taylor expanded in x around inf 47.3%
Taylor expanded in y around 0 45.1%
*-commutative45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in c around inf 22.5%
associate-*r*22.6%
Simplified22.6%
if 1.44999999999999992e113 < y4 Initial program 14.2%
Taylor expanded in b around inf 34.4%
Taylor expanded in t around -inf 43.8%
mul-1-neg43.8%
distribute-rgt-neg-in43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
Simplified43.8%
Taylor expanded in a around 0 41.6%
Final simplification34.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* j (* x y1)))) (t_2 (* c (* y4 (* y y3)))))
(if (<= y1 -9.6e+51)
t_1
(if (<= y1 -1.3e-254)
(* b (* j (* t y4)))
(if (<= y1 7e-235)
t_2
(if (<= y1 3e-136)
(* c (* x (* y0 y2)))
(if (<= y1 3.3e+95) 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 * (j * (x * y1));
double t_2 = c * (y4 * (y * y3));
double tmp;
if (y1 <= -9.6e+51) {
tmp = t_1;
} else if (y1 <= -1.3e-254) {
tmp = b * (j * (t * y4));
} else if (y1 <= 7e-235) {
tmp = t_2;
} else if (y1 <= 3e-136) {
tmp = c * (x * (y0 * y2));
} else if (y1 <= 3.3e+95) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = i * (j * (x * y1))
t_2 = c * (y4 * (y * y3))
if (y1 <= (-9.6d+51)) then
tmp = t_1
else if (y1 <= (-1.3d-254)) then
tmp = b * (j * (t * y4))
else if (y1 <= 7d-235) then
tmp = t_2
else if (y1 <= 3d-136) then
tmp = c * (x * (y0 * y2))
else if (y1 <= 3.3d+95) 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 * (j * (x * y1));
double t_2 = c * (y4 * (y * y3));
double tmp;
if (y1 <= -9.6e+51) {
tmp = t_1;
} else if (y1 <= -1.3e-254) {
tmp = b * (j * (t * y4));
} else if (y1 <= 7e-235) {
tmp = t_2;
} else if (y1 <= 3e-136) {
tmp = c * (x * (y0 * y2));
} else if (y1 <= 3.3e+95) {
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 * (j * (x * y1)) t_2 = c * (y4 * (y * y3)) tmp = 0 if y1 <= -9.6e+51: tmp = t_1 elif y1 <= -1.3e-254: tmp = b * (j * (t * y4)) elif y1 <= 7e-235: tmp = t_2 elif y1 <= 3e-136: tmp = c * (x * (y0 * y2)) elif y1 <= 3.3e+95: 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(j * Float64(x * y1))) t_2 = Float64(c * Float64(y4 * Float64(y * y3))) tmp = 0.0 if (y1 <= -9.6e+51) tmp = t_1; elseif (y1 <= -1.3e-254) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y1 <= 7e-235) tmp = t_2; elseif (y1 <= 3e-136) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y1 <= 3.3e+95) 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 * (j * (x * y1)); t_2 = c * (y4 * (y * y3)); tmp = 0.0; if (y1 <= -9.6e+51) tmp = t_1; elseif (y1 <= -1.3e-254) tmp = b * (j * (t * y4)); elseif (y1 <= 7e-235) tmp = t_2; elseif (y1 <= 3e-136) tmp = c * (x * (y0 * y2)); elseif (y1 <= 3.3e+95) 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[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -9.6e+51], t$95$1, If[LessEqual[y1, -1.3e-254], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 7e-235], t$95$2, If[LessEqual[y1, 3e-136], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.3e+95], t$95$2, t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
t_2 := c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{if}\;y1 \leq -9.6 \cdot 10^{+51}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -1.3 \cdot 10^{-254}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 7 \cdot 10^{-235}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y1 \leq 3 \cdot 10^{-136}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 3.3 \cdot 10^{+95}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y1 < -9.5999999999999994e51 or 3.2999999999999998e95 < y1 Initial program 21.9%
Taylor expanded in x around inf 45.4%
Taylor expanded in y around 0 42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in i around inf 36.7%
if -9.5999999999999994e51 < y1 < -1.3e-254Initial program 37.4%
Taylor expanded in b around inf 37.0%
Taylor expanded in t around -inf 33.3%
mul-1-neg33.3%
distribute-rgt-neg-in33.3%
+-commutative33.3%
mul-1-neg33.3%
unsub-neg33.3%
Simplified33.3%
Taylor expanded in a around 0 30.7%
if -1.3e-254 < y1 < 6.9999999999999997e-235 or 2.9999999999999998e-136 < y1 < 3.2999999999999998e95Initial program 28.5%
Taylor expanded in y4 around inf 35.5%
*-commutative35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in y around inf 40.8%
associate-*r*37.1%
distribute-lft-out--37.1%
Simplified37.1%
Taylor expanded in b around 0 29.8%
associate-*r*32.2%
*-commutative32.2%
Simplified32.2%
if 6.9999999999999997e-235 < y1 < 2.9999999999999998e-136Initial program 31.3%
Taylor expanded in x around inf 44.2%
Taylor expanded in j around 0 63.0%
Taylor expanded in y0 around inf 57.2%
*-commutative57.2%
Simplified57.2%
Final simplification34.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= j -2.16e+74)
t_1
(if (<= j 2.5e-251)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 2.8e-172) (* a (* b (- (* x y) (* z t)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -2.16e+74) {
tmp = t_1;
} else if (j <= 2.5e-251) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 2.8e-172) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (j <= (-2.16d+74)) then
tmp = t_1
else if (j <= 2.5d-251) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 2.8d-172) then
tmp = a * (b * ((x * y) - (z * t)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -2.16e+74) {
tmp = t_1;
} else if (j <= 2.5e-251) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 2.8e-172) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if j <= -2.16e+74: tmp = t_1 elif j <= 2.5e-251: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 2.8e-172: tmp = a * (b * ((x * y) - (z * t))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (j <= -2.16e+74) tmp = t_1; elseif (j <= 2.5e-251) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 2.8e-172) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (j <= -2.16e+74) tmp = t_1; elseif (j <= 2.5e-251) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 2.8e-172) tmp = a * (b * ((x * y) - (z * t))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.16e+74], t$95$1, If[LessEqual[j, 2.5e-251], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.8e-172], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;j \leq -2.16 \cdot 10^{+74}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 2.5 \cdot 10^{-251}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 2.8 \cdot 10^{-172}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if j < -2.1599999999999999e74 or 2.80000000000000011e-172 < j Initial program 23.0%
Taylor expanded in b around inf 37.0%
Taylor expanded in j around inf 46.1%
if -2.1599999999999999e74 < j < 2.5000000000000001e-251Initial program 35.6%
Taylor expanded in y0 around inf 37.0%
Taylor expanded in c around inf 32.4%
if 2.5000000000000001e-251 < j < 2.80000000000000011e-172Initial program 35.2%
Taylor expanded in b around inf 40.8%
Taylor expanded in a around inf 40.5%
Final simplification40.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* j (* x y1)))))
(if (<= y1 -6e+55)
t_1
(if (<= y1 -2.6e-60)
(* b (* j (* t y4)))
(if (<= y1 1.7e-136)
(* x (* y0 (* c y2)))
(if (<= y1 6e+96) (* c (* y4 (* y y3))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (j * (x * y1));
double tmp;
if (y1 <= -6e+55) {
tmp = t_1;
} else if (y1 <= -2.6e-60) {
tmp = b * (j * (t * y4));
} else if (y1 <= 1.7e-136) {
tmp = x * (y0 * (c * y2));
} else if (y1 <= 6e+96) {
tmp = c * (y4 * (y * y3));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (j * (x * y1))
if (y1 <= (-6d+55)) then
tmp = t_1
else if (y1 <= (-2.6d-60)) then
tmp = b * (j * (t * y4))
else if (y1 <= 1.7d-136) then
tmp = x * (y0 * (c * y2))
else if (y1 <= 6d+96) then
tmp = c * (y4 * (y * y3))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (j * (x * y1));
double tmp;
if (y1 <= -6e+55) {
tmp = t_1;
} else if (y1 <= -2.6e-60) {
tmp = b * (j * (t * y4));
} else if (y1 <= 1.7e-136) {
tmp = x * (y0 * (c * y2));
} else if (y1 <= 6e+96) {
tmp = c * (y4 * (y * y3));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (j * (x * y1)) tmp = 0 if y1 <= -6e+55: tmp = t_1 elif y1 <= -2.6e-60: tmp = b * (j * (t * y4)) elif y1 <= 1.7e-136: tmp = x * (y0 * (c * y2)) elif y1 <= 6e+96: tmp = c * (y4 * (y * y3)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(j * Float64(x * y1))) tmp = 0.0 if (y1 <= -6e+55) tmp = t_1; elseif (y1 <= -2.6e-60) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y1 <= 1.7e-136) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (y1 <= 6e+96) tmp = Float64(c * Float64(y4 * Float64(y * y3))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (j * (x * y1)); tmp = 0.0; if (y1 <= -6e+55) tmp = t_1; elseif (y1 <= -2.6e-60) tmp = b * (j * (t * y4)); elseif (y1 <= 1.7e-136) tmp = x * (y0 * (c * y2)); elseif (y1 <= 6e+96) tmp = c * (y4 * (y * y3)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -6e+55], t$95$1, If[LessEqual[y1, -2.6e-60], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.7e-136], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6e+96], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{if}\;y1 \leq -6 \cdot 10^{+55}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -2.6 \cdot 10^{-60}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 1.7 \cdot 10^{-136}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 6 \cdot 10^{+96}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y1 < -6.00000000000000033e55 or 6.0000000000000001e96 < y1 Initial program 21.9%
Taylor expanded in x around inf 45.4%
Taylor expanded in y around 0 42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in i around inf 36.7%
if -6.00000000000000033e55 < y1 < -2.5999999999999998e-60Initial program 28.1%
Taylor expanded in b around inf 32.5%
Taylor expanded in t around -inf 38.7%
mul-1-neg38.7%
distribute-rgt-neg-in38.7%
+-commutative38.7%
mul-1-neg38.7%
unsub-neg38.7%
Simplified38.7%
Taylor expanded in a around 0 42.0%
if -2.5999999999999998e-60 < y1 < 1.7e-136Initial program 36.4%
Taylor expanded in x around inf 42.8%
Taylor expanded in y0 around inf 44.4%
*-commutative44.4%
*-commutative44.4%
Simplified44.4%
Taylor expanded in y2 around inf 32.0%
*-commutative32.0%
Simplified32.0%
if 1.7e-136 < y1 < 6.0000000000000001e96Initial program 28.7%
Taylor expanded in y4 around inf 35.6%
*-commutative35.6%
*-commutative35.6%
Simplified35.6%
Taylor expanded in y around inf 46.2%
associate-*r*41.9%
distribute-lft-out--41.9%
Simplified41.9%
Taylor expanded in b around 0 26.2%
associate-*r*30.1%
*-commutative30.1%
Simplified30.1%
Final simplification34.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -1.7e+27)
(* a (* (* z t) (- b)))
(if (<= z -1.6e-129)
(* b (* k (* y (- y4))))
(if (<= z 7e-219)
(* x (* y0 (* c y2)))
(if (<= z 5.5e-73) (* x (* i (* j y1))) (* 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 (z <= -1.7e+27) {
tmp = a * ((z * t) * -b);
} else if (z <= -1.6e-129) {
tmp = b * (k * (y * -y4));
} else if (z <= 7e-219) {
tmp = x * (y0 * (c * y2));
} else if (z <= 5.5e-73) {
tmp = x * (i * (j * y1));
} 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 (z <= (-1.7d+27)) then
tmp = a * ((z * t) * -b)
else if (z <= (-1.6d-129)) then
tmp = b * (k * (y * -y4))
else if (z <= 7d-219) then
tmp = x * (y0 * (c * y2))
else if (z <= 5.5d-73) then
tmp = x * (i * (j * y1))
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 (z <= -1.7e+27) {
tmp = a * ((z * t) * -b);
} else if (z <= -1.6e-129) {
tmp = b * (k * (y * -y4));
} else if (z <= 7e-219) {
tmp = x * (y0 * (c * y2));
} else if (z <= 5.5e-73) {
tmp = x * (i * (j * y1));
} 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 z <= -1.7e+27: tmp = a * ((z * t) * -b) elif z <= -1.6e-129: tmp = b * (k * (y * -y4)) elif z <= 7e-219: tmp = x * (y0 * (c * y2)) elif z <= 5.5e-73: tmp = x * (i * (j * y1)) 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 (z <= -1.7e+27) tmp = Float64(a * Float64(Float64(z * t) * Float64(-b))); elseif (z <= -1.6e-129) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); elseif (z <= 7e-219) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (z <= 5.5e-73) tmp = Float64(x * Float64(i * Float64(j * y1))); 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 (z <= -1.7e+27) tmp = a * ((z * t) * -b); elseif (z <= -1.6e-129) tmp = b * (k * (y * -y4)); elseif (z <= 7e-219) tmp = x * (y0 * (c * y2)); elseif (z <= 5.5e-73) tmp = x * (i * (j * y1)); 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[LessEqual[z, -1.7e+27], N[(a * N[(N[(z * t), $MachinePrecision] * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.6e-129], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7e-219], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.5e-73], N[(x * N[(i * N[(j * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.7 \cdot 10^{+27}:\\
\;\;\;\;a \cdot \left(\left(z \cdot t\right) \cdot \left(-b\right)\right)\\
\mathbf{elif}\;z \leq -1.6 \cdot 10^{-129}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;z \leq 7 \cdot 10^{-219}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 5.5 \cdot 10^{-73}:\\
\;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if z < -1.7e27Initial program 26.0%
Taylor expanded in b around inf 41.8%
Taylor expanded in a around inf 37.0%
Taylor expanded in x around 0 34.0%
associate-*r*34.0%
neg-mul-134.0%
Simplified34.0%
if -1.7e27 < z < -1.6000000000000001e-129Initial program 34.2%
Taylor expanded in b around inf 38.4%
Taylor expanded in y around inf 32.8%
associate-*r*32.8%
+-commutative32.8%
mul-1-neg32.8%
unsub-neg32.8%
*-commutative32.8%
Simplified32.8%
Taylor expanded in a around 0 32.8%
mul-1-neg32.8%
Simplified32.8%
if -1.6000000000000001e-129 < z < 7.00000000000000022e-219Initial program 34.1%
Taylor expanded in x around inf 52.5%
Taylor expanded in y0 around inf 41.4%
*-commutative41.4%
*-commutative41.4%
Simplified41.4%
Taylor expanded in y2 around inf 31.3%
*-commutative31.3%
Simplified31.3%
if 7.00000000000000022e-219 < z < 5.50000000000000006e-73Initial program 35.2%
Taylor expanded in x around inf 59.2%
Taylor expanded in y around 0 62.3%
*-commutative62.3%
*-commutative62.3%
Simplified62.3%
Taylor expanded in i around inf 39.5%
*-commutative39.5%
Simplified39.5%
if 5.50000000000000006e-73 < z Initial program 22.8%
Taylor expanded in x around inf 41.0%
Taylor expanded in j around 0 44.9%
Taylor expanded in b around inf 35.3%
Final simplification34.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -1.25e+22)
(* b (* t (* z (- a))))
(if (<= z -3e-128)
(* b (* k (* y (- y4))))
(if (<= z 5.5e-220)
(* x (* y0 (* c y2)))
(if (<= z 7.4e-73) (* x (* i (* j y1))) (* 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 (z <= -1.25e+22) {
tmp = b * (t * (z * -a));
} else if (z <= -3e-128) {
tmp = b * (k * (y * -y4));
} else if (z <= 5.5e-220) {
tmp = x * (y0 * (c * y2));
} else if (z <= 7.4e-73) {
tmp = x * (i * (j * y1));
} 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 (z <= (-1.25d+22)) then
tmp = b * (t * (z * -a))
else if (z <= (-3d-128)) then
tmp = b * (k * (y * -y4))
else if (z <= 5.5d-220) then
tmp = x * (y0 * (c * y2))
else if (z <= 7.4d-73) then
tmp = x * (i * (j * y1))
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 (z <= -1.25e+22) {
tmp = b * (t * (z * -a));
} else if (z <= -3e-128) {
tmp = b * (k * (y * -y4));
} else if (z <= 5.5e-220) {
tmp = x * (y0 * (c * y2));
} else if (z <= 7.4e-73) {
tmp = x * (i * (j * y1));
} 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 z <= -1.25e+22: tmp = b * (t * (z * -a)) elif z <= -3e-128: tmp = b * (k * (y * -y4)) elif z <= 5.5e-220: tmp = x * (y0 * (c * y2)) elif z <= 7.4e-73: tmp = x * (i * (j * y1)) 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 (z <= -1.25e+22) tmp = Float64(b * Float64(t * Float64(z * Float64(-a)))); elseif (z <= -3e-128) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); elseif (z <= 5.5e-220) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (z <= 7.4e-73) tmp = Float64(x * Float64(i * Float64(j * y1))); 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 (z <= -1.25e+22) tmp = b * (t * (z * -a)); elseif (z <= -3e-128) tmp = b * (k * (y * -y4)); elseif (z <= 5.5e-220) tmp = x * (y0 * (c * y2)); elseif (z <= 7.4e-73) tmp = x * (i * (j * y1)); 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[LessEqual[z, -1.25e+22], N[(b * N[(t * N[(z * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3e-128], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.5e-220], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.4e-73], N[(x * N[(i * N[(j * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.25 \cdot 10^{+22}:\\
\;\;\;\;b \cdot \left(t \cdot \left(z \cdot \left(-a\right)\right)\right)\\
\mathbf{elif}\;z \leq -3 \cdot 10^{-128}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;z \leq 5.5 \cdot 10^{-220}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 7.4 \cdot 10^{-73}:\\
\;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if z < -1.2499999999999999e22Initial program 26.0%
Taylor expanded in b around inf 41.8%
Taylor expanded in t around -inf 48.8%
mul-1-neg48.8%
distribute-rgt-neg-in48.8%
+-commutative48.8%
mul-1-neg48.8%
unsub-neg48.8%
Simplified48.8%
Taylor expanded in a around inf 37.2%
if -1.2499999999999999e22 < z < -2.99999999999999978e-128Initial program 34.2%
Taylor expanded in b around inf 38.4%
Taylor expanded in y around inf 32.8%
associate-*r*32.8%
+-commutative32.8%
mul-1-neg32.8%
unsub-neg32.8%
*-commutative32.8%
Simplified32.8%
Taylor expanded in a around 0 32.8%
mul-1-neg32.8%
Simplified32.8%
if -2.99999999999999978e-128 < z < 5.4999999999999999e-220Initial program 34.1%
Taylor expanded in x around inf 52.5%
Taylor expanded in y0 around inf 41.4%
*-commutative41.4%
*-commutative41.4%
Simplified41.4%
Taylor expanded in y2 around inf 31.3%
*-commutative31.3%
Simplified31.3%
if 5.4999999999999999e-220 < z < 7.4000000000000002e-73Initial program 35.2%
Taylor expanded in x around inf 59.2%
Taylor expanded in y around 0 62.3%
*-commutative62.3%
*-commutative62.3%
Simplified62.3%
Taylor expanded in i around inf 39.5%
*-commutative39.5%
Simplified39.5%
if 7.4000000000000002e-73 < z Initial program 22.8%
Taylor expanded in x around inf 41.0%
Taylor expanded in j around 0 44.9%
Taylor expanded in b around inf 35.3%
Final simplification35.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= j -9.2e+69) (not (<= j 3e-172))) (* b (* j (- (* t y4) (* x y0)))) (* a (* b (- (* x y) (* z t))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((j <= -9.2e+69) || !(j <= 3e-172)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = a * (b * ((x * y) - (z * t)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((j <= (-9.2d+69)) .or. (.not. (j <= 3d-172))) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = a * (b * ((x * y) - (z * t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((j <= -9.2e+69) || !(j <= 3e-172)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = a * (b * ((x * y) - (z * t)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (j <= -9.2e+69) or not (j <= 3e-172): tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = a * (b * ((x * y) - (z * t))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((j <= -9.2e+69) || !(j <= 3e-172)) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((j <= -9.2e+69) || ~((j <= 3e-172))) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = a * (b * ((x * y) - (z * t))); 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, -9.2e+69], N[Not[LessEqual[j, 3e-172]], $MachinePrecision]], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -9.2 \cdot 10^{+69} \lor \neg \left(j \leq 3 \cdot 10^{-172}\right):\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\end{array}
\end{array}
if j < -9.20000000000000067e69 or 2.99999999999999984e-172 < j Initial program 23.0%
Taylor expanded in b around inf 37.0%
Taylor expanded in j around inf 46.1%
if -9.20000000000000067e69 < j < 2.99999999999999984e-172Initial program 35.5%
Taylor expanded in b around inf 33.8%
Taylor expanded in a around inf 29.3%
Final simplification38.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y4 -1.05e+59) (not (<= y4 1.9e+113))) (* 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 ((y4 <= -1.05e+59) || !(y4 <= 1.9e+113)) {
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 ((y4 <= (-1.05d+59)) .or. (.not. (y4 <= 1.9d+113))) 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 ((y4 <= -1.05e+59) || !(y4 <= 1.9e+113)) {
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 (y4 <= -1.05e+59) or not (y4 <= 1.9e+113): 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 ((y4 <= -1.05e+59) || !(y4 <= 1.9e+113)) 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 ((y4 <= -1.05e+59) || ~((y4 <= 1.9e+113))) 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[y4, -1.05e+59], N[Not[LessEqual[y4, 1.9e+113]], $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}\;y4 \leq -1.05 \cdot 10^{+59} \lor \neg \left(y4 \leq 1.9 \cdot 10^{+113}\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 y4 < -1.04999999999999992e59 or 1.9000000000000002e113 < y4 Initial program 20.2%
Taylor expanded in b around inf 32.0%
Taylor expanded in t around -inf 39.2%
mul-1-neg39.2%
distribute-rgt-neg-in39.2%
+-commutative39.2%
mul-1-neg39.2%
unsub-neg39.2%
Simplified39.2%
Taylor expanded in a around 0 36.8%
if -1.04999999999999992e59 < y4 < 1.9000000000000002e113Initial program 33.2%
Taylor expanded in x around inf 48.1%
Taylor expanded in j around 0 44.7%
Taylor expanded in b around inf 24.5%
Final simplification28.5%
(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 29.0%
Taylor expanded in x around inf 42.8%
Taylor expanded in j around 0 40.1%
Taylor expanded in b around inf 21.3%
Final simplification21.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y4 c) (* y5 a)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (- (* y2 t) (* y3 y)))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y4 b) (* y5 i)))
(t_6 (* (- (* j t) (* k y)) t_5))
(t_7 (- (* b a) (* i c)))
(t_8 (* t_7 (- (* y x) (* t z))))
(t_9 (- (* j x) (* k z)))
(t_10 (* (- (* b y0) (* i y1)) t_9))
(t_11 (* t_9 (- (* y0 b) (* i y1))))
(t_12 (- (* y4 y1) (* y5 y0)))
(t_13 (* t_4 t_12))
(t_14 (* (- (* y2 k) (* y3 j)) t_12))
(t_15
(+
(-
(-
(- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
(* (* y5 t) (* i j)))
(- (* t_3 t_1) t_14))
(- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
(t_16
(+
(+
(- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
(+ (* (* y5 a) (* t y2)) t_13))
(-
(* t_2 (- (* c y0) (* a y1)))
(- t_10 (* (- (* y x) (* z t)) t_7)))))
(t_17 (- (* t y2) (* y y3))))
(if (< y4 -7.206256231996481e+60)
(- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
(if (< y4 -3.364603505246317e-66)
(+
(-
(- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
t_10)
(-
(* (- (* y0 c) (* a y1)) t_2)
(- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
(if (< y4 -1.2000065055686116e-105)
t_16
(if (< y4 6.718963124057495e-279)
t_15
(if (< y4 4.77962681403792e-222)
t_16
(if (< y4 2.2852241541266835e-175)
t_15
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(-
(* k (* i (* z y1)))
(+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
(-
(* z (* y3 (* a y1)))
(+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
(* (- (* t j) (* y k)) t_5))
(* t_17 t_1))
t_13)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
real(8) :: t_12
real(8) :: t_13
real(8) :: t_14
real(8) :: t_15
real(8) :: t_16
real(8) :: t_17
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (y4 * c) - (y5 * a)
t_2 = (x * y2) - (z * y3)
t_3 = (y2 * t) - (y3 * y)
t_4 = (k * y2) - (j * y3)
t_5 = (y4 * b) - (y5 * i)
t_6 = ((j * t) - (k * y)) * t_5
t_7 = (b * a) - (i * c)
t_8 = t_7 * ((y * x) - (t * z))
t_9 = (j * x) - (k * z)
t_10 = ((b * y0) - (i * y1)) * t_9
t_11 = t_9 * ((y0 * b) - (i * y1))
t_12 = (y4 * y1) - (y5 * y0)
t_13 = t_4 * t_12
t_14 = ((y2 * k) - (y3 * j)) * t_12
t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
t_17 = (t * y2) - (y * y3)
if (y4 < (-7.206256231996481d+60)) then
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
else if (y4 < (-3.364603505246317d-66)) then
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
else if (y4 < (-1.2000065055686116d-105)) then
tmp = t_16
else if (y4 < 6.718963124057495d-279) then
tmp = t_15
else if (y4 < 4.77962681403792d-222) then
tmp = t_16
else if (y4 < 2.2852241541266835d-175) then
tmp = t_15
else
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y4 * c) - (y5 * a) t_2 = (x * y2) - (z * y3) t_3 = (y2 * t) - (y3 * y) t_4 = (k * y2) - (j * y3) t_5 = (y4 * b) - (y5 * i) t_6 = ((j * t) - (k * y)) * t_5 t_7 = (b * a) - (i * c) t_8 = t_7 * ((y * x) - (t * z)) t_9 = (j * x) - (k * z) t_10 = ((b * y0) - (i * y1)) * t_9 t_11 = t_9 * ((y0 * b) - (i * y1)) t_12 = (y4 * y1) - (y5 * y0) t_13 = t_4 * t_12 t_14 = ((y2 * k) - (y3 * j)) * t_12 t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))) t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))) t_17 = (t * y2) - (y * y3) tmp = 0 if y4 < -7.206256231996481e+60: tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14) elif y4 < -3.364603505246317e-66: tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))) elif y4 < -1.2000065055686116e-105: tmp = t_16 elif y4 < 6.718963124057495e-279: tmp = t_15 elif y4 < 4.77962681403792e-222: tmp = t_16 elif y4 < 2.2852241541266835e-175: tmp = t_15 else: tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(y2 * t) - Float64(y3 * y)) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y4 * b) - Float64(y5 * i)) t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5) t_7 = Float64(Float64(b * a) - Float64(i * c)) t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z))) t_9 = Float64(Float64(j * x) - Float64(k * z)) t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9) t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1))) t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_13 = Float64(t_4 * t_12) t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12) t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a)))))) t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7)))) t_17 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (y4 < -7.206256231996481e+60) tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14)); elseif (y4 < -3.364603505246317e-66) tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4)))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y4 * c) - (y5 * a); t_2 = (x * y2) - (z * y3); t_3 = (y2 * t) - (y3 * y); t_4 = (k * y2) - (j * y3); t_5 = (y4 * b) - (y5 * i); t_6 = ((j * t) - (k * y)) * t_5; t_7 = (b * a) - (i * c); t_8 = t_7 * ((y * x) - (t * z)); t_9 = (j * x) - (k * z); t_10 = ((b * y0) - (i * y1)) * t_9; t_11 = t_9 * ((y0 * b) - (i * y1)); t_12 = (y4 * y1) - (y5 * y0); t_13 = t_4 * t_12; t_14 = ((y2 * k) - (y3 * j)) * t_12; t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))); t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))); t_17 = (t * y2) - (y * y3); tmp = 0.0; if (y4 < -7.206256231996481e+60) tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14); elseif (y4 < -3.364603505246317e-66) tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot t - y3 \cdot y\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y4 \cdot b - y5 \cdot i\\
t_6 := \left(j \cdot t - k \cdot y\right) \cdot t_5\\
t_7 := b \cdot a - i \cdot c\\
t_8 := t_7 \cdot \left(y \cdot x - t \cdot z\right)\\
t_9 := j \cdot x - k \cdot z\\
t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t_9\\
t_11 := t_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
t_12 := y4 \cdot y1 - y5 \cdot y0\\
t_13 := t_4 \cdot t_12\\
t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t_12\\
t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t_3 \cdot t_1 - t_14\right)\right) + \left(t_8 - \left(t_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
t_16 := \left(\left(t_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t_13\right)\right) + \left(t_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t_10 - \left(y \cdot x - z \cdot t\right) \cdot t_7\right)\right)\\
t_17 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
\;\;\;\;\left(t_8 - \left(t_11 - t_6\right)\right) - \left(\frac{t_3}{\frac{1}{t_1}} - t_14\right)\\
\mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
\;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t_2 - \left(t_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t_4\right)\right)\\
\mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
\;\;\;\;t_16\\
\mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
\;\;\;\;t_15\\
\mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
\;\;\;\;t_16\\
\mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
\;\;\;\;t_15\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t_5\right) - t_17 \cdot t_1\right) + t_13\\
\end{array}
\end{array}
herbie shell --seed 2023322
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:name "Linear.Matrix:det44 from linear-1.19.1.3"
:precision binary64
:herbie-target
(if (< y4 -7.206256231996481e+60) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1.0 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3.364603505246317e-66) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -1.2000065055686116e-105) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 6.718963124057495e-279) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 4.77962681403792e-222) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 2.2852241541266835e-175) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))))))))
(+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))