
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 39 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y0
(+
(+ (* y5 (- (* j y3) (* k y2))) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j))))))
(t_2 (- (* c i) (* a b))))
(if (<= y0 -6.4e+162)
t_1
(if (<= y0 -1.1e+62)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t t_2))))
(if (<= y0 -9e-237)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y0 1.8e+45)
(*
t
(+
(+ (* z t_2) (* j (- (* b y4) (* i y5))))
(* y2 (- (* a y5) (* c 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 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double t_2 = (c * i) - (a * b);
double tmp;
if (y0 <= -6.4e+162) {
tmp = t_1;
} else if (y0 <= -1.1e+62) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_2)));
} else if (y0 <= -9e-237) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 1.8e+45) {
tmp = t * (((z * t_2) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * 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) :: t_2
real(8) :: tmp
t_1 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
t_2 = (c * i) - (a * b)
if (y0 <= (-6.4d+162)) then
tmp = t_1
else if (y0 <= (-1.1d+62)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_2)))
else if (y0 <= (-9d-237)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y0 <= 1.8d+45) then
tmp = t * (((z * t_2) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * 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 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double t_2 = (c * i) - (a * b);
double tmp;
if (y0 <= -6.4e+162) {
tmp = t_1;
} else if (y0 <= -1.1e+62) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_2)));
} else if (y0 <= -9e-237) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 1.8e+45) {
tmp = t * (((z * t_2) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * 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 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) t_2 = (c * i) - (a * b) tmp = 0 if y0 <= -6.4e+162: tmp = t_1 elif y0 <= -1.1e+62: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_2))) elif y0 <= -9e-237: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y0 <= 1.8e+45: tmp = t * (((z * t_2) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * 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(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) t_2 = Float64(Float64(c * i) - Float64(a * b)) tmp = 0.0 if (y0 <= -6.4e+162) tmp = t_1; elseif (y0 <= -1.1e+62) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_2)))); elseif (y0 <= -9e-237) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y0 <= 1.8e+45) tmp = Float64(t * Float64(Float64(Float64(z * t_2) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * 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 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); t_2 = (c * i) - (a * b); tmp = 0.0; if (y0 <= -6.4e+162) tmp = t_1; elseif (y0 <= -1.1e+62) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_2))); elseif (y0 <= -9e-237) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y0 <= 1.8e+45) tmp = t * (((z * t_2) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * 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[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -6.4e+162], t$95$1, If[LessEqual[y0, -1.1e+62], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -9e-237], 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[y0, 1.8e+45], N[(t * N[(N[(N[(z * t$95$2), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_2 := c \cdot i - a \cdot b\\
\mathbf{if}\;y0 \leq -6.4 \cdot 10^{+162}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.1 \cdot 10^{+62}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_2\right)\right)\\
\mathbf{elif}\;y0 \leq -9 \cdot 10^{-237}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+45}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_2 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -6.4000000000000002e162 or 1.8e45 < y0 Initial program 25.1%
Taylor expanded in y0 around inf 70.2%
if -6.4000000000000002e162 < y0 < -1.10000000000000007e62Initial program 21.7%
Taylor expanded in z around -inf 65.6%
if -1.10000000000000007e62 < y0 < -9.00000000000000019e-237Initial program 30.0%
Taylor expanded in y4 around inf 55.2%
if -9.00000000000000019e-237 < y0 < 1.8e45Initial program 28.2%
Taylor expanded in t around inf 47.9%
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 (- (* b y4) (* i y5)))
(t_2
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))))
(* t_1 (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_2 INFINITY)
t_2
(*
j
(+
(+ (* t t_1) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * y4) - (i * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = j * (((t * t_1) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * y4) - (i * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = j * (((t * t_1) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (b * y4) - (i * y5) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = j * (((t * t_1) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * y4) - Float64(i * y5)) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(z * k) - Float64(x * j)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t_1 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(j * Float64(Float64(Float64(t * t_1) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (b * y4) - (i * y5); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = j * (((t * t_1) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(j * N[(N[(N[(t * t$95$1), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot y4 - i \cdot y5\\
t_2 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t\_1 \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(\left(t \cdot t\_1 + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 88.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 j around inf 39.3%
Final simplification54.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -6.4e+62)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))))
(if (<= y0 -2.35e-195)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y0 8.8e-249)
(*
i
(+
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j))))))
(if (<= y0 4.2e+58)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -6.4e+62) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (y0 <= -2.35e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 8.8e-249) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else if (y0 <= 4.2e+58) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-6.4d+62)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
else if (y0 <= (-2.35d-195)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y0 <= 8.8d-249) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
else if (y0 <= 4.2d+58) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -6.4e+62) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (y0 <= -2.35e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 8.8e-249) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else if (y0 <= 4.2e+58) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -6.4e+62: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))) elif y0 <= -2.35e-195: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y0 <= 8.8e-249: tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) elif y0 <= 4.2e+58: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) else: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -6.4e+62) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))); elseif (y0 <= -2.35e-195) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y0 <= 8.8e-249) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y0 <= 4.2e+58) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); else tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -6.4e+62) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))); elseif (y0 <= -2.35e-195) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y0 <= 8.8e-249) tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); elseif (y0 <= 4.2e+58) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); else tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -6.4e+62], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.35e-195], 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[y0, 8.8e-249], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.2e+58], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -6.4 \cdot 10^{+62}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -2.35 \cdot 10^{-195}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 8.8 \cdot 10^{-249}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y0 \leq 4.2 \cdot 10^{+58}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -6.39999999999999968e62Initial program 27.2%
Taylor expanded in z around -inf 62.4%
if -6.39999999999999968e62 < y0 < -2.35000000000000005e-195Initial program 32.9%
Taylor expanded in y4 around inf 58.6%
if -2.35000000000000005e-195 < y0 < 8.8e-249Initial program 30.3%
Taylor expanded in i around -inf 57.3%
if 8.8e-249 < y0 < 4.20000000000000024e58Initial program 25.2%
Taylor expanded in j around inf 46.1%
if 4.20000000000000024e58 < y0 Initial program 19.8%
Taylor expanded in y2 around inf 29.4%
associate-*r*27.0%
*-commutative27.0%
Simplified27.0%
Taylor expanded in y0 around inf 61.6%
Final simplification56.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (- (* y5 (- (* t y2) (* y y3))) (* x (* y1 y2)))))
(t_2 (* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2))))))
(if (<= y0 -8.2e+79)
t_2
(if (<= y0 -1.75e-75)
(* y1 (- (* y4 (- (* k y2) (* j y3))) (* a (* x y2))))
(if (<= y0 -1e-194)
t_1
(if (<= y0 4.5e-237)
(* i (* z (- (* t c) (* k y1))))
(if (<= y0 1.15e+24)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y0 1.55e+91) t_1 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
double t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -8.2e+79) {
tmp = t_2;
} else if (y0 <= -1.75e-75) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (a * (x * y2)));
} else if (y0 <= -1e-194) {
tmp = t_1;
} else if (y0 <= 4.5e-237) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y0 <= 1.15e+24) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 1.55e+91) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)))
t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
if (y0 <= (-8.2d+79)) then
tmp = t_2
else if (y0 <= (-1.75d-75)) then
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (a * (x * y2)))
else if (y0 <= (-1d-194)) then
tmp = t_1
else if (y0 <= 4.5d-237) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (y0 <= 1.15d+24) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y0 <= 1.55d+91) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
double t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -8.2e+79) {
tmp = t_2;
} else if (y0 <= -1.75e-75) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (a * (x * y2)));
} else if (y0 <= -1e-194) {
tmp = t_1;
} else if (y0 <= 4.5e-237) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y0 <= 1.15e+24) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 1.55e+91) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))) t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) tmp = 0 if y0 <= -8.2e+79: tmp = t_2 elif y0 <= -1.75e-75: tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (a * (x * y2))) elif y0 <= -1e-194: tmp = t_1 elif y0 <= 4.5e-237: tmp = i * (z * ((t * c) - (k * y1))) elif y0 <= 1.15e+24: tmp = t * (y5 * ((a * y2) - (i * j))) elif y0 <= 1.55e+91: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(x * Float64(y1 * y2)))) t_2 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))) tmp = 0.0 if (y0 <= -8.2e+79) tmp = t_2; elseif (y0 <= -1.75e-75) tmp = Float64(y1 * Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) - Float64(a * Float64(x * y2)))); elseif (y0 <= -1e-194) tmp = t_1; elseif (y0 <= 4.5e-237) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (y0 <= 1.15e+24) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y0 <= 1.55e+91) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))); t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); tmp = 0.0; if (y0 <= -8.2e+79) tmp = t_2; elseif (y0 <= -1.75e-75) tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (a * (x * y2))); elseif (y0 <= -1e-194) tmp = t_1; elseif (y0 <= 4.5e-237) tmp = i * (z * ((t * c) - (k * y1))); elseif (y0 <= 1.15e+24) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y0 <= 1.55e+91) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -8.2e+79], t$95$2, If[LessEqual[y0, -1.75e-75], N[(y1 * N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1e-194], t$95$1, If[LessEqual[y0, 4.5e-237], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.15e+24], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.55e+91], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) - x \cdot \left(y1 \cdot y2\right)\right)\\
t_2 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -8.2 \cdot 10^{+79}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -1.75 \cdot 10^{-75}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq -1 \cdot 10^{-194}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 4.5 \cdot 10^{-237}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;y0 \leq 1.15 \cdot 10^{+24}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 1.55 \cdot 10^{+91}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y0 < -8.2e79 or 1.54999999999999999e91 < y0 Initial program 23.6%
Taylor expanded in y2 around inf 29.7%
associate-*r*27.4%
*-commutative27.4%
Simplified27.4%
Taylor expanded in y0 around inf 58.2%
if -8.2e79 < y0 < -1.74999999999999993e-75Initial program 32.1%
Taylor expanded in y2 around inf 46.6%
associate-*r*43.1%
*-commutative43.1%
Simplified43.1%
Taylor expanded in y1 around inf 61.6%
if -1.74999999999999993e-75 < y0 < -1.00000000000000002e-194 or 1.15e24 < y0 < 1.54999999999999999e91Initial program 29.9%
Taylor expanded in y2 around inf 32.2%
associate-*r*32.2%
*-commutative32.2%
Simplified32.2%
Taylor expanded in a around -inf 54.0%
associate-*r*54.0%
neg-mul-154.0%
Simplified54.0%
if -1.00000000000000002e-194 < y0 < 4.50000000000000009e-237Initial program 33.2%
Taylor expanded in i around -inf 51.7%
Taylor expanded in z around -inf 52.1%
mul-1-neg52.1%
Simplified52.1%
if 4.50000000000000009e-237 < y0 < 1.15e24Initial program 22.7%
Taylor expanded in t around inf 49.7%
Taylor expanded in y5 around -inf 46.1%
associate-*r*46.1%
neg-mul-146.1%
Simplified46.1%
Final simplification54.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c i) (* a b))))
(if (<= y0 -9e+62)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t t_1))))
(if (<= y0 -5.2e-236)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y0 2.1e+45)
(*
t
(+
(+ (* z t_1) (* j (- (* b y4) (* i y5))))
(* y2 (- (* a y5) (* c y4)))))
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * i) - (a * b);
double tmp;
if (y0 <= -9e+62) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)));
} else if (y0 <= -5.2e-236) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 2.1e+45) {
tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (c * i) - (a * b)
if (y0 <= (-9d+62)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)))
else if (y0 <= (-5.2d-236)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y0 <= 2.1d+45) then
tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
else
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * i) - (a * b);
double tmp;
if (y0 <= -9e+62) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)));
} else if (y0 <= -5.2e-236) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 2.1e+45) {
tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * i) - (a * b) tmp = 0 if y0 <= -9e+62: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1))) elif y0 <= -5.2e-236: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y0 <= 2.1e+45: tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))) else: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * i) - Float64(a * b)) tmp = 0.0 if (y0 <= -9e+62) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_1)))); elseif (y0 <= -5.2e-236) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y0 <= 2.1e+45) tmp = Float64(t * Float64(Float64(Float64(z * t_1) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); else tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (c * i) - (a * b); tmp = 0.0; if (y0 <= -9e+62) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1))); elseif (y0 <= -5.2e-236) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y0 <= 2.1e+45) tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))); else tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -9e+62], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -5.2e-236], 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[y0, 2.1e+45], N[(t * N[(N[(N[(z * t$95$1), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot i - a \cdot b\\
\mathbf{if}\;y0 \leq -9 \cdot 10^{+62}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_1\right)\right)\\
\mathbf{elif}\;y0 \leq -5.2 \cdot 10^{-236}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+45}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_1 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -8.99999999999999997e62Initial program 27.2%
Taylor expanded in z around -inf 62.4%
if -8.99999999999999997e62 < y0 < -5.2000000000000001e-236Initial program 30.0%
Taylor expanded in y4 around inf 55.2%
if -5.2000000000000001e-236 < y0 < 2.09999999999999995e45Initial program 28.2%
Taylor expanded in t around inf 47.9%
if 2.09999999999999995e45 < y0 Initial program 20.7%
Taylor expanded in y2 around inf 29.8%
associate-*r*27.5%
*-commutative27.5%
Simplified27.5%
Taylor expanded in y0 around inf 59.8%
Final simplification54.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -3.4e+60)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))))
(if (<= y0 -4e-195)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y0 3.4e+19)
(*
i
(+
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j))))))
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -3.4e+60) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (y0 <= -4e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 3.4e+19) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-3.4d+60)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
else if (y0 <= (-4d-195)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y0 <= 3.4d+19) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
else
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -3.4e+60) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (y0 <= -4e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 3.4e+19) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -3.4e+60: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))) elif y0 <= -4e-195: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y0 <= 3.4e+19: tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) else: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -3.4e+60) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))); elseif (y0 <= -4e-195) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y0 <= 3.4e+19) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))); else tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -3.4e+60) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))); elseif (y0 <= -4e-195) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y0 <= 3.4e+19) tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); else tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -3.4e+60], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4e-195], 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[y0, 3.4e+19], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -3.4 \cdot 10^{+60}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -4 \cdot 10^{-195}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 3.4 \cdot 10^{+19}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -3.4e60Initial program 27.2%
Taylor expanded in z around -inf 62.4%
if -3.4e60 < y0 < -4.0000000000000004e-195Initial program 32.9%
Taylor expanded in y4 around inf 58.6%
if -4.0000000000000004e-195 < y0 < 3.4e19Initial program 26.5%
Taylor expanded in i around -inf 47.3%
if 3.4e19 < y0 Initial program 22.4%
Taylor expanded in y2 around inf 29.8%
associate-*r*28.0%
*-commutative28.0%
Simplified28.0%
Taylor expanded in y0 around inf 54.4%
Final simplification54.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2))))))
(if (<= y0 -1.35e+120)
t_1
(if (<= y0 -1.75e-195)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y0 5.8e+21)
(*
i
(+
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j))))))
t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -1.35e+120) {
tmp = t_1;
} else if (y0 <= -1.75e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 5.8e+21) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
if (y0 <= (-1.35d+120)) then
tmp = t_1
else if (y0 <= (-1.75d-195)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y0 <= 5.8d+21) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -1.35e+120) {
tmp = t_1;
} else if (y0 <= -1.75e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 5.8e+21) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) tmp = 0 if y0 <= -1.35e+120: tmp = t_1 elif y0 <= -1.75e-195: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y0 <= 5.8e+21: tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))) tmp = 0.0 if (y0 <= -1.35e+120) tmp = t_1; elseif (y0 <= -1.75e-195) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y0 <= 5.8e+21) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); tmp = 0.0; if (y0 <= -1.35e+120) tmp = t_1; elseif (y0 <= -1.75e-195) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y0 <= 5.8e+21) tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.35e+120], t$95$1, If[LessEqual[y0, -1.75e-195], 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[y0, 5.8e+21], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -1.35 \cdot 10^{+120}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.75 \cdot 10^{-195}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 5.8 \cdot 10^{+21}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -1.35e120 or 5.8e21 < y0 Initial program 26.8%
Taylor expanded in y2 around inf 30.0%
associate-*r*27.1%
*-commutative27.1%
Simplified27.1%
Taylor expanded in y0 around inf 55.1%
if -1.35e120 < y0 < -1.75000000000000007e-195Initial program 28.7%
Taylor expanded in y4 around inf 57.5%
if -1.75000000000000007e-195 < y0 < 5.8e21Initial program 26.5%
Taylor expanded in i around -inf 47.3%
Final simplification52.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2))))))
(if (<= y0 -3.9e+120)
t_1
(if (<= y0 -4e-204)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y0 5.6e-222)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= y0 1.55e+24)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y0 5.7e+97)
(* a (- (* y5 (- (* t y2) (* y y3))) (* x (* y1 y2))))
t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -3.9e+120) {
tmp = t_1;
} else if (y0 <= -4e-204) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 5.6e-222) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y0 <= 1.55e+24) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 5.7e+97) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
if (y0 <= (-3.9d+120)) then
tmp = t_1
else if (y0 <= (-4d-204)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y0 <= 5.6d-222) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (y0 <= 1.55d+24) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y0 <= 5.7d+97) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -3.9e+120) {
tmp = t_1;
} else if (y0 <= -4e-204) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y0 <= 5.6e-222) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y0 <= 1.55e+24) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 5.7e+97) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) tmp = 0 if y0 <= -3.9e+120: tmp = t_1 elif y0 <= -4e-204: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y0 <= 5.6e-222: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif y0 <= 1.55e+24: tmp = t * (y5 * ((a * y2) - (i * j))) elif y0 <= 5.7e+97: tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))) tmp = 0.0 if (y0 <= -3.9e+120) tmp = t_1; elseif (y0 <= -4e-204) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y0 <= 5.6e-222) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y0 <= 1.55e+24) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y0 <= 5.7e+97) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(x * Float64(y1 * y2)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); tmp = 0.0; if (y0 <= -3.9e+120) tmp = t_1; elseif (y0 <= -4e-204) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y0 <= 5.6e-222) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (y0 <= 1.55e+24) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y0 <= 5.7e+97) tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -3.9e+120], t$95$1, If[LessEqual[y0, -4e-204], 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[y0, 5.6e-222], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.55e+24], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.7e+97], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -3.9 \cdot 10^{+120}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -4 \cdot 10^{-204}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 5.6 \cdot 10^{-222}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq 1.55 \cdot 10^{+24}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 5.7 \cdot 10^{+97}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) - x \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -3.8999999999999998e120 or 5.7000000000000002e97 < y0 Initial program 25.1%
Taylor expanded in y2 around inf 29.1%
associate-*r*26.6%
*-commutative26.6%
Simplified26.6%
Taylor expanded in y0 around inf 60.5%
if -3.8999999999999998e120 < y0 < -4e-204Initial program 28.2%
Taylor expanded in y4 around inf 58.2%
if -4e-204 < y0 < 5.60000000000000014e-222Initial program 33.9%
Taylor expanded in x around inf 49.7%
if 5.60000000000000014e-222 < y0 < 1.55000000000000005e24Initial program 21.0%
Taylor expanded in t around inf 50.5%
Taylor expanded in y5 around -inf 48.5%
associate-*r*48.5%
neg-mul-148.5%
Simplified48.5%
if 1.55000000000000005e24 < y0 < 5.7000000000000002e97Initial program 31.5%
Taylor expanded in y2 around inf 31.8%
associate-*r*26.6%
*-commutative26.6%
Simplified26.6%
Taylor expanded in a around -inf 58.7%
associate-*r*58.7%
neg-mul-158.7%
Simplified58.7%
Final simplification55.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2))))))
(if (<= y0 -9.8e+117)
t_1
(if (<= y0 -6.2e-138)
(* y4 (+ (- (* b (- (* t j) (* y k))) (* j (* y1 y3))) (* c (* y y3))))
(if (<= y0 2e-221)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= y0 6.2e+23)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y0 1.55e+89)
(* a (- (* y5 (- (* t y2) (* y y3))) (* x (* y1 y2))))
t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -9.8e+117) {
tmp = t_1;
} else if (y0 <= -6.2e-138) {
tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3)));
} else if (y0 <= 2e-221) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y0 <= 6.2e+23) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 1.55e+89) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
if (y0 <= (-9.8d+117)) then
tmp = t_1
else if (y0 <= (-6.2d-138)) then
tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3)))
else if (y0 <= 2d-221) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (y0 <= 6.2d+23) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y0 <= 1.55d+89) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -9.8e+117) {
tmp = t_1;
} else if (y0 <= -6.2e-138) {
tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3)));
} else if (y0 <= 2e-221) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y0 <= 6.2e+23) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 1.55e+89) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) tmp = 0 if y0 <= -9.8e+117: tmp = t_1 elif y0 <= -6.2e-138: tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3))) elif y0 <= 2e-221: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif y0 <= 6.2e+23: tmp = t * (y5 * ((a * y2) - (i * j))) elif y0 <= 1.55e+89: tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))) tmp = 0.0 if (y0 <= -9.8e+117) tmp = t_1; elseif (y0 <= -6.2e-138) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) - Float64(j * Float64(y1 * y3))) + Float64(c * Float64(y * y3)))); elseif (y0 <= 2e-221) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y0 <= 6.2e+23) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y0 <= 1.55e+89) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(x * Float64(y1 * y2)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); tmp = 0.0; if (y0 <= -9.8e+117) tmp = t_1; elseif (y0 <= -6.2e-138) tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3))); elseif (y0 <= 2e-221) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (y0 <= 6.2e+23) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y0 <= 1.55e+89) tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -9.8e+117], t$95$1, If[LessEqual[y0, -6.2e-138], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2e-221], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6.2e+23], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.55e+89], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -9.8 \cdot 10^{+117}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -6.2 \cdot 10^{-138}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) - j \cdot \left(y1 \cdot y3\right)\right) + c \cdot \left(y \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 2 \cdot 10^{-221}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq 6.2 \cdot 10^{+23}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 1.55 \cdot 10^{+89}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) - x \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -9.8000000000000002e117 or 1.55e89 < y0 Initial program 25.1%
Taylor expanded in y2 around inf 29.1%
associate-*r*26.6%
*-commutative26.6%
Simplified26.6%
Taylor expanded in y0 around inf 60.5%
if -9.8000000000000002e117 < y0 < -6.1999999999999996e-138Initial program 27.6%
Taylor expanded in y4 around inf 61.9%
Taylor expanded in y2 around 0 52.4%
if -6.1999999999999996e-138 < y0 < 2.00000000000000003e-221Initial program 32.9%
Taylor expanded in x around inf 47.6%
if 2.00000000000000003e-221 < y0 < 6.19999999999999941e23Initial program 21.0%
Taylor expanded in t around inf 50.5%
Taylor expanded in y5 around -inf 48.5%
associate-*r*48.5%
neg-mul-148.5%
Simplified48.5%
if 6.19999999999999941e23 < y0 < 1.55e89Initial program 31.5%
Taylor expanded in y2 around inf 31.8%
associate-*r*26.6%
*-commutative26.6%
Simplified26.6%
Taylor expanded in a around -inf 58.7%
associate-*r*58.7%
neg-mul-158.7%
Simplified58.7%
Final simplification53.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -5e+85)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y1 -1.14e-272)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 3.2e-206)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y1 1.1e-92)
(* y0 (* z (- (* b k) (* c y3))))
(if (<= y1 4.8e-8)
(* a (* b (- (* x y) (* z t))))
(if (<= y1 6.2e+176)
(* j (* y4 (* b (- t (* y1 (/ y3 b))))))
(* i (* x (- (* j y1) (* y c)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -5e+85) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= -1.14e-272) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 3.2e-206) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y1 <= 1.1e-92) {
tmp = y0 * (z * ((b * k) - (c * y3)));
} else if (y1 <= 4.8e-8) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y1 <= 6.2e+176) {
tmp = j * (y4 * (b * (t - (y1 * (y3 / b)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-5d+85)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y1 <= (-1.14d-272)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 3.2d-206) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y1 <= 1.1d-92) then
tmp = y0 * (z * ((b * k) - (c * y3)))
else if (y1 <= 4.8d-8) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y1 <= 6.2d+176) then
tmp = j * (y4 * (b * (t - (y1 * (y3 / b)))))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -5e+85) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= -1.14e-272) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 3.2e-206) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y1 <= 1.1e-92) {
tmp = y0 * (z * ((b * k) - (c * y3)));
} else if (y1 <= 4.8e-8) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y1 <= 6.2e+176) {
tmp = j * (y4 * (b * (t - (y1 * (y3 / b)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -5e+85: tmp = i * (y1 * ((x * j) - (z * k))) elif y1 <= -1.14e-272: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 3.2e-206: tmp = t * (y5 * ((a * y2) - (i * j))) elif y1 <= 1.1e-92: tmp = y0 * (z * ((b * k) - (c * y3))) elif y1 <= 4.8e-8: tmp = a * (b * ((x * y) - (z * t))) elif y1 <= 6.2e+176: tmp = j * (y4 * (b * (t - (y1 * (y3 / b))))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -5e+85) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y1 <= -1.14e-272) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 3.2e-206) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y1 <= 1.1e-92) tmp = Float64(y0 * Float64(z * Float64(Float64(b * k) - Float64(c * y3)))); elseif (y1 <= 4.8e-8) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y1 <= 6.2e+176) tmp = Float64(j * Float64(y4 * Float64(b * Float64(t - Float64(y1 * Float64(y3 / b)))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -5e+85) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y1 <= -1.14e-272) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 3.2e-206) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y1 <= 1.1e-92) tmp = y0 * (z * ((b * k) - (c * y3))); elseif (y1 <= 4.8e-8) tmp = a * (b * ((x * y) - (z * t))); elseif (y1 <= 6.2e+176) tmp = j * (y4 * (b * (t - (y1 * (y3 / b))))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -5e+85], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.14e-272], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.2e-206], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.1e-92], N[(y0 * N[(z * N[(N[(b * k), $MachinePrecision] - N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.8e-8], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.2e+176], N[(j * N[(y4 * N[(b * N[(t - N[(y1 * N[(y3 / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -5 \cdot 10^{+85}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq -1.14 \cdot 10^{-272}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 3.2 \cdot 10^{-206}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 1.1 \cdot 10^{-92}:\\
\;\;\;\;y0 \cdot \left(z \cdot \left(b \cdot k - c \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 4.8 \cdot 10^{-8}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y1 \leq 6.2 \cdot 10^{+176}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(b \cdot \left(t - y1 \cdot \frac{y3}{b}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if y1 < -5.0000000000000001e85Initial program 16.2%
Taylor expanded in i around -inf 47.3%
Taylor expanded in y1 around inf 49.9%
if -5.0000000000000001e85 < y1 < -1.13999999999999994e-272Initial program 35.9%
Taylor expanded in j around inf 50.0%
Taylor expanded in y0 around inf 46.6%
if -1.13999999999999994e-272 < y1 < 3.19999999999999976e-206Initial program 37.9%
Taylor expanded in t around inf 41.5%
Taylor expanded in y5 around -inf 42.2%
associate-*r*42.2%
neg-mul-142.2%
Simplified42.2%
if 3.19999999999999976e-206 < y1 < 1.09999999999999994e-92Initial program 37.4%
Taylor expanded in z around -inf 69.6%
Taylor expanded in y0 around inf 54.5%
if 1.09999999999999994e-92 < y1 < 4.79999999999999997e-8Initial program 33.3%
Taylor expanded in b around inf 50.6%
Taylor expanded in a around inf 67.8%
if 4.79999999999999997e-8 < y1 < 6.1999999999999998e176Initial program 17.5%
Taylor expanded in j around inf 33.1%
Taylor expanded in y4 around inf 39.1%
Taylor expanded in b around inf 43.9%
mul-1-neg43.9%
unsub-neg43.9%
associate-/l*43.9%
Simplified43.9%
if 6.1999999999999998e176 < y1 Initial program 12.5%
Taylor expanded in i around -inf 37.8%
Taylor expanded in x around inf 58.9%
Final simplification49.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2))))))
(if (<= y0 -1.5e+119)
t_1
(if (<= y0 -1.95e-195)
(* y4 (+ (- (* b (- (* t j) (* y k))) (* j (* y1 y3))) (* c (* y y3))))
(if (<= y0 1.85e-237)
(* i (* z (- (* t c) (* k y1))))
(if (<= y0 3.2e+23)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y0 5.1e+92)
(* a (- (* y5 (- (* t y2) (* y y3))) (* x (* y1 y2))))
t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -1.5e+119) {
tmp = t_1;
} else if (y0 <= -1.95e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3)));
} else if (y0 <= 1.85e-237) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y0 <= 3.2e+23) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 5.1e+92) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
if (y0 <= (-1.5d+119)) then
tmp = t_1
else if (y0 <= (-1.95d-195)) then
tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3)))
else if (y0 <= 1.85d-237) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (y0 <= 3.2d+23) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y0 <= 5.1d+92) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double tmp;
if (y0 <= -1.5e+119) {
tmp = t_1;
} else if (y0 <= -1.95e-195) {
tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3)));
} else if (y0 <= 1.85e-237) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y0 <= 3.2e+23) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 5.1e+92) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) tmp = 0 if y0 <= -1.5e+119: tmp = t_1 elif y0 <= -1.95e-195: tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3))) elif y0 <= 1.85e-237: tmp = i * (z * ((t * c) - (k * y1))) elif y0 <= 3.2e+23: tmp = t * (y5 * ((a * y2) - (i * j))) elif y0 <= 5.1e+92: tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))) tmp = 0.0 if (y0 <= -1.5e+119) tmp = t_1; elseif (y0 <= -1.95e-195) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) - Float64(j * Float64(y1 * y3))) + Float64(c * Float64(y * y3)))); elseif (y0 <= 1.85e-237) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (y0 <= 3.2e+23) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y0 <= 5.1e+92) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(x * Float64(y1 * y2)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); tmp = 0.0; if (y0 <= -1.5e+119) tmp = t_1; elseif (y0 <= -1.95e-195) tmp = y4 * (((b * ((t * j) - (y * k))) - (j * (y1 * y3))) + (c * (y * y3))); elseif (y0 <= 1.85e-237) tmp = i * (z * ((t * c) - (k * y1))); elseif (y0 <= 3.2e+23) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y0 <= 5.1e+92) tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.5e+119], t$95$1, If[LessEqual[y0, -1.95e-195], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.85e-237], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.2e+23], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.1e+92], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -1.5 \cdot 10^{+119}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.95 \cdot 10^{-195}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) - j \cdot \left(y1 \cdot y3\right)\right) + c \cdot \left(y \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 1.85 \cdot 10^{-237}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;y0 \leq 3.2 \cdot 10^{+23}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 5.1 \cdot 10^{+92}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) - x \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -1.50000000000000001e119 or 5.1000000000000003e92 < y0 Initial program 25.1%
Taylor expanded in y2 around inf 29.1%
associate-*r*26.6%
*-commutative26.6%
Simplified26.6%
Taylor expanded in y0 around inf 60.5%
if -1.50000000000000001e119 < y0 < -1.95e-195Initial program 28.7%
Taylor expanded in y4 around inf 57.5%
Taylor expanded in y2 around 0 48.7%
if -1.95e-195 < y0 < 1.85000000000000005e-237Initial program 32.4%
Taylor expanded in i around -inf 51.8%
Taylor expanded in z around -inf 52.2%
mul-1-neg52.2%
Simplified52.2%
if 1.85000000000000005e-237 < y0 < 3.2e23Initial program 22.7%
Taylor expanded in t around inf 49.7%
Taylor expanded in y5 around -inf 46.1%
associate-*r*46.1%
neg-mul-146.1%
Simplified46.1%
if 3.2e23 < y0 < 5.1000000000000003e92Initial program 31.5%
Taylor expanded in y2 around inf 31.8%
associate-*r*26.6%
*-commutative26.6%
Simplified26.6%
Taylor expanded in a around -inf 58.7%
associate-*r*58.7%
neg-mul-158.7%
Simplified58.7%
Final simplification53.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (* x y2)))))
(t_2 (* a (- (* y5 (- (* t y2) (* y y3))) (* x (* y1 y2))))))
(if (<= y0 -1.75e-75)
t_1
(if (<= y0 -2.55e-194)
t_2
(if (<= y0 2.1e-236)
(* i (* z (- (* t c) (* k y1))))
(if (<= y0 5.8e+23)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y0 1.8e+91) 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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double t_2 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
double tmp;
if (y0 <= -1.75e-75) {
tmp = t_1;
} else if (y0 <= -2.55e-194) {
tmp = t_2;
} else if (y0 <= 2.1e-236) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y0 <= 5.8e+23) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 1.8e+91) {
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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)))
t_2 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)))
if (y0 <= (-1.75d-75)) then
tmp = t_1
else if (y0 <= (-2.55d-194)) then
tmp = t_2
else if (y0 <= 2.1d-236) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (y0 <= 5.8d+23) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y0 <= 1.8d+91) 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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2)));
double t_2 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
double tmp;
if (y0 <= -1.75e-75) {
tmp = t_1;
} else if (y0 <= -2.55e-194) {
tmp = t_2;
} else if (y0 <= 2.1e-236) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y0 <= 5.8e+23) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y0 <= 1.8e+91) {
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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))) t_2 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))) tmp = 0 if y0 <= -1.75e-75: tmp = t_1 elif y0 <= -2.55e-194: tmp = t_2 elif y0 <= 2.1e-236: tmp = i * (z * ((t * c) - (k * y1))) elif y0 <= 5.8e+23: tmp = t * (y5 * ((a * y2) - (i * j))) elif y0 <= 1.8e+91: 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(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(x * y2)))) t_2 = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(x * Float64(y1 * y2)))) tmp = 0.0 if (y0 <= -1.75e-75) tmp = t_1; elseif (y0 <= -2.55e-194) tmp = t_2; elseif (y0 <= 2.1e-236) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (y0 <= 5.8e+23) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y0 <= 1.8e+91) 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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * (x * y2))); t_2 = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))); tmp = 0.0; if (y0 <= -1.75e-75) tmp = t_1; elseif (y0 <= -2.55e-194) tmp = t_2; elseif (y0 <= 2.1e-236) tmp = i * (z * ((t * c) - (k * y1))); elseif (y0 <= 5.8e+23) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y0 <= 1.8e+91) 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[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.75e-75], t$95$1, If[LessEqual[y0, -2.55e-194], t$95$2, If[LessEqual[y0, 2.1e-236], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.8e+23], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.8e+91], t$95$2, t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2\right)\right)\\
t_2 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) - x \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -1.75 \cdot 10^{-75}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -2.55 \cdot 10^{-194}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{-236}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;y0 \leq 5.8 \cdot 10^{+23}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+91}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -1.74999999999999993e-75 or 1.8e91 < y0 Initial program 25.7%
Taylor expanded in y2 around inf 33.9%
associate-*r*31.3%
*-commutative31.3%
Simplified31.3%
Taylor expanded in y0 around inf 53.0%
if -1.74999999999999993e-75 < y0 < -2.5499999999999999e-194 or 5.80000000000000025e23 < y0 < 1.8e91Initial program 29.9%
Taylor expanded in y2 around inf 32.2%
associate-*r*32.2%
*-commutative32.2%
Simplified32.2%
Taylor expanded in a around -inf 54.0%
associate-*r*54.0%
neg-mul-154.0%
Simplified54.0%
if -2.5499999999999999e-194 < y0 < 2.09999999999999979e-236Initial program 33.2%
Taylor expanded in i around -inf 51.7%
Taylor expanded in z around -inf 52.1%
mul-1-neg52.1%
Simplified52.1%
if 2.09999999999999979e-236 < y0 < 5.80000000000000025e23Initial program 22.7%
Taylor expanded in t around inf 49.7%
Taylor expanded in y5 around -inf 46.1%
associate-*r*46.1%
neg-mul-146.1%
Simplified46.1%
Final simplification51.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -6.8e+244)
(* i (* z (- (* t c) (* k y1))))
(if (<= z -2.05e+42)
(* z (* y3 (- (* a y1) (* c y0))))
(if (<= z -1.7e-110)
(* c (+ (* x (* y0 y2)) (* y4 (- (* y y3) (* t y2)))))
(if (<= z 1.4e-238)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= z 2.25e-60)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= z 6.2e+46)
(* b (* x (- (* y a) (* j y0))))
(* t (* z (- (* c i) (* a b)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -6.8e+244) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (z <= -2.05e+42) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (z <= -1.7e-110) {
tmp = c * ((x * (y0 * y2)) + (y4 * ((y * y3) - (t * y2))));
} else if (z <= 1.4e-238) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (z <= 2.25e-60) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (z <= 6.2e+46) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = t * (z * ((c * i) - (a * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-6.8d+244)) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (z <= (-2.05d+42)) then
tmp = z * (y3 * ((a * y1) - (c * y0)))
else if (z <= (-1.7d-110)) then
tmp = c * ((x * (y0 * y2)) + (y4 * ((y * y3) - (t * y2))))
else if (z <= 1.4d-238) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (z <= 2.25d-60) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (z <= 6.2d+46) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = t * (z * ((c * i) - (a * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -6.8e+244) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (z <= -2.05e+42) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (z <= -1.7e-110) {
tmp = c * ((x * (y0 * y2)) + (y4 * ((y * y3) - (t * y2))));
} else if (z <= 1.4e-238) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (z <= 2.25e-60) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (z <= 6.2e+46) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = t * (z * ((c * i) - (a * 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 <= -6.8e+244: tmp = i * (z * ((t * c) - (k * y1))) elif z <= -2.05e+42: tmp = z * (y3 * ((a * y1) - (c * y0))) elif z <= -1.7e-110: tmp = c * ((x * (y0 * y2)) + (y4 * ((y * y3) - (t * y2)))) elif z <= 1.4e-238: tmp = t * (y5 * ((a * y2) - (i * j))) elif z <= 2.25e-60: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif z <= 6.2e+46: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = t * (z * ((c * i) - (a * 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 <= -6.8e+244) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (z <= -2.05e+42) tmp = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (z <= -1.7e-110) tmp = Float64(c * Float64(Float64(x * Float64(y0 * y2)) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (z <= 1.4e-238) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (z <= 2.25e-60) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (z <= 6.2e+46) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -6.8e+244) tmp = i * (z * ((t * c) - (k * y1))); elseif (z <= -2.05e+42) tmp = z * (y3 * ((a * y1) - (c * y0))); elseif (z <= -1.7e-110) tmp = c * ((x * (y0 * y2)) + (y4 * ((y * y3) - (t * y2)))); elseif (z <= 1.4e-238) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (z <= 2.25e-60) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (z <= 6.2e+46) tmp = b * (x * ((y * a) - (j * y0))); else tmp = t * (z * ((c * i) - (a * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -6.8e+244], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.05e+42], N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.7e-110], N[(c * N[(N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.4e-238], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.25e-60], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.2e+46], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.8 \cdot 10^{+244}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;z \leq -2.05 \cdot 10^{+42}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -1.7 \cdot 10^{-110}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 1.4 \cdot 10^{-238}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;z \leq 2.25 \cdot 10^{-60}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 6.2 \cdot 10^{+46}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\end{array}
\end{array}
if z < -6.8000000000000002e244Initial program 22.7%
Taylor expanded in i around -inf 45.8%
Taylor expanded in z around -inf 68.8%
mul-1-neg68.8%
Simplified68.8%
if -6.8000000000000002e244 < z < -2.05e42Initial program 29.7%
Taylor expanded in z around -inf 60.0%
Taylor expanded in y3 around inf 49.1%
if -2.05e42 < z < -1.7000000000000001e-110Initial program 31.0%
Taylor expanded in y2 around inf 34.5%
associate-*r*34.5%
*-commutative34.5%
Simplified34.5%
Taylor expanded in c around inf 49.6%
if -1.7000000000000001e-110 < z < 1.40000000000000002e-238Initial program 26.2%
Taylor expanded in t around inf 35.5%
Taylor expanded in y5 around -inf 38.8%
associate-*r*38.8%
neg-mul-138.8%
Simplified38.8%
if 1.40000000000000002e-238 < z < 2.25e-60Initial program 35.4%
Taylor expanded in j around inf 50.4%
Taylor expanded in y3 around inf 51.0%
neg-mul-151.0%
distribute-rgt-neg-in51.0%
Simplified51.0%
if 2.25e-60 < z < 6.1999999999999995e46Initial program 33.3%
Taylor expanded in b around inf 38.2%
Taylor expanded in x around inf 53.0%
if 6.1999999999999995e46 < z Initial program 17.1%
Taylor expanded in t around inf 43.2%
Taylor expanded in z around inf 54.7%
associate-*r*54.7%
neg-mul-154.7%
Simplified54.7%
Final simplification50.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* t (* y5 (- (* a y2) (* i j))))))
(if (<= y1 -9.5e+85)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y1 -1.06e-272)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 1.05e-206)
t_1
(if (<= y1 1.45e-90)
(* y0 (* z (- (* b k) (* c y3))))
(if (<= y1 2.6e-8)
(* a (* b (- (* x y) (* z t))))
(if (<= y1 1.8e+136) t_1 (* i (* x (- (* j y1) (* y c))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (y5 * ((a * y2) - (i * j)));
double tmp;
if (y1 <= -9.5e+85) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= -1.06e-272) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 1.05e-206) {
tmp = t_1;
} else if (y1 <= 1.45e-90) {
tmp = y0 * (z * ((b * k) - (c * y3)));
} else if (y1 <= 2.6e-8) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y1 <= 1.8e+136) {
tmp = t_1;
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = t * (y5 * ((a * y2) - (i * j)))
if (y1 <= (-9.5d+85)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y1 <= (-1.06d-272)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 1.05d-206) then
tmp = t_1
else if (y1 <= 1.45d-90) then
tmp = y0 * (z * ((b * k) - (c * y3)))
else if (y1 <= 2.6d-8) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y1 <= 1.8d+136) then
tmp = t_1
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (y5 * ((a * y2) - (i * j)));
double tmp;
if (y1 <= -9.5e+85) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= -1.06e-272) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 1.05e-206) {
tmp = t_1;
} else if (y1 <= 1.45e-90) {
tmp = y0 * (z * ((b * k) - (c * y3)));
} else if (y1 <= 2.6e-8) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y1 <= 1.8e+136) {
tmp = t_1;
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = t * (y5 * ((a * y2) - (i * j))) tmp = 0 if y1 <= -9.5e+85: tmp = i * (y1 * ((x * j) - (z * k))) elif y1 <= -1.06e-272: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 1.05e-206: tmp = t_1 elif y1 <= 1.45e-90: tmp = y0 * (z * ((b * k) - (c * y3))) elif y1 <= 2.6e-8: tmp = a * (b * ((x * y) - (z * t))) elif y1 <= 1.8e+136: tmp = t_1 else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))) tmp = 0.0 if (y1 <= -9.5e+85) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y1 <= -1.06e-272) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 1.05e-206) tmp = t_1; elseif (y1 <= 1.45e-90) tmp = Float64(y0 * Float64(z * Float64(Float64(b * k) - Float64(c * y3)))); elseif (y1 <= 2.6e-8) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y1 <= 1.8e+136) tmp = t_1; else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = t * (y5 * ((a * y2) - (i * j))); tmp = 0.0; if (y1 <= -9.5e+85) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y1 <= -1.06e-272) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 1.05e-206) tmp = t_1; elseif (y1 <= 1.45e-90) tmp = y0 * (z * ((b * k) - (c * y3))); elseif (y1 <= 2.6e-8) tmp = a * (b * ((x * y) - (z * t))); elseif (y1 <= 1.8e+136) tmp = t_1; else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -9.5e+85], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.06e-272], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.05e-206], t$95$1, If[LessEqual[y1, 1.45e-90], N[(y0 * N[(z * N[(N[(b * k), $MachinePrecision] - N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.6e-8], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.8e+136], t$95$1, N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{if}\;y1 \leq -9.5 \cdot 10^{+85}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq -1.06 \cdot 10^{-272}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 1.05 \cdot 10^{-206}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 1.45 \cdot 10^{-90}:\\
\;\;\;\;y0 \cdot \left(z \cdot \left(b \cdot k - c \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 2.6 \cdot 10^{-8}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y1 \leq 1.8 \cdot 10^{+136}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if y1 < -9.49999999999999945e85Initial program 16.2%
Taylor expanded in i around -inf 47.3%
Taylor expanded in y1 around inf 49.9%
if -9.49999999999999945e85 < y1 < -1.05999999999999994e-272Initial program 35.9%
Taylor expanded in j around inf 50.0%
Taylor expanded in y0 around inf 46.6%
if -1.05999999999999994e-272 < y1 < 1.05000000000000005e-206 or 2.6000000000000001e-8 < y1 < 1.80000000000000003e136Initial program 31.9%
Taylor expanded in t around inf 44.1%
Taylor expanded in y5 around -inf 42.9%
associate-*r*42.9%
neg-mul-142.9%
Simplified42.9%
if 1.05000000000000005e-206 < y1 < 1.44999999999999992e-90Initial program 37.4%
Taylor expanded in z around -inf 69.6%
Taylor expanded in y0 around inf 54.5%
if 1.44999999999999992e-90 < y1 < 2.6000000000000001e-8Initial program 33.3%
Taylor expanded in b around inf 50.6%
Taylor expanded in a around inf 67.8%
if 1.80000000000000003e136 < y1 Initial program 8.3%
Taylor expanded in i around -inf 30.8%
Taylor expanded in x around inf 50.5%
Final simplification49.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -3.9e+152)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= c -1.6e-69)
(* a (* b (- (* x y) (* z t))))
(if (<= c 5.5e-164)
(* j (* i (- (* x y1) (* t y5))))
(if (<= c 1.06e+19)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= c 2.6e+192)
(* k (* y4 (- (* y1 y2) (* y b))))
(* c (* t (- (* z i) (* y2 y4))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -3.9e+152) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (c <= -1.6e-69) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (c <= 5.5e-164) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (c <= 1.06e+19) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (c <= 2.6e+192) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else {
tmp = c * (t * ((z * i) - (y2 * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (c <= (-3.9d+152)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (c <= (-1.6d-69)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (c <= 5.5d-164) then
tmp = j * (i * ((x * y1) - (t * y5)))
else if (c <= 1.06d+19) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (c <= 2.6d+192) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else
tmp = c * (t * ((z * i) - (y2 * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -3.9e+152) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (c <= -1.6e-69) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (c <= 5.5e-164) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (c <= 1.06e+19) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (c <= 2.6e+192) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else {
tmp = c * (t * ((z * i) - (y2 * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if c <= -3.9e+152: tmp = t * (y4 * ((b * j) - (c * y2))) elif c <= -1.6e-69: tmp = a * (b * ((x * y) - (z * t))) elif c <= 5.5e-164: tmp = j * (i * ((x * y1) - (t * y5))) elif c <= 1.06e+19: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif c <= 2.6e+192: tmp = k * (y4 * ((y1 * y2) - (y * b))) else: tmp = c * (t * ((z * i) - (y2 * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -3.9e+152) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (c <= -1.6e-69) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (c <= 5.5e-164) tmp = Float64(j * Float64(i * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (c <= 1.06e+19) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (c <= 2.6e+192) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); else tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (c <= -3.9e+152) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (c <= -1.6e-69) tmp = a * (b * ((x * y) - (z * t))); elseif (c <= 5.5e-164) tmp = j * (i * ((x * y1) - (t * y5))); elseif (c <= 1.06e+19) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (c <= 2.6e+192) tmp = k * (y4 * ((y1 * y2) - (y * b))); else tmp = c * (t * ((z * i) - (y2 * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -3.9e+152], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.6e-69], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e-164], N[(j * N[(i * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.06e+19], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.6e+192], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -3.9 \cdot 10^{+152}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq -1.6 \cdot 10^{-69}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;c \leq 5.5 \cdot 10^{-164}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;c \leq 1.06 \cdot 10^{+19}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq 2.6 \cdot 10^{+192}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if c < -3.90000000000000011e152Initial program 19.9%
Taylor expanded in t around inf 40.4%
Taylor expanded in y4 around inf 50.6%
if -3.90000000000000011e152 < c < -1.59999999999999999e-69Initial program 31.7%
Taylor expanded in b around inf 42.0%
Taylor expanded in a around inf 57.0%
if -1.59999999999999999e-69 < c < 5.50000000000000027e-164Initial program 32.3%
Taylor expanded in j around inf 46.2%
Taylor expanded in i around -inf 40.2%
mul-1-neg40.2%
Simplified40.2%
if 5.50000000000000027e-164 < c < 1.06e19Initial program 23.5%
Taylor expanded in j around inf 47.1%
Taylor expanded in y3 around inf 44.0%
neg-mul-144.0%
distribute-rgt-neg-in44.0%
Simplified44.0%
if 1.06e19 < c < 2.60000000000000003e192Initial program 26.6%
Taylor expanded in y2 around inf 37.4%
associate-*r*34.8%
*-commutative34.8%
Simplified34.8%
Taylor expanded in k around inf 43.4%
Taylor expanded in y4 around inf 42.9%
+-commutative42.9%
mul-1-neg42.9%
unsub-neg42.9%
Simplified42.9%
if 2.60000000000000003e192 < c Initial program 17.8%
Taylor expanded in t around inf 43.9%
Taylor expanded in c around inf 49.3%
Final simplification46.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -8.2e+85)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y1 6.8e-248)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 32000000.0)
(* a (- (* y5 (- (* t y2) (* y y3))) (* x (* y1 y2))))
(if (<= y1 1.22e+180)
(* j (* y4 (* b (- t (* y1 (/ y3 b))))))
(* i (* x (- (* j y1) (* y c)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -8.2e+85) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= 6.8e-248) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 32000000.0) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else if (y1 <= 1.22e+180) {
tmp = j * (y4 * (b * (t - (y1 * (y3 / b)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-8.2d+85)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y1 <= 6.8d-248) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 32000000.0d0) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)))
else if (y1 <= 1.22d+180) then
tmp = j * (y4 * (b * (t - (y1 * (y3 / b)))))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -8.2e+85) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= 6.8e-248) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 32000000.0) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2)));
} else if (y1 <= 1.22e+180) {
tmp = j * (y4 * (b * (t - (y1 * (y3 / b)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -8.2e+85: tmp = i * (y1 * ((x * j) - (z * k))) elif y1 <= 6.8e-248: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 32000000.0: tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))) elif y1 <= 1.22e+180: tmp = j * (y4 * (b * (t - (y1 * (y3 / b))))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -8.2e+85) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y1 <= 6.8e-248) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 32000000.0) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(x * Float64(y1 * y2)))); elseif (y1 <= 1.22e+180) tmp = Float64(j * Float64(y4 * Float64(b * Float64(t - Float64(y1 * Float64(y3 / b)))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -8.2e+85) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y1 <= 6.8e-248) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 32000000.0) tmp = a * ((y5 * ((t * y2) - (y * y3))) - (x * (y1 * y2))); elseif (y1 <= 1.22e+180) tmp = j * (y4 * (b * (t - (y1 * (y3 / b))))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -8.2e+85], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.8e-248], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 32000000.0], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.22e+180], N[(j * N[(y4 * N[(b * N[(t - N[(y1 * N[(y3 / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -8.2 \cdot 10^{+85}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 6.8 \cdot 10^{-248}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 32000000:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) - x \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 1.22 \cdot 10^{+180}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(b \cdot \left(t - y1 \cdot \frac{y3}{b}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if y1 < -8.19999999999999957e85Initial program 16.2%
Taylor expanded in i around -inf 47.3%
Taylor expanded in y1 around inf 49.9%
if -8.19999999999999957e85 < y1 < 6.7999999999999996e-248Initial program 36.4%
Taylor expanded in j around inf 49.6%
Taylor expanded in y0 around inf 43.0%
if 6.7999999999999996e-248 < y1 < 3.2e7Initial program 36.8%
Taylor expanded in y2 around inf 45.0%
associate-*r*43.1%
*-commutative43.1%
Simplified43.1%
Taylor expanded in a around -inf 48.9%
associate-*r*48.9%
neg-mul-148.9%
Simplified48.9%
if 3.2e7 < y1 < 1.21999999999999996e180Initial program 13.9%
Taylor expanded in j around inf 31.2%
Taylor expanded in y4 around inf 40.6%
Taylor expanded in b around inf 45.9%
mul-1-neg45.9%
unsub-neg45.9%
associate-/l*45.9%
Simplified45.9%
if 1.21999999999999996e180 < y1 Initial program 12.5%
Taylor expanded in i around -inf 37.8%
Taylor expanded in x around inf 58.9%
Final simplification47.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -4.25e-35)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y5 1.3e-44)
(* t (* z (- (* c i) (* a b))))
(if (<= y5 3.8e+113)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= y5 2e+250)
(* j (* y0 (- (* y3 y5) (* x b))))
(* b (* y (- (* x a) (* k y4)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -4.25e-35) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y5 <= 1.3e-44) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y5 <= 3.8e+113) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y5 <= 2e+250) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-4.25d-35)) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y5 <= 1.3d-44) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y5 <= 3.8d+113) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (y5 <= 2d+250) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = b * (y * ((x * a) - (k * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -4.25e-35) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y5 <= 1.3e-44) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y5 <= 3.8e+113) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y5 <= 2e+250) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -4.25e-35: tmp = t * (y5 * ((a * y2) - (i * j))) elif y5 <= 1.3e-44: tmp = t * (z * ((c * i) - (a * b))) elif y5 <= 3.8e+113: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif y5 <= 2e+250: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = b * (y * ((x * a) - (k * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -4.25e-35) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y5 <= 1.3e-44) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y5 <= 3.8e+113) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (y5 <= 2e+250) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -4.25e-35) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y5 <= 1.3e-44) tmp = t * (z * ((c * i) - (a * b))); elseif (y5 <= 3.8e+113) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (y5 <= 2e+250) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = b * (y * ((x * a) - (k * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -4.25e-35], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.3e-44], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.8e+113], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2e+250], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -4.25 \cdot 10^{-35}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 1.3 \cdot 10^{-44}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y5 \leq 3.8 \cdot 10^{+113}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 2 \cdot 10^{+250}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\end{array}
\end{array}
if y5 < -4.2500000000000001e-35Initial program 23.6%
Taylor expanded in t around inf 34.3%
Taylor expanded in y5 around -inf 47.3%
associate-*r*47.3%
neg-mul-147.3%
Simplified47.3%
if -4.2500000000000001e-35 < y5 < 1.2999999999999999e-44Initial program 27.9%
Taylor expanded in t around inf 46.6%
Taylor expanded in z around inf 41.3%
associate-*r*41.3%
neg-mul-141.3%
Simplified41.3%
if 1.2999999999999999e-44 < y5 < 3.8000000000000003e113Initial program 30.8%
Taylor expanded in j around inf 36.9%
Taylor expanded in y1 around -inf 43.1%
associate-*r*43.1%
neg-mul-143.1%
Simplified43.1%
if 3.8000000000000003e113 < y5 < 1.9999999999999998e250Initial program 37.5%
Taylor expanded in j around inf 46.3%
Taylor expanded in y0 around inf 59.0%
if 1.9999999999999998e250 < y5 Initial program 13.3%
Taylor expanded in b around inf 40.4%
Taylor expanded in y around inf 66.8%
Final simplification46.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -1.9e+86)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y1 -1.05e-285)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 2.9e-8)
(* a (* b (- (* x y) (* z t))))
(if (<= y1 1.45e+136)
(* t (* y5 (- (* a y2) (* i j))))
(* i (* x (- (* j y1) (* y c)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -1.9e+86) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= -1.05e-285) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 2.9e-8) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y1 <= 1.45e+136) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-1.9d+86)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y1 <= (-1.05d-285)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 2.9d-8) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y1 <= 1.45d+136) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -1.9e+86) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y1 <= -1.05e-285) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 2.9e-8) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y1 <= 1.45e+136) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -1.9e+86: tmp = i * (y1 * ((x * j) - (z * k))) elif y1 <= -1.05e-285: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 2.9e-8: tmp = a * (b * ((x * y) - (z * t))) elif y1 <= 1.45e+136: tmp = t * (y5 * ((a * y2) - (i * j))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -1.9e+86) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y1 <= -1.05e-285) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 2.9e-8) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y1 <= 1.45e+136) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -1.9e+86) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y1 <= -1.05e-285) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 2.9e-8) tmp = a * (b * ((x * y) - (z * t))); elseif (y1 <= 1.45e+136) tmp = t * (y5 * ((a * y2) - (i * j))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -1.9e+86], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.05e-285], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.9e-8], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.45e+136], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -1.9 \cdot 10^{+86}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq -1.05 \cdot 10^{-285}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 2.9 \cdot 10^{-8}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y1 \leq 1.45 \cdot 10^{+136}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if y1 < -1.89999999999999989e86Initial program 16.2%
Taylor expanded in i around -inf 47.3%
Taylor expanded in y1 around inf 49.9%
if -1.89999999999999989e86 < y1 < -1.04999999999999992e-285Initial program 35.8%
Taylor expanded in j around inf 49.4%
Taylor expanded in y0 around inf 46.1%
if -1.04999999999999992e-285 < y1 < 2.9000000000000002e-8Initial program 36.7%
Taylor expanded in b around inf 38.7%
Taylor expanded in a around inf 40.6%
if 2.9000000000000002e-8 < y1 < 1.44999999999999987e136Initial program 25.0%
Taylor expanded in t around inf 47.1%
Taylor expanded in y5 around -inf 43.8%
associate-*r*43.8%
neg-mul-143.8%
Simplified43.8%
if 1.44999999999999987e136 < y1 Initial program 8.3%
Taylor expanded in i around -inf 30.8%
Taylor expanded in x around inf 50.5%
Final simplification45.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -4.8e-35)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y5 9.2e-45)
(* t (* z (- (* c i) (* a b))))
(if (<= y5 8.8e+113)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= y5 2.9e+243)
(* j (* y0 (- (* y3 y5) (* x b))))
(* i (* k (* y y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -4.8e-35) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y5 <= 9.2e-45) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y5 <= 8.8e+113) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y5 <= 2.9e+243) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = i * (k * (y * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-4.8d-35)) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y5 <= 9.2d-45) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y5 <= 8.8d+113) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (y5 <= 2.9d+243) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = i * (k * (y * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -4.8e-35) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y5 <= 9.2e-45) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y5 <= 8.8e+113) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y5 <= 2.9e+243) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = i * (k * (y * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -4.8e-35: tmp = t * (y5 * ((a * y2) - (i * j))) elif y5 <= 9.2e-45: tmp = t * (z * ((c * i) - (a * b))) elif y5 <= 8.8e+113: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif y5 <= 2.9e+243: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = i * (k * (y * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -4.8e-35) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y5 <= 9.2e-45) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y5 <= 8.8e+113) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (y5 <= 2.9e+243) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(i * Float64(k * Float64(y * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -4.8e-35) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y5 <= 9.2e-45) tmp = t * (z * ((c * i) - (a * b))); elseif (y5 <= 8.8e+113) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (y5 <= 2.9e+243) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = i * (k * (y * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -4.8e-35], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9.2e-45], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 8.8e+113], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.9e+243], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -4.8 \cdot 10^{-35}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 9.2 \cdot 10^{-45}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y5 \leq 8.8 \cdot 10^{+113}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 2.9 \cdot 10^{+243}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -4.8000000000000003e-35Initial program 23.6%
Taylor expanded in t around inf 34.3%
Taylor expanded in y5 around -inf 47.3%
associate-*r*47.3%
neg-mul-147.3%
Simplified47.3%
if -4.8000000000000003e-35 < y5 < 9.19999999999999967e-45Initial program 27.9%
Taylor expanded in t around inf 46.6%
Taylor expanded in z around inf 41.3%
associate-*r*41.3%
neg-mul-141.3%
Simplified41.3%
if 9.19999999999999967e-45 < y5 < 8.80000000000000041e113Initial program 30.8%
Taylor expanded in j around inf 36.9%
Taylor expanded in y1 around -inf 43.1%
associate-*r*43.1%
neg-mul-143.1%
Simplified43.1%
if 8.80000000000000041e113 < y5 < 2.90000000000000006e243Initial program 37.5%
Taylor expanded in j around inf 46.3%
Taylor expanded in y0 around inf 59.0%
if 2.90000000000000006e243 < y5 Initial program 13.3%
Taylor expanded in y2 around inf 13.3%
associate-*r*13.3%
*-commutative13.3%
Simplified13.3%
Taylor expanded in k around inf 34.7%
Taylor expanded in i around inf 54.1%
Final simplification45.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -1.25e+35)
(* a (* b (- (* x y) (* z t))))
(if (<= y -5.8e-278)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= y 1.45e-172)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y 9.8e+126)
(* j (* y1 (- (* x i) (* y3 y4))))
(* b (* x (- (* y a) (* j y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.25e+35) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -5.8e-278) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y <= 1.45e-172) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y <= 9.8e+126) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-1.25d+35)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y <= (-5.8d-278)) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (y <= 1.45d-172) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y <= 9.8d+126) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.25e+35) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -5.8e-278) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y <= 1.45e-172) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y <= 9.8e+126) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -1.25e+35: tmp = a * (b * ((x * y) - (z * t))) elif y <= -5.8e-278: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif y <= 1.45e-172: tmp = t * (y5 * ((a * y2) - (i * j))) elif y <= 9.8e+126: tmp = j * (y1 * ((x * i) - (y3 * y4))) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -1.25e+35) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y <= -5.8e-278) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (y <= 1.45e-172) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y <= 9.8e+126) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -1.25e+35) tmp = a * (b * ((x * y) - (z * t))); elseif (y <= -5.8e-278) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (y <= 1.45e-172) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y <= 9.8e+126) tmp = j * (y1 * ((x * i) - (y3 * y4))); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1.25e+35], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -5.8e-278], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.45e-172], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.8e+126], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.25 \cdot 10^{+35}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y \leq -5.8 \cdot 10^{-278}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;y \leq 1.45 \cdot 10^{-172}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y \leq 9.8 \cdot 10^{+126}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -1.25000000000000005e35Initial program 23.6%
Taylor expanded in b around inf 35.7%
Taylor expanded in a around inf 44.8%
if -1.25000000000000005e35 < y < -5.8e-278Initial program 26.0%
Taylor expanded in j around inf 45.6%
Taylor expanded in y3 around inf 41.7%
neg-mul-141.7%
distribute-rgt-neg-in41.7%
Simplified41.7%
if -5.8e-278 < y < 1.44999999999999999e-172Initial program 36.1%
Taylor expanded in t around inf 57.0%
Taylor expanded in y5 around -inf 42.4%
associate-*r*42.4%
neg-mul-142.4%
Simplified42.4%
if 1.44999999999999999e-172 < y < 9.80000000000000002e126Initial program 30.8%
Taylor expanded in j around inf 48.6%
Taylor expanded in y1 around -inf 41.4%
associate-*r*41.4%
neg-mul-141.4%
Simplified41.4%
if 9.80000000000000002e126 < y Initial program 19.4%
Taylor expanded in b around inf 38.7%
Taylor expanded in x around inf 58.5%
Final simplification44.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -7.2e+70)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y2 -2.05e-169)
(* (- j) (* y1 (* y3 y4)))
(if (<= y2 1.85e+20)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 5e+162)
(* j (* y0 (- (* y3 y5) (* x b))))
(* (* 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 tmp;
if (y2 <= -7.2e+70) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y2 <= -2.05e-169) {
tmp = -j * (y1 * (y3 * y4));
} else if (y2 <= 1.85e+20) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 5e+162) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} 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) :: tmp
if (y2 <= (-7.2d+70)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y2 <= (-2.05d-169)) then
tmp = -j * (y1 * (y3 * y4))
else if (y2 <= 1.85d+20) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 5d+162) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
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 tmp;
if (y2 <= -7.2e+70) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y2 <= -2.05e-169) {
tmp = -j * (y1 * (y3 * y4));
} else if (y2 <= 1.85e+20) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 5e+162) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} 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): tmp = 0 if y2 <= -7.2e+70: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y2 <= -2.05e-169: tmp = -j * (y1 * (y3 * y4)) elif y2 <= 1.85e+20: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 5e+162: tmp = j * (y0 * ((y3 * y5) - (x * b))) 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) tmp = 0.0 if (y2 <= -7.2e+70) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y2 <= -2.05e-169) tmp = Float64(Float64(-j) * Float64(y1 * Float64(y3 * y4))); elseif (y2 <= 1.85e+20) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 5e+162) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(Float64(k * 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) tmp = 0.0; if (y2 <= -7.2e+70) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y2 <= -2.05e-169) tmp = -j * (y1 * (y3 * y4)); elseif (y2 <= 1.85e+20) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 5e+162) tmp = j * (y0 * ((y3 * y5) - (x * b))); 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_] := If[LessEqual[y2, -7.2e+70], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.05e-169], N[((-j) * N[(y1 * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.85e+20], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5e+162], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(k * y2), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -7.2 \cdot 10^{+70}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.05 \cdot 10^{-169}:\\
\;\;\;\;\left(-j\right) \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 1.85 \cdot 10^{+20}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 5 \cdot 10^{+162}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\end{array}
\end{array}
if y2 < -7.1999999999999999e70Initial program 17.5%
Taylor expanded in t around inf 40.6%
Taylor expanded in y2 around inf 53.4%
if -7.1999999999999999e70 < y2 < -2.0499999999999999e-169Initial program 32.2%
Taylor expanded in j around inf 32.8%
Taylor expanded in y4 around inf 32.5%
Taylor expanded in y1 around inf 32.3%
associate-*r*32.3%
mul-1-neg32.3%
Simplified32.3%
if -2.0499999999999999e-169 < y2 < 1.85e20Initial program 32.5%
Taylor expanded in j around inf 52.0%
Taylor expanded in t around inf 39.8%
if 1.85e20 < y2 < 4.9999999999999997e162Initial program 23.5%
Taylor expanded in j around inf 47.7%
Taylor expanded in y0 around inf 45.1%
if 4.9999999999999997e162 < y2 Initial program 20.9%
Taylor expanded in y2 around inf 31.0%
associate-*r*33.8%
*-commutative33.8%
Simplified33.8%
Taylor expanded in k around inf 62.2%
Taylor expanded in y around 0 64.9%
associate-*r*53.0%
Simplified53.0%
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 (* j (* x (- (* i y1) (* b y0))))))
(if (<= y1 -6.9e+109)
t_1
(if (<= y1 -3.4e+71)
(* y4 (* k (- (* y1 y2) (* y b))))
(if (<= y1 3.8e-172)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 6.8e+104) (* t (* y2 (- (* a y5) (* c 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 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -6.9e+109) {
tmp = t_1;
} else if (y1 <= -3.4e+71) {
tmp = y4 * (k * ((y1 * y2) - (y * b)));
} else if (y1 <= 3.8e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 6.8e+104) {
tmp = t * (y2 * ((a * y5) - (c * 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 = j * (x * ((i * y1) - (b * y0)))
if (y1 <= (-6.9d+109)) then
tmp = t_1
else if (y1 <= (-3.4d+71)) then
tmp = y4 * (k * ((y1 * y2) - (y * b)))
else if (y1 <= 3.8d-172) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 6.8d+104) then
tmp = t * (y2 * ((a * y5) - (c * 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 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -6.9e+109) {
tmp = t_1;
} else if (y1 <= -3.4e+71) {
tmp = y4 * (k * ((y1 * y2) - (y * b)));
} else if (y1 <= 3.8e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 6.8e+104) {
tmp = t * (y2 * ((a * y5) - (c * 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 = j * (x * ((i * y1) - (b * y0))) tmp = 0 if y1 <= -6.9e+109: tmp = t_1 elif y1 <= -3.4e+71: tmp = y4 * (k * ((y1 * y2) - (y * b))) elif y1 <= 3.8e-172: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 6.8e+104: tmp = t * (y2 * ((a * y5) - (c * 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(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y1 <= -6.9e+109) tmp = t_1; elseif (y1 <= -3.4e+71) tmp = Float64(y4 * Float64(k * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (y1 <= 3.8e-172) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 6.8e+104) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * 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 = j * (x * ((i * y1) - (b * y0))); tmp = 0.0; if (y1 <= -6.9e+109) tmp = t_1; elseif (y1 <= -3.4e+71) tmp = y4 * (k * ((y1 * y2) - (y * b))); elseif (y1 <= 3.8e-172) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 6.8e+104) tmp = t * (y2 * ((a * y5) - (c * 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[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -6.9e+109], t$95$1, If[LessEqual[y1, -3.4e+71], N[(y4 * N[(k * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.8e-172], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.8e+104], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y1 \leq -6.9 \cdot 10^{+109}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -3.4 \cdot 10^{+71}:\\
\;\;\;\;y4 \cdot \left(k \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 3.8 \cdot 10^{-172}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 6.8 \cdot 10^{+104}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -6.8999999999999999e109 or 6.7999999999999994e104 < y1 Initial program 15.6%
Taylor expanded in j around inf 39.9%
Taylor expanded in x around inf 46.5%
if -6.8999999999999999e109 < y1 < -3.3999999999999998e71Initial program 28.2%
Taylor expanded in y4 around inf 46.4%
Taylor expanded in k around inf 47.2%
+-commutative47.2%
mul-1-neg47.2%
unsub-neg47.2%
Simplified47.2%
if -3.3999999999999998e71 < y1 < 3.79999999999999987e-172Initial program 36.4%
Taylor expanded in j around inf 49.8%
Taylor expanded in y0 around inf 40.3%
if 3.79999999999999987e-172 < y1 < 6.7999999999999994e104Initial program 26.1%
Taylor expanded in t around inf 39.6%
Taylor expanded in y2 around inf 39.8%
Final simplification42.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -3.3e-19)
(* a (* b (- (* x y) (* z t))))
(if (<= y -1.16e-157)
(* t (* y4 (* c (- y2))))
(if (<= y 4.3e-97)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y 1.85e+116)
(* (- j) (* y1 (* y3 y4)))
(* b (* x (- (* y a) (* j y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3.3e-19) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -1.16e-157) {
tmp = t * (y4 * (c * -y2));
} else if (y <= 4.3e-97) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1.85e+116) {
tmp = -j * (y1 * (y3 * y4));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-3.3d-19)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y <= (-1.16d-157)) then
tmp = t * (y4 * (c * -y2))
else if (y <= 4.3d-97) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y <= 1.85d+116) then
tmp = -j * (y1 * (y3 * y4))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3.3e-19) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -1.16e-157) {
tmp = t * (y4 * (c * -y2));
} else if (y <= 4.3e-97) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1.85e+116) {
tmp = -j * (y1 * (y3 * y4));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -3.3e-19: tmp = a * (b * ((x * y) - (z * t))) elif y <= -1.16e-157: tmp = t * (y4 * (c * -y2)) elif y <= 4.3e-97: tmp = b * (y0 * ((z * k) - (x * j))) elif y <= 1.85e+116: tmp = -j * (y1 * (y3 * y4)) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -3.3e-19) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y <= -1.16e-157) tmp = Float64(t * Float64(y4 * Float64(c * Float64(-y2)))); elseif (y <= 4.3e-97) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y <= 1.85e+116) tmp = Float64(Float64(-j) * Float64(y1 * Float64(y3 * y4))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -3.3e-19) tmp = a * (b * ((x * y) - (z * t))); elseif (y <= -1.16e-157) tmp = t * (y4 * (c * -y2)); elseif (y <= 4.3e-97) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y <= 1.85e+116) tmp = -j * (y1 * (y3 * y4)); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -3.3e-19], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.16e-157], N[(t * N[(y4 * N[(c * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.3e-97], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.85e+116], N[((-j) * N[(y1 * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.3 \cdot 10^{-19}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y \leq -1.16 \cdot 10^{-157}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y \leq 4.3 \cdot 10^{-97}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y \leq 1.85 \cdot 10^{+116}:\\
\;\;\;\;\left(-j\right) \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -3.2999999999999998e-19Initial program 23.1%
Taylor expanded in b around inf 37.6%
Taylor expanded in a around inf 41.8%
if -3.2999999999999998e-19 < y < -1.15999999999999992e-157Initial program 20.3%
Taylor expanded in t around inf 36.3%
Taylor expanded in y4 around inf 41.0%
Taylor expanded in b around 0 37.2%
neg-mul-137.2%
distribute-rgt-neg-in37.2%
Simplified37.2%
if -1.15999999999999992e-157 < y < 4.3e-97Initial program 36.1%
Taylor expanded in b around inf 42.1%
Taylor expanded in y0 around inf 34.8%
if 4.3e-97 < y < 1.8500000000000001e116Initial program 27.8%
Taylor expanded in j around inf 52.6%
Taylor expanded in y4 around inf 40.7%
Taylor expanded in y1 around inf 32.4%
associate-*r*32.4%
mul-1-neg32.4%
Simplified32.4%
if 1.8500000000000001e116 < y Initial program 19.4%
Taylor expanded in b around inf 38.7%
Taylor expanded in x around inf 58.5%
Final simplification39.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -1.35e-19)
(* a (* b (- (* x y) (* z t))))
(if (<= y -7.5e-130)
(* t (* y4 (* c (- y2))))
(if (<= y 4.5e+25)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y 2.4e+116)
(* (- j) (* y1 (* y3 y4)))
(* b (* x (- (* y a) (* j y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.35e-19) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -7.5e-130) {
tmp = t * (y4 * (c * -y2));
} else if (y <= 4.5e+25) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y <= 2.4e+116) {
tmp = -j * (y1 * (y3 * y4));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-1.35d-19)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y <= (-7.5d-130)) then
tmp = t * (y4 * (c * -y2))
else if (y <= 4.5d+25) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y <= 2.4d+116) then
tmp = -j * (y1 * (y3 * y4))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.35e-19) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -7.5e-130) {
tmp = t * (y4 * (c * -y2));
} else if (y <= 4.5e+25) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y <= 2.4e+116) {
tmp = -j * (y1 * (y3 * y4));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -1.35e-19: tmp = a * (b * ((x * y) - (z * t))) elif y <= -7.5e-130: tmp = t * (y4 * (c * -y2)) elif y <= 4.5e+25: tmp = b * (j * ((t * y4) - (x * y0))) elif y <= 2.4e+116: tmp = -j * (y1 * (y3 * y4)) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -1.35e-19) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y <= -7.5e-130) tmp = Float64(t * Float64(y4 * Float64(c * Float64(-y2)))); elseif (y <= 4.5e+25) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y <= 2.4e+116) tmp = Float64(Float64(-j) * Float64(y1 * Float64(y3 * y4))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -1.35e-19) tmp = a * (b * ((x * y) - (z * t))); elseif (y <= -7.5e-130) tmp = t * (y4 * (c * -y2)); elseif (y <= 4.5e+25) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y <= 2.4e+116) tmp = -j * (y1 * (y3 * y4)); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1.35e-19], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -7.5e-130], N[(t * N[(y4 * N[(c * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.5e+25], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+116], N[((-j) * N[(y1 * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.35 \cdot 10^{-19}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y \leq -7.5 \cdot 10^{-130}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y \leq 4.5 \cdot 10^{+25}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{+116}:\\
\;\;\;\;\left(-j\right) \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -1.35e-19Initial program 23.1%
Taylor expanded in b around inf 37.6%
Taylor expanded in a around inf 41.8%
if -1.35e-19 < y < -7.4999999999999994e-130Initial program 11.1%
Taylor expanded in t around inf 33.6%
Taylor expanded in y4 around inf 40.0%
Taylor expanded in b around 0 40.3%
neg-mul-140.3%
distribute-rgt-neg-in40.3%
Simplified40.3%
if -7.4999999999999994e-130 < y < 4.5000000000000003e25Initial program 36.2%
Taylor expanded in j around inf 46.6%
Taylor expanded in b around inf 27.9%
if 4.5000000000000003e25 < y < 2.4e116Initial program 8.9%
Taylor expanded in j around inf 66.9%
Taylor expanded in y4 around inf 58.7%
Taylor expanded in y1 around inf 59.3%
associate-*r*59.3%
mul-1-neg59.3%
Simplified59.3%
if 2.4e116 < y Initial program 19.4%
Taylor expanded in b around inf 38.7%
Taylor expanded in x around inf 58.5%
Final simplification38.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* x (- (* i y1) (* b y0))))))
(if (<= y1 -7.5e+85)
t_1
(if (<= y1 4.5e-172)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 6.8e+106) (* t (* y2 (- (* a y5) (* c 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 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -7.5e+85) {
tmp = t_1;
} else if (y1 <= 4.5e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 6.8e+106) {
tmp = t * (y2 * ((a * y5) - (c * 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 = j * (x * ((i * y1) - (b * y0)))
if (y1 <= (-7.5d+85)) then
tmp = t_1
else if (y1 <= 4.5d-172) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 6.8d+106) then
tmp = t * (y2 * ((a * y5) - (c * 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 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -7.5e+85) {
tmp = t_1;
} else if (y1 <= 4.5e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 6.8e+106) {
tmp = t * (y2 * ((a * y5) - (c * 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 = j * (x * ((i * y1) - (b * y0))) tmp = 0 if y1 <= -7.5e+85: tmp = t_1 elif y1 <= 4.5e-172: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 6.8e+106: tmp = t * (y2 * ((a * y5) - (c * 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(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y1 <= -7.5e+85) tmp = t_1; elseif (y1 <= 4.5e-172) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 6.8e+106) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * 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 = j * (x * ((i * y1) - (b * y0))); tmp = 0.0; if (y1 <= -7.5e+85) tmp = t_1; elseif (y1 <= 4.5e-172) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 6.8e+106) tmp = t * (y2 * ((a * y5) - (c * 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[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -7.5e+85], t$95$1, If[LessEqual[y1, 4.5e-172], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.8e+106], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y1 \leq -7.5 \cdot 10^{+85}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 4.5 \cdot 10^{-172}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 6.8 \cdot 10^{+106}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -7.49999999999999942e85 or 6.79999999999999989e106 < y1 Initial program 15.5%
Taylor expanded in j around inf 37.6%
Taylor expanded in x around inf 42.5%
if -7.49999999999999942e85 < y1 < 4.50000000000000004e-172Initial program 37.2%
Taylor expanded in j around inf 49.3%
Taylor expanded in y0 around inf 40.2%
if 4.50000000000000004e-172 < y1 < 6.79999999999999989e106Initial program 26.1%
Taylor expanded in t around inf 39.6%
Taylor expanded in y2 around inf 39.8%
Final simplification40.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* x (- (* i y1) (* b y0))))))
(if (<= y1 -8e+85)
t_1
(if (<= y1 -2.4e-286)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 2e+101) (* 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 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -8e+85) {
tmp = t_1;
} else if (y1 <= -2.4e-286) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 2e+101) {
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 = j * (x * ((i * y1) - (b * y0)))
if (y1 <= (-8d+85)) then
tmp = t_1
else if (y1 <= (-2.4d-286)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 2d+101) 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 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -8e+85) {
tmp = t_1;
} else if (y1 <= -2.4e-286) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 2e+101) {
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 = j * (x * ((i * y1) - (b * y0))) tmp = 0 if y1 <= -8e+85: tmp = t_1 elif y1 <= -2.4e-286: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 2e+101: 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(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y1 <= -8e+85) tmp = t_1; elseif (y1 <= -2.4e-286) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 2e+101) 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 = j * (x * ((i * y1) - (b * y0))); tmp = 0.0; if (y1 <= -8e+85) tmp = t_1; elseif (y1 <= -2.4e-286) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 2e+101) 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[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -8e+85], t$95$1, If[LessEqual[y1, -2.4e-286], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2e+101], 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 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y1 \leq -8 \cdot 10^{+85}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -2.4 \cdot 10^{-286}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 2 \cdot 10^{+101}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -8.0000000000000001e85 or 2e101 < y1 Initial program 16.2%
Taylor expanded in j around inf 36.8%
Taylor expanded in x around inf 41.7%
if -8.0000000000000001e85 < y1 < -2.39999999999999993e-286Initial program 35.8%
Taylor expanded in j around inf 49.4%
Taylor expanded in y0 around inf 46.1%
if -2.39999999999999993e-286 < y1 < 2e101Initial program 31.3%
Taylor expanded in b around inf 36.3%
Taylor expanded in a around inf 35.6%
Final simplification40.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -2e-18)
(* a (* b (- (* x y) (* z t))))
(if (<= y -1.25e-135)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y 2.4e+217)
(* j (* t (- (* b y4) (* i y5))))
(* b (* x (- (* y a) (* j y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2e-18) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -1.25e-135) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y <= 2.4e+217) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-2d-18)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y <= (-1.25d-135)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y <= 2.4d+217) then
tmp = j * (t * ((b * y4) - (i * y5)))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2e-18) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y <= -1.25e-135) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y <= 2.4e+217) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -2e-18: tmp = a * (b * ((x * y) - (z * t))) elif y <= -1.25e-135: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y <= 2.4e+217: tmp = j * (t * ((b * y4) - (i * y5))) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -2e-18) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y <= -1.25e-135) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y <= 2.4e+217) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -2e-18) tmp = a * (b * ((x * y) - (z * t))); elseif (y <= -1.25e-135) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y <= 2.4e+217) tmp = j * (t * ((b * y4) - (i * y5))); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2e-18], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.25e-135], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+217], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2 \cdot 10^{-18}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y \leq -1.25 \cdot 10^{-135}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{+217}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -2.0000000000000001e-18Initial program 22.1%
Taylor expanded in b around inf 38.1%
Taylor expanded in a around inf 42.3%
if -2.0000000000000001e-18 < y < -1.25000000000000005e-135Initial program 19.4%
Taylor expanded in y4 around inf 43.0%
Taylor expanded in c around inf 39.6%
if -1.25000000000000005e-135 < y < 2.3999999999999998e217Initial program 31.9%
Taylor expanded in j around inf 48.6%
Taylor expanded in t around inf 35.1%
if 2.3999999999999998e217 < y Initial program 21.1%
Taylor expanded in b around inf 36.8%
Taylor expanded in x around inf 68.4%
Final simplification40.1%
(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 (<= b -1.62e-7)
t_1
(if (<= b 7e+79)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= b 2.1e+218) t_1 (* b (* y0 (- (* z k) (* x j)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (b <= -1.62e-7) {
tmp = t_1;
} else if (b <= 7e+79) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (b <= 2.1e+218) {
tmp = t_1;
} else {
tmp = b * (y0 * ((z * k) - (x * j)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (b * ((x * y) - (z * t)))
if (b <= (-1.62d-7)) then
tmp = t_1
else if (b <= 7d+79) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (b <= 2.1d+218) then
tmp = t_1
else
tmp = b * (y0 * ((z * k) - (x * j)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (b <= -1.62e-7) {
tmp = t_1;
} else if (b <= 7e+79) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (b <= 2.1e+218) {
tmp = t_1;
} else {
tmp = b * (y0 * ((z * k) - (x * j)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if b <= -1.62e-7: tmp = t_1 elif b <= 7e+79: tmp = c * (y4 * ((y * y3) - (t * y2))) elif b <= 2.1e+218: tmp = t_1 else: tmp = b * (y0 * ((z * k) - (x * j))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (b <= -1.62e-7) tmp = t_1; elseif (b <= 7e+79) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (b <= 2.1e+218) tmp = t_1; else tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (b <= -1.62e-7) tmp = t_1; elseif (b <= 7e+79) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (b <= 2.1e+218) tmp = t_1; else tmp = b * (y0 * ((z * k) - (x * j))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.62e-7], t$95$1, If[LessEqual[b, 7e+79], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.1e+218], t$95$1, N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $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}\;b \leq -1.62 \cdot 10^{-7}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 7 \cdot 10^{+79}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;b \leq 2.1 \cdot 10^{+218}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if b < -1.6199999999999999e-7 or 6.99999999999999961e79 < b < 2.0999999999999999e218Initial program 28.7%
Taylor expanded in b around inf 44.6%
Taylor expanded in a around inf 46.0%
if -1.6199999999999999e-7 < b < 6.99999999999999961e79Initial program 26.1%
Taylor expanded in y4 around inf 36.3%
Taylor expanded in c around inf 33.3%
if 2.0999999999999999e218 < b Initial program 26.7%
Taylor expanded in b around inf 60.0%
Taylor expanded in y0 around inf 60.7%
Final simplification39.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (- k) (* y0 (* y2 y5)))))
(if (<= y2 -1e+255)
t_1
(if (<= y2 -6e+109)
(* k (* y1 (* y2 y4)))
(if (<= y2 3.9e+46) (* 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 = -k * (y0 * (y2 * y5));
double tmp;
if (y2 <= -1e+255) {
tmp = t_1;
} else if (y2 <= -6e+109) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= 3.9e+46) {
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 = -k * (y0 * (y2 * y5))
if (y2 <= (-1d+255)) then
tmp = t_1
else if (y2 <= (-6d+109)) then
tmp = k * (y1 * (y2 * y4))
else if (y2 <= 3.9d+46) 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 = -k * (y0 * (y2 * y5));
double tmp;
if (y2 <= -1e+255) {
tmp = t_1;
} else if (y2 <= -6e+109) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= 3.9e+46) {
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 = -k * (y0 * (y2 * y5)) tmp = 0 if y2 <= -1e+255: tmp = t_1 elif y2 <= -6e+109: tmp = k * (y1 * (y2 * y4)) elif y2 <= 3.9e+46: 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(Float64(-k) * Float64(y0 * Float64(y2 * y5))) tmp = 0.0 if (y2 <= -1e+255) tmp = t_1; elseif (y2 <= -6e+109) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y2 <= 3.9e+46) 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 = -k * (y0 * (y2 * y5)); tmp = 0.0; if (y2 <= -1e+255) tmp = t_1; elseif (y2 <= -6e+109) tmp = k * (y1 * (y2 * y4)); elseif (y2 <= 3.9e+46) 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[((-k) * N[(y0 * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1e+255], t$95$1, If[LessEqual[y2, -6e+109], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.9e+46], 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 := \left(-k\right) \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -1 \cdot 10^{+255}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -6 \cdot 10^{+109}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 3.9 \cdot 10^{+46}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -9.99999999999999988e254 or 3.89999999999999995e46 < y2 Initial program 23.5%
Taylor expanded in y2 around inf 31.8%
associate-*r*34.6%
*-commutative34.6%
Simplified34.6%
Taylor expanded in k around inf 51.3%
Taylor expanded in y0 around inf 40.8%
associate-*r*40.8%
neg-mul-140.8%
Simplified40.8%
if -9.99999999999999988e254 < y2 < -6.00000000000000031e109Initial program 19.2%
Taylor expanded in y2 around inf 26.9%
associate-*r*26.9%
*-commutative26.9%
Simplified26.9%
Taylor expanded in k around inf 50.7%
Taylor expanded in y1 around inf 50.5%
if -6.00000000000000031e109 < y2 < 3.89999999999999995e46Initial program 30.2%
Taylor expanded in b around inf 37.1%
Taylor expanded in a around inf 30.8%
Final simplification35.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -3e+53)
(* i (* k (* y y5)))
(if (<= y -3.5e-161)
(* t (* y4 (* c (- y2))))
(if (<= y 5.3e+113) (* j (* y4 (* y1 (- y3)))) (* i (* y5 (* y k)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3e+53) {
tmp = i * (k * (y * y5));
} else if (y <= -3.5e-161) {
tmp = t * (y4 * (c * -y2));
} else if (y <= 5.3e+113) {
tmp = j * (y4 * (y1 * -y3));
} else {
tmp = i * (y5 * (y * k));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-3d+53)) then
tmp = i * (k * (y * y5))
else if (y <= (-3.5d-161)) then
tmp = t * (y4 * (c * -y2))
else if (y <= 5.3d+113) then
tmp = j * (y4 * (y1 * -y3))
else
tmp = i * (y5 * (y * k))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3e+53) {
tmp = i * (k * (y * y5));
} else if (y <= -3.5e-161) {
tmp = t * (y4 * (c * -y2));
} else if (y <= 5.3e+113) {
tmp = j * (y4 * (y1 * -y3));
} else {
tmp = i * (y5 * (y * k));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -3e+53: tmp = i * (k * (y * y5)) elif y <= -3.5e-161: tmp = t * (y4 * (c * -y2)) elif y <= 5.3e+113: tmp = j * (y4 * (y1 * -y3)) else: tmp = i * (y5 * (y * k)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -3e+53) tmp = Float64(i * Float64(k * Float64(y * y5))); elseif (y <= -3.5e-161) tmp = Float64(t * Float64(y4 * Float64(c * Float64(-y2)))); elseif (y <= 5.3e+113) tmp = Float64(j * Float64(y4 * Float64(y1 * Float64(-y3)))); else tmp = Float64(i * Float64(y5 * Float64(y * k))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -3e+53) tmp = i * (k * (y * y5)); elseif (y <= -3.5e-161) tmp = t * (y4 * (c * -y2)); elseif (y <= 5.3e+113) tmp = j * (y4 * (y1 * -y3)); else tmp = i * (y5 * (y * k)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -3e+53], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -3.5e-161], N[(t * N[(y4 * N[(c * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.3e+113], N[(j * N[(y4 * N[(y1 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y5 * N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3 \cdot 10^{+53}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq -3.5 \cdot 10^{-161}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y \leq 5.3 \cdot 10^{+113}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y1 \cdot \left(-y3\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k\right)\right)\\
\end{array}
\end{array}
if y < -2.99999999999999998e53Initial program 23.5%
Taylor expanded in y2 around inf 29.8%
associate-*r*28.3%
*-commutative28.3%
Simplified28.3%
Taylor expanded in k around inf 39.9%
Taylor expanded in i around inf 36.9%
if -2.99999999999999998e53 < y < -3.5000000000000002e-161Initial program 20.2%
Taylor expanded in t around inf 37.7%
Taylor expanded in y4 around inf 31.1%
Taylor expanded in b around 0 28.8%
neg-mul-128.8%
distribute-rgt-neg-in28.8%
Simplified28.8%
if -3.5000000000000002e-161 < y < 5.29999999999999967e113Initial program 33.9%
Taylor expanded in j around inf 48.3%
Taylor expanded in y4 around inf 37.7%
Taylor expanded in y1 around inf 26.3%
mul-1-neg26.3%
associate-*r*27.0%
*-commutative27.0%
distribute-lft-neg-out27.0%
*-commutative27.0%
distribute-rgt-neg-in27.0%
Simplified27.0%
if 5.29999999999999967e113 < y Initial program 18.2%
Taylor expanded in y2 around inf 21.5%
associate-*r*24.6%
*-commutative24.6%
Simplified24.6%
Taylor expanded in k around inf 46.1%
Taylor expanded in i around inf 40.8%
associate-*r*43.8%
Simplified43.8%
Final simplification31.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* k (* y y5)))))
(if (<= y5 -1.75e+78)
t_1
(if (<= y5 3.3e-234)
(* j (* y4 (* y1 (- y3))))
(if (<= y5 2.7e-43) (* j (* y4 (* t b))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (k * (y * y5));
double tmp;
if (y5 <= -1.75e+78) {
tmp = t_1;
} else if (y5 <= 3.3e-234) {
tmp = j * (y4 * (y1 * -y3));
} else if (y5 <= 2.7e-43) {
tmp = j * (y4 * (t * b));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (k * (y * y5))
if (y5 <= (-1.75d+78)) then
tmp = t_1
else if (y5 <= 3.3d-234) then
tmp = j * (y4 * (y1 * -y3))
else if (y5 <= 2.7d-43) then
tmp = j * (y4 * (t * b))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (k * (y * y5));
double tmp;
if (y5 <= -1.75e+78) {
tmp = t_1;
} else if (y5 <= 3.3e-234) {
tmp = j * (y4 * (y1 * -y3));
} else if (y5 <= 2.7e-43) {
tmp = j * (y4 * (t * b));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (k * (y * y5)) tmp = 0 if y5 <= -1.75e+78: tmp = t_1 elif y5 <= 3.3e-234: tmp = j * (y4 * (y1 * -y3)) elif y5 <= 2.7e-43: tmp = j * (y4 * (t * b)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(k * Float64(y * y5))) tmp = 0.0 if (y5 <= -1.75e+78) tmp = t_1; elseif (y5 <= 3.3e-234) tmp = Float64(j * Float64(y4 * Float64(y1 * Float64(-y3)))); elseif (y5 <= 2.7e-43) tmp = Float64(j * Float64(y4 * Float64(t * b))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (k * (y * y5)); tmp = 0.0; if (y5 <= -1.75e+78) tmp = t_1; elseif (y5 <= 3.3e-234) tmp = j * (y4 * (y1 * -y3)); elseif (y5 <= 2.7e-43) tmp = j * (y4 * (t * b)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.75e+78], t$95$1, If[LessEqual[y5, 3.3e-234], N[(j * N[(y4 * N[(y1 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.7e-43], N[(j * N[(y4 * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{if}\;y5 \leq -1.75 \cdot 10^{+78}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 3.3 \cdot 10^{-234}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y1 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 2.7 \cdot 10^{-43}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(t \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -1.7500000000000001e78 or 2.69999999999999991e-43 < y5 Initial program 28.1%
Taylor expanded in y2 around inf 33.2%
associate-*r*32.4%
*-commutative32.4%
Simplified32.4%
Taylor expanded in k around inf 41.5%
Taylor expanded in i around inf 34.3%
if -1.7500000000000001e78 < y5 < 3.30000000000000014e-234Initial program 23.7%
Taylor expanded in j around inf 41.4%
Taylor expanded in y4 around inf 30.5%
Taylor expanded in y1 around inf 26.4%
mul-1-neg26.4%
associate-*r*25.5%
*-commutative25.5%
distribute-lft-neg-out25.5%
*-commutative25.5%
distribute-rgt-neg-in25.5%
Simplified25.5%
if 3.30000000000000014e-234 < y5 < 2.69999999999999991e-43Initial program 32.7%
Taylor expanded in j around inf 50.7%
Taylor expanded in y4 around inf 43.5%
Taylor expanded in y1 around 0 33.8%
Final simplification30.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= b -3.65e+233)
(* a (* (* x y) b))
(if (<= b -2.5e+28)
(* j (* y4 (* t b)))
(if (<= b 5.5e+91) (* i (* k (* y y5))) (* a (* y (* x b)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -3.65e+233) {
tmp = a * ((x * y) * b);
} else if (b <= -2.5e+28) {
tmp = j * (y4 * (t * b));
} else if (b <= 5.5e+91) {
tmp = i * (k * (y * y5));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (b <= (-3.65d+233)) then
tmp = a * ((x * y) * b)
else if (b <= (-2.5d+28)) then
tmp = j * (y4 * (t * b))
else if (b <= 5.5d+91) then
tmp = i * (k * (y * y5))
else
tmp = a * (y * (x * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -3.65e+233) {
tmp = a * ((x * y) * b);
} else if (b <= -2.5e+28) {
tmp = j * (y4 * (t * b));
} else if (b <= 5.5e+91) {
tmp = i * (k * (y * y5));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if b <= -3.65e+233: tmp = a * ((x * y) * b) elif b <= -2.5e+28: tmp = j * (y4 * (t * b)) elif b <= 5.5e+91: tmp = i * (k * (y * y5)) else: tmp = a * (y * (x * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (b <= -3.65e+233) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (b <= -2.5e+28) tmp = Float64(j * Float64(y4 * Float64(t * b))); elseif (b <= 5.5e+91) tmp = Float64(i * Float64(k * Float64(y * y5))); else tmp = Float64(a * Float64(y * Float64(x * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (b <= -3.65e+233) tmp = a * ((x * y) * b); elseif (b <= -2.5e+28) tmp = j * (y4 * (t * b)); elseif (b <= 5.5e+91) tmp = i * (k * (y * y5)); else tmp = a * (y * (x * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -3.65e+233], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.5e+28], N[(j * N[(y4 * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5.5e+91], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.65 \cdot 10^{+233}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;b \leq -2.5 \cdot 10^{+28}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(t \cdot b\right)\right)\\
\mathbf{elif}\;b \leq 5.5 \cdot 10^{+91}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\end{array}
\end{array}
if b < -3.65e233Initial program 14.8%
Taylor expanded in b around inf 57.9%
Taylor expanded in a around inf 71.8%
Taylor expanded in x around inf 64.7%
if -3.65e233 < b < -2.49999999999999979e28Initial program 30.8%
Taylor expanded in j around inf 46.5%
Taylor expanded in y4 around inf 34.6%
Taylor expanded in y1 around 0 32.4%
if -2.49999999999999979e28 < b < 5.4999999999999998e91Initial program 27.1%
Taylor expanded in y2 around inf 29.3%
associate-*r*28.7%
*-commutative28.7%
Simplified28.7%
Taylor expanded in k around inf 33.0%
Taylor expanded in i around inf 23.2%
if 5.4999999999999998e91 < b Initial program 27.8%
Taylor expanded in b around inf 51.5%
Taylor expanded in a around inf 41.6%
Taylor expanded in x around inf 30.9%
associate-*r*35.0%
Simplified35.0%
Final simplification29.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= b -8.6e+228)
(* a (* (* x y) b))
(if (<= b -6e+28)
(* j (* b (* t y4)))
(if (<= b 7.5e+91) (* i (* k (* y y5))) (* a (* y (* x b)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -8.6e+228) {
tmp = a * ((x * y) * b);
} else if (b <= -6e+28) {
tmp = j * (b * (t * y4));
} else if (b <= 7.5e+91) {
tmp = i * (k * (y * y5));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (b <= (-8.6d+228)) then
tmp = a * ((x * y) * b)
else if (b <= (-6d+28)) then
tmp = j * (b * (t * y4))
else if (b <= 7.5d+91) then
tmp = i * (k * (y * y5))
else
tmp = a * (y * (x * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -8.6e+228) {
tmp = a * ((x * y) * b);
} else if (b <= -6e+28) {
tmp = j * (b * (t * y4));
} else if (b <= 7.5e+91) {
tmp = i * (k * (y * y5));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if b <= -8.6e+228: tmp = a * ((x * y) * b) elif b <= -6e+28: tmp = j * (b * (t * y4)) elif b <= 7.5e+91: tmp = i * (k * (y * y5)) else: tmp = a * (y * (x * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (b <= -8.6e+228) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (b <= -6e+28) tmp = Float64(j * Float64(b * Float64(t * y4))); elseif (b <= 7.5e+91) tmp = Float64(i * Float64(k * Float64(y * y5))); else tmp = Float64(a * Float64(y * Float64(x * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (b <= -8.6e+228) tmp = a * ((x * y) * b); elseif (b <= -6e+28) tmp = j * (b * (t * y4)); elseif (b <= 7.5e+91) tmp = i * (k * (y * y5)); else tmp = a * (y * (x * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -8.6e+228], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6e+28], N[(j * N[(b * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7.5e+91], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -8.6 \cdot 10^{+228}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;b \leq -6 \cdot 10^{+28}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;b \leq 7.5 \cdot 10^{+91}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\end{array}
\end{array}
if b < -8.60000000000000063e228Initial program 14.8%
Taylor expanded in b around inf 57.9%
Taylor expanded in a around inf 71.8%
Taylor expanded in x around inf 64.7%
if -8.60000000000000063e228 < b < -6.0000000000000002e28Initial program 30.8%
Taylor expanded in j around inf 46.5%
Taylor expanded in y4 around inf 34.6%
Taylor expanded in y1 around 0 32.4%
if -6.0000000000000002e28 < b < 7.50000000000000033e91Initial program 27.1%
Taylor expanded in y2 around inf 29.3%
associate-*r*28.7%
*-commutative28.7%
Simplified28.7%
Taylor expanded in k around inf 33.0%
Taylor expanded in i around inf 23.2%
if 7.50000000000000033e91 < b Initial program 27.8%
Taylor expanded in b around inf 51.5%
Taylor expanded in a around inf 41.6%
Taylor expanded in x around inf 30.9%
associate-*r*35.0%
Simplified35.0%
Final simplification29.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y -1.16e-110) (not (<= y 135.0))) (* i (* k (* y y5))) (* t (* b (* 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 tmp;
if ((y <= -1.16e-110) || !(y <= 135.0)) {
tmp = i * (k * (y * y5));
} else {
tmp = t * (b * (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) :: tmp
if ((y <= (-1.16d-110)) .or. (.not. (y <= 135.0d0))) then
tmp = i * (k * (y * y5))
else
tmp = t * (b * (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 tmp;
if ((y <= -1.16e-110) || !(y <= 135.0)) {
tmp = i * (k * (y * y5));
} else {
tmp = t * (b * (j * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y <= -1.16e-110) or not (y <= 135.0): tmp = i * (k * (y * y5)) else: tmp = t * (b * (j * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y <= -1.16e-110) || !(y <= 135.0)) tmp = Float64(i * Float64(k * Float64(y * y5))); else tmp = Float64(t * Float64(b * 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) tmp = 0.0; if ((y <= -1.16e-110) || ~((y <= 135.0))) tmp = i * (k * (y * y5)); else tmp = t * (b * (j * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y, -1.16e-110], N[Not[LessEqual[y, 135.0]], $MachinePrecision]], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.16 \cdot 10^{-110} \lor \neg \left(y \leq 135\right):\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\
\end{array}
\end{array}
if y < -1.16000000000000001e-110 or 135 < y Initial program 21.8%
Taylor expanded in y2 around inf 26.1%
associate-*r*25.4%
*-commutative25.4%
Simplified25.4%
Taylor expanded in k around inf 38.1%
Taylor expanded in i around inf 30.7%
if -1.16000000000000001e-110 < y < 135Initial program 34.0%
Taylor expanded in t around inf 42.1%
Taylor expanded in y4 around inf 30.7%
Taylor expanded in b around inf 25.4%
*-commutative25.4%
Simplified25.4%
Final simplification28.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y -2.25e-110) (not (<= y 20.0))) (* i (* k (* y y5))) (* b (* y4 (* t j)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y <= -2.25e-110) || !(y <= 20.0)) {
tmp = i * (k * (y * y5));
} else {
tmp = b * (y4 * (t * j));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y <= (-2.25d-110)) .or. (.not. (y <= 20.0d0))) then
tmp = i * (k * (y * y5))
else
tmp = b * (y4 * (t * j))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y <= -2.25e-110) || !(y <= 20.0)) {
tmp = i * (k * (y * y5));
} else {
tmp = b * (y4 * (t * j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y <= -2.25e-110) or not (y <= 20.0): tmp = i * (k * (y * y5)) else: tmp = b * (y4 * (t * j)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y <= -2.25e-110) || !(y <= 20.0)) tmp = Float64(i * Float64(k * Float64(y * y5))); else tmp = Float64(b * Float64(y4 * Float64(t * j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y <= -2.25e-110) || ~((y <= 20.0))) tmp = i * (k * (y * y5)); else tmp = b * (y4 * (t * j)); 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[y, -2.25e-110], N[Not[LessEqual[y, 20.0]], $MachinePrecision]], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.25 \cdot 10^{-110} \lor \neg \left(y \leq 20\right):\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\end{array}
\end{array}
if y < -2.25e-110 or 20 < y Initial program 21.8%
Taylor expanded in y2 around inf 26.1%
associate-*r*25.4%
*-commutative25.4%
Simplified25.4%
Taylor expanded in k around inf 38.1%
Taylor expanded in i around inf 30.7%
if -2.25e-110 < y < 20Initial program 34.0%
Taylor expanded in j around inf 48.2%
Taylor expanded in t around inf 31.5%
Taylor expanded in b around inf 21.9%
associate-*r*22.8%
Simplified22.8%
Final simplification27.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y -5.6e-111) (not (<= y 7.8e+83))) (* a (* (* x y) b)) (* b (* y4 (* t j)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y <= -5.6e-111) || !(y <= 7.8e+83)) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (y4 * (t * j));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y <= (-5.6d-111)) .or. (.not. (y <= 7.8d+83))) then
tmp = a * ((x * y) * b)
else
tmp = b * (y4 * (t * j))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y <= -5.6e-111) || !(y <= 7.8e+83)) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (y4 * (t * j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y <= -5.6e-111) or not (y <= 7.8e+83): tmp = a * ((x * y) * b) else: tmp = b * (y4 * (t * j)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y <= -5.6e-111) || !(y <= 7.8e+83)) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(b * Float64(y4 * Float64(t * j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y <= -5.6e-111) || ~((y <= 7.8e+83))) tmp = a * ((x * y) * b); else tmp = b * (y4 * (t * j)); 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[y, -5.6e-111], N[Not[LessEqual[y, 7.8e+83]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5.6 \cdot 10^{-111} \lor \neg \left(y \leq 7.8 \cdot 10^{+83}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\end{array}
\end{array}
if y < -5.5999999999999999e-111 or 7.8000000000000003e83 < y Initial program 19.9%
Taylor expanded in b around inf 33.1%
Taylor expanded in a around inf 36.1%
Taylor expanded in x around inf 27.2%
if -5.5999999999999999e-111 < y < 7.8000000000000003e83Initial program 34.7%
Taylor expanded in j around inf 47.6%
Taylor expanded in t around inf 33.3%
Taylor expanded in b around inf 21.5%
associate-*r*22.3%
Simplified22.3%
Final simplification24.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y -5.3e+39) (not (<= y 8.4e+83))) (* a (* (* x y) b)) (* 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 tmp;
if ((y <= -5.3e+39) || !(y <= 8.4e+83)) {
tmp = a * ((x * y) * b);
} 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) :: tmp
if ((y <= (-5.3d+39)) .or. (.not. (y <= 8.4d+83))) then
tmp = a * ((x * y) * b)
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 tmp;
if ((y <= -5.3e+39) || !(y <= 8.4e+83)) {
tmp = a * ((x * y) * b);
} 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): tmp = 0 if (y <= -5.3e+39) or not (y <= 8.4e+83): tmp = a * ((x * y) * b) 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) tmp = 0.0 if ((y <= -5.3e+39) || !(y <= 8.4e+83)) tmp = Float64(a * Float64(Float64(x * y) * b)); 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) tmp = 0.0; if ((y <= -5.3e+39) || ~((y <= 8.4e+83))) tmp = a * ((x * y) * b); 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_] := If[Or[LessEqual[y, -5.3e+39], N[Not[LessEqual[y, 8.4e+83]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5.3 \cdot 10^{+39} \lor \neg \left(y \leq 8.4 \cdot 10^{+83}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if y < -5.29999999999999979e39 or 8.4000000000000001e83 < y Initial program 21.1%
Taylor expanded in b around inf 34.6%
Taylor expanded in a around inf 40.8%
Taylor expanded in x around inf 32.6%
if -5.29999999999999979e39 < y < 8.4000000000000001e83Initial program 31.4%
Taylor expanded in t around inf 42.1%
Taylor expanded in y4 around inf 28.0%
Taylor expanded in b around inf 19.4%
Final simplification24.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y (* x b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y * (x * 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 * (y * (x * 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 * (y * (x * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y * (x * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y * Float64(x * b))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y * (x * b)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y \cdot \left(x \cdot b\right)\right)
\end{array}
Initial program 27.1%
Taylor expanded in b around inf 34.3%
Taylor expanded in a around inf 27.5%
Taylor expanded in x around inf 16.7%
associate-*r*17.1%
Simplified17.1%
Final simplification17.1%
(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 27.1%
Taylor expanded in b around inf 34.3%
Taylor expanded in a around inf 27.5%
Taylor expanded in x around inf 16.7%
Final simplification16.7%
(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 2024136
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:name "Linear.Matrix:det44 from linear-1.19.1.3"
:precision binary64
:alt
(! :herbie-platform default (if (< y4 -7206256231996481000000000000000000000000000000000000000000000) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3364603505246317/1000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -3000016263921529/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 1343792624811499/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 29872667587737/6250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 4570448308253367/20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))))))))
(+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))