
(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 32 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
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_1 INFINITY) t_1 (* b (* x (* y0 (- (* a (/ y y0)) 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) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = b * (x * (y0 * ((a * (y / y0)) - j)));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = b * (x * (y0 * ((a * (y / y0)) - 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) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = b * (x * (y0 * ((a * (y / y0)) - j))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(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(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(b * Float64(x * Float64(y0 * Float64(Float64(a * Float64(y / y0)) - 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) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((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_1 <= Inf) tmp = t_1; else tmp = b * (x * (y0 * ((a * (y / y0)) - j))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(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[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(b * N[(x * N[(y0 * N[(N[(a * N[(y / y0), $MachinePrecision]), $MachinePrecision] - j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \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) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y0 \cdot \left(a \cdot \frac{y}{y0} - j\right)\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 93.6%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in x around inf 21.2%
Taylor expanded in b around inf 38.2%
Taylor expanded in y0 around inf 40.5%
associate-/l*39.9%
Simplified39.9%
Final simplification58.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y5) (* y1 y4))))
(if (<= x -6.3e+162)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -3.3e-57)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j t_1) (* z (- (* a y1) (* c y0))))))
(if (<= x 2.05e-178)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+ (* y (- (* b y4) (* i y5))) (* y2 t_1))))
(if (<= x 1.4e+103)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x 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 t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -6.3e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -3.3e-57) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 2.05e-178) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)));
} else if (x <= 1.4e+103) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * 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) :: t_1
real(8) :: tmp
t_1 = (y0 * y5) - (y1 * y4)
if (x <= (-6.3d+162)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-3.3d-57)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0)))))
else if (x <= 2.05d-178) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)))
else if (x <= 1.4d+103) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * 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 t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -6.3e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -3.3e-57) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 2.05e-178) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)));
} else if (x <= 1.4e+103) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * 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): t_1 = (y0 * y5) - (y1 * y4) tmp = 0 if x <= -6.3e+162: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -3.3e-57: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0))))) elif x <= 2.05e-178: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1))) elif x <= 1.4e+103: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * 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) t_1 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) tmp = 0.0 if (x <= -6.3e+162) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -3.3e-57) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * t_1) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))); elseif (x <= 2.05e-178) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * t_1)))); elseif (x <= 1.4e+103) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))))); 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 = (y0 * y5) - (y1 * y4); tmp = 0.0; if (x <= -6.3e+162) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -3.3e-57) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0))))); elseif (x <= 2.05e-178) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1))); elseif (x <= 1.4e+103) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * 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_] := Block[{t$95$1 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6.3e+162], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.3e-57], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t$95$1), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.05e-178], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.4e+103], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
\mathbf{if}\;x \leq -6.3 \cdot 10^{+162}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -3.3 \cdot 10^{-57}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot t\_1 + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.05 \cdot 10^{-178}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot t\_1\right)\right)\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{+103}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -6.3000000000000001e162Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -6.3000000000000001e162 < x < -3.2999999999999998e-57Initial program 32.6%
Taylor expanded in y3 around -inf 51.4%
if -3.2999999999999998e-57 < x < 2.05e-178Initial program 33.6%
Taylor expanded in k around inf 45.7%
if 2.05e-178 < x < 1.40000000000000004e103Initial program 41.4%
Taylor expanded in b around inf 54.9%
if 1.40000000000000004e103 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
associate-*r*66.5%
neg-mul-166.5%
Simplified66.5%
Final simplification56.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x j) (* z k)))
(t_2 (- (* x y2) (* z y3)))
(t_3
(*
i
(+
(* y1 t_1)
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j)))))))
(t_4 (- (* j y3) (* k y2))))
(if (<= i -480000000000.0)
t_3
(if (<= i -4.2e-261)
(* y0 (+ (+ (* y5 t_4) (* c t_2)) (* b (- (* z k) (* x j)))))
(if (<= i 1.35e-191)
(- (* x (* b (- (* y a) (* j y0)))) (* t_4 (- (* y1 y4) (* y0 y5))))
(if (<= i 4.8e+141)
(* y1 (+ (- (* y4 (- (* k y2) (* j y3))) (* a t_2)) (* i t_1)))
t_3))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * j) - (z * k);
double t_2 = (x * y2) - (z * y3);
double t_3 = i * ((y1 * t_1) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_4 = (j * y3) - (k * y2);
double tmp;
if (i <= -480000000000.0) {
tmp = t_3;
} else if (i <= -4.2e-261) {
tmp = y0 * (((y5 * t_4) + (c * t_2)) + (b * ((z * k) - (x * j))));
} else if (i <= 1.35e-191) {
tmp = (x * (b * ((y * a) - (j * y0)))) - (t_4 * ((y1 * y4) - (y0 * y5)));
} else if (i <= 4.8e+141) {
tmp = y1 * (((y4 * ((k * y2) - (j * y3))) - (a * t_2)) + (i * t_1));
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (x * j) - (z * k)
t_2 = (x * y2) - (z * y3)
t_3 = i * ((y1 * t_1) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
t_4 = (j * y3) - (k * y2)
if (i <= (-480000000000.0d0)) then
tmp = t_3
else if (i <= (-4.2d-261)) then
tmp = y0 * (((y5 * t_4) + (c * t_2)) + (b * ((z * k) - (x * j))))
else if (i <= 1.35d-191) then
tmp = (x * (b * ((y * a) - (j * y0)))) - (t_4 * ((y1 * y4) - (y0 * y5)))
else if (i <= 4.8d+141) then
tmp = y1 * (((y4 * ((k * y2) - (j * y3))) - (a * t_2)) + (i * t_1))
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * j) - (z * k);
double t_2 = (x * y2) - (z * y3);
double t_3 = i * ((y1 * t_1) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_4 = (j * y3) - (k * y2);
double tmp;
if (i <= -480000000000.0) {
tmp = t_3;
} else if (i <= -4.2e-261) {
tmp = y0 * (((y5 * t_4) + (c * t_2)) + (b * ((z * k) - (x * j))));
} else if (i <= 1.35e-191) {
tmp = (x * (b * ((y * a) - (j * y0)))) - (t_4 * ((y1 * y4) - (y0 * y5)));
} else if (i <= 4.8e+141) {
tmp = y1 * (((y4 * ((k * y2) - (j * y3))) - (a * t_2)) + (i * t_1));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * j) - (z * k) t_2 = (x * y2) - (z * y3) t_3 = i * ((y1 * t_1) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) t_4 = (j * y3) - (k * y2) tmp = 0 if i <= -480000000000.0: tmp = t_3 elif i <= -4.2e-261: tmp = y0 * (((y5 * t_4) + (c * t_2)) + (b * ((z * k) - (x * j)))) elif i <= 1.35e-191: tmp = (x * (b * ((y * a) - (j * y0)))) - (t_4 * ((y1 * y4) - (y0 * y5))) elif i <= 4.8e+141: tmp = y1 * (((y4 * ((k * y2) - (j * y3))) - (a * t_2)) + (i * t_1)) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * j) - Float64(z * k)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(i * Float64(Float64(y1 * t_1) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))) t_4 = Float64(Float64(j * y3) - Float64(k * y2)) tmp = 0.0 if (i <= -480000000000.0) tmp = t_3; elseif (i <= -4.2e-261) tmp = Float64(y0 * Float64(Float64(Float64(y5 * t_4) + Float64(c * t_2)) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (i <= 1.35e-191) tmp = Float64(Float64(x * Float64(b * Float64(Float64(y * a) - Float64(j * y0)))) - Float64(t_4 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (i <= 4.8e+141) tmp = Float64(y1 * Float64(Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) - Float64(a * t_2)) + Float64(i * t_1))); else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * j) - (z * k); t_2 = (x * y2) - (z * y3); t_3 = i * ((y1 * t_1) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); t_4 = (j * y3) - (k * y2); tmp = 0.0; if (i <= -480000000000.0) tmp = t_3; elseif (i <= -4.2e-261) tmp = y0 * (((y5 * t_4) + (c * t_2)) + (b * ((z * k) - (x * j)))); elseif (i <= 1.35e-191) tmp = (x * (b * ((y * a) - (j * y0)))) - (t_4 * ((y1 * y4) - (y0 * y5))); elseif (i <= 4.8e+141) tmp = y1 * (((y4 * ((k * y2) - (j * y3))) - (a * t_2)) + (i * t_1)); else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(N[(y1 * t$95$1), $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]}, Block[{t$95$4 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -480000000000.0], t$95$3, If[LessEqual[i, -4.2e-261], N[(y0 * N[(N[(N[(y5 * t$95$4), $MachinePrecision] + N[(c * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.35e-191], N[(N[(x * N[(b * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$4 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.8e+141], N[(y1 * N[(N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(i * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot j - z \cdot k\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := i \cdot \left(y1 \cdot t\_1 + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
t_4 := j \cdot y3 - k \cdot y2\\
\mathbf{if}\;i \leq -480000000000:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -4.2 \cdot 10^{-261}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot t\_4 + c \cdot t\_2\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;i \leq 1.35 \cdot 10^{-191}:\\
\;\;\;\;x \cdot \left(b \cdot \left(y \cdot a - j \cdot y0\right)\right) - t\_4 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{elif}\;i \leq 4.8 \cdot 10^{+141}:\\
\;\;\;\;y1 \cdot \left(\left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot t\_2\right) + i \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if i < -4.8e11 or 4.79999999999999995e141 < i Initial program 30.8%
Taylor expanded in i around -inf 47.3%
Taylor expanded in i around inf 55.3%
if -4.8e11 < i < -4.19999999999999991e-261Initial program 33.3%
Taylor expanded in y0 around inf 59.3%
if -4.19999999999999991e-261 < i < 1.34999999999999999e-191Initial program 40.2%
Taylor expanded in x around inf 44.3%
Taylor expanded in b around inf 56.9%
if 1.34999999999999999e-191 < i < 4.79999999999999995e141Initial program 30.7%
Taylor expanded in y1 around inf 49.8%
Final simplification55.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -7.2e+162)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -0.33)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0))))))
(if (<= x 1.1e+42)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* (* t i) (- (* z c) (* j y5))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -7.2e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -0.33) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 1.1e+42) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-7.2d+162)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-0.33d0)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
else if (x <= 1.1d+42) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5)))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -7.2e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -0.33) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 1.1e+42) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -7.2e+162: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -0.33: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) elif x <= 1.1e+42: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -7.2e+162) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -0.33) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))); elseif (x <= 1.1e+42) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(Float64(t * i) * Float64(Float64(z * c) - Float64(j * y5)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -7.2e+162) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -0.33) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); elseif (x <= 1.1e+42) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -7.2e+162], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -0.33], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.1e+42], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * i), $MachinePrecision] * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -7.2 \cdot 10^{+162}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -0.33:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.1 \cdot 10^{+42}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + \left(t \cdot i\right) \cdot \left(z \cdot c - j \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -7.19999999999999987e162Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -7.19999999999999987e162 < x < -0.330000000000000016Initial program 37.9%
Taylor expanded in y3 around -inf 53.0%
if -0.330000000000000016 < x < 1.1000000000000001e42Initial program 37.0%
Taylor expanded in i around -inf 45.2%
Taylor expanded in t around inf 45.0%
associate-*r*45.1%
+-commutative45.1%
mul-1-neg45.1%
unsub-neg45.1%
*-commutative45.1%
Simplified45.1%
if 1.1000000000000001e42 < x Initial program 26.9%
Taylor expanded in x around inf 41.3%
Taylor expanded in i around -inf 58.1%
associate-*r*58.1%
neg-mul-158.1%
Simplified58.1%
Final simplification53.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -3.7e+163)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -1.8e+74)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= x 4.15e+40)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* (* t i) (- (* z c) (* j y5))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.7e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.8e+74) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 4.15e+40) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-3.7d+163)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-1.8d+74)) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (x <= 4.15d+40) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5)))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.7e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.8e+74) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 4.15e+40) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -3.7e+163: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -1.8e+74: tmp = (x * y2) * ((c * y0) - (a * y1)) elif x <= 4.15e+40: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -3.7e+163) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -1.8e+74) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (x <= 4.15e+40) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(Float64(t * i) * Float64(Float64(z * c) - Float64(j * y5)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -3.7e+163) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -1.8e+74) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (x <= 4.15e+40) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((t * i) * ((z * c) - (j * y5))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -3.7e+163], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.8e+74], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.15e+40], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * i), $MachinePrecision] * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.7 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -1.8 \cdot 10^{+74}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;x \leq 4.15 \cdot 10^{+40}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + \left(t \cdot i\right) \cdot \left(z \cdot c - j \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -3.69999999999999993e163Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -3.69999999999999993e163 < x < -1.79999999999999994e74Initial program 31.6%
Taylor expanded in y2 around inf 58.4%
Taylor expanded in x around inf 58.9%
pow158.9%
associate-*r*63.9%
*-commutative63.9%
Applied egg-rr63.9%
unpow163.9%
*-commutative63.9%
Simplified63.9%
if -1.79999999999999994e74 < x < 4.1499999999999999e40Initial program 38.0%
Taylor expanded in i around -inf 42.2%
Taylor expanded in t around inf 44.3%
associate-*r*43.6%
+-commutative43.6%
mul-1-neg43.6%
unsub-neg43.6%
*-commutative43.6%
Simplified43.6%
if 4.1499999999999999e40 < x Initial program 26.9%
Taylor expanded in x around inf 41.3%
Taylor expanded in i around -inf 58.1%
associate-*r*58.1%
neg-mul-158.1%
Simplified58.1%
Final simplification53.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -2.5e+225)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= a -1.35e-22)
(* b (* x (- (* y a) (* j y0))))
(if (<= a -1.9e-102)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= a 4.2e-294)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= a 0.075)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= a 8.5e+148)
(* j (* b (- (* t y4) (* x y0))))
(* y1 (* z (- (* a y3) (* i k)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -2.5e+225) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (a <= -1.35e-22) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (a <= -1.9e-102) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (a <= 4.2e-294) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (a <= 0.075) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 8.5e+148) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = y1 * (z * ((a * y3) - (i * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-2.5d+225)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (a <= (-1.35d-22)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (a <= (-1.9d-102)) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (a <= 4.2d-294) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (a <= 0.075d0) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (a <= 8.5d+148) then
tmp = j * (b * ((t * y4) - (x * y0)))
else
tmp = y1 * (z * ((a * y3) - (i * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -2.5e+225) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (a <= -1.35e-22) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (a <= -1.9e-102) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (a <= 4.2e-294) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (a <= 0.075) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 8.5e+148) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = y1 * (z * ((a * y3) - (i * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -2.5e+225: tmp = a * (y2 * ((t * y5) - (x * y1))) elif a <= -1.35e-22: tmp = b * (x * ((y * a) - (j * y0))) elif a <= -1.9e-102: tmp = (x * y2) * ((c * y0) - (a * y1)) elif a <= 4.2e-294: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif a <= 0.075: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif a <= 8.5e+148: tmp = j * (b * ((t * y4) - (x * y0))) else: tmp = y1 * (z * ((a * y3) - (i * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -2.5e+225) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (a <= -1.35e-22) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (a <= -1.9e-102) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (a <= 4.2e-294) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (a <= 0.075) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (a <= 8.5e+148) tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(y1 * Float64(z * Float64(Float64(a * y3) - Float64(i * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -2.5e+225) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (a <= -1.35e-22) tmp = b * (x * ((y * a) - (j * y0))); elseif (a <= -1.9e-102) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (a <= 4.2e-294) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (a <= 0.075) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (a <= 8.5e+148) tmp = j * (b * ((t * y4) - (x * y0))); else tmp = y1 * (z * ((a * y3) - (i * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -2.5e+225], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.35e-22], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.9e-102], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.2e-294], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.075], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.5e+148], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(z * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.5 \cdot 10^{+225}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;a \leq -1.35 \cdot 10^{-22}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq -1.9 \cdot 10^{-102}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;a \leq 4.2 \cdot 10^{-294}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 0.075:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 8.5 \cdot 10^{+148}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(z \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\end{array}
\end{array}
if a < -2.4999999999999999e225Initial program 23.1%
Taylor expanded in y2 around inf 53.8%
Taylor expanded in a around -inf 84.6%
associate-*r*84.6%
neg-mul-184.6%
Simplified84.6%
if -2.4999999999999999e225 < a < -1.3500000000000001e-22Initial program 26.0%
Taylor expanded in x around inf 31.7%
Taylor expanded in b around inf 49.1%
if -1.3500000000000001e-22 < a < -1.90000000000000013e-102Initial program 50.0%
Taylor expanded in y2 around inf 46.3%
Taylor expanded in x around inf 55.7%
pow155.7%
associate-*r*60.2%
*-commutative60.2%
Applied egg-rr60.2%
unpow160.2%
*-commutative60.2%
Simplified60.2%
if -1.90000000000000013e-102 < a < 4.19999999999999969e-294Initial program 43.0%
Taylor expanded in j around inf 31.9%
Taylor expanded in y1 around -inf 48.8%
associate-*r*48.8%
neg-mul-148.8%
Simplified48.8%
if 4.19999999999999969e-294 < a < 0.0749999999999999972Initial program 43.7%
Taylor expanded in y1 around -inf 49.5%
mul-1-neg49.5%
*-commutative49.5%
*-commutative49.5%
*-commutative49.5%
Simplified49.5%
Taylor expanded in y4 around inf 44.6%
if 0.0749999999999999972 < a < 8.4999999999999996e148Initial program 22.0%
Taylor expanded in j around inf 50.5%
Taylor expanded in b around inf 51.1%
if 8.4999999999999996e148 < a Initial program 18.6%
Taylor expanded in y1 around -inf 39.8%
mul-1-neg39.8%
*-commutative39.8%
*-commutative39.8%
*-commutative39.8%
Simplified39.8%
Taylor expanded in z around -inf 50.4%
Final simplification51.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -6.2e+169)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -2.55e+79)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= x 3.4e+102)
(-
(* (* a y1) (* z y3))
(* (- (* j y3) (* k y2)) (- (* y1 y4) (* y0 y5))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -6.2e+169) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -2.55e+79) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 3.4e+102) {
tmp = ((a * y1) * (z * y3)) - (((j * y3) - (k * y2)) * ((y1 * y4) - (y0 * y5)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-6.2d+169)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-2.55d+79)) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (x <= 3.4d+102) then
tmp = ((a * y1) * (z * y3)) - (((j * y3) - (k * y2)) * ((y1 * y4) - (y0 * y5)))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -6.2e+169) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -2.55e+79) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 3.4e+102) {
tmp = ((a * y1) * (z * y3)) - (((j * y3) - (k * y2)) * ((y1 * y4) - (y0 * y5)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -6.2e+169: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -2.55e+79: tmp = (x * y2) * ((c * y0) - (a * y1)) elif x <= 3.4e+102: tmp = ((a * y1) * (z * y3)) - (((j * y3) - (k * y2)) * ((y1 * y4) - (y0 * y5))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -6.2e+169) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -2.55e+79) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (x <= 3.4e+102) tmp = Float64(Float64(Float64(a * y1) * Float64(z * y3)) - Float64(Float64(Float64(j * y3) - Float64(k * y2)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -6.2e+169) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -2.55e+79) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (x <= 3.4e+102) tmp = ((a * y1) * (z * y3)) - (((j * y3) - (k * y2)) * ((y1 * y4) - (y0 * y5))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -6.2e+169], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.55e+79], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.4e+102], N[(N[(N[(a * y1), $MachinePrecision] * N[(z * y3), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -6.2 \cdot 10^{+169}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -2.55 \cdot 10^{+79}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;x \leq 3.4 \cdot 10^{+102}:\\
\;\;\;\;\left(a \cdot y1\right) \cdot \left(z \cdot y3\right) - \left(j \cdot y3 - k \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -6.2e169Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -6.2e169 < x < -2.5500000000000001e79Initial program 27.8%
Taylor expanded in y2 around inf 56.1%
Taylor expanded in x around inf 56.6%
pow156.6%
associate-*r*61.9%
*-commutative61.9%
Applied egg-rr61.9%
unpow161.9%
*-commutative61.9%
Simplified61.9%
if -2.5500000000000001e79 < x < 3.4e102Initial program 37.3%
Taylor expanded in y1 around -inf 40.1%
mul-1-neg40.1%
*-commutative40.1%
*-commutative40.1%
*-commutative40.1%
Simplified40.1%
Taylor expanded in y3 around inf 42.3%
mul-1-neg42.3%
associate-*r*43.0%
Simplified43.0%
if 3.4e102 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
associate-*r*66.5%
neg-mul-166.5%
Simplified66.5%
Final simplification52.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -3.2e+168)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -4.5e+64)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= x 5.7e-6)
(-
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* i (* k (* z y1))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.2e+168) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -4.5e+64) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 5.7e-6) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-3.2d+168)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-4.5d+64)) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (x <= 5.7d-6) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1)))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.2e+168) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -4.5e+64) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 5.7e-6) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -3.2e+168: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -4.5e+64: tmp = (x * y2) * ((c * y0) - (a * y1)) elif x <= 5.7e-6: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -3.2e+168) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -4.5e+64) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (x <= 5.7e-6) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(i * Float64(k * Float64(z * y1)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -3.2e+168) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -4.5e+64) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (x <= 5.7e-6) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -3.2e+168], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4.5e+64], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.7e-6], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(k * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.2 \cdot 10^{+168}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -4.5 \cdot 10^{+64}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;x \leq 5.7 \cdot 10^{-6}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - i \cdot \left(k \cdot \left(z \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -3.2000000000000001e168Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -3.2000000000000001e168 < x < -4.49999999999999973e64Initial program 28.6%
Taylor expanded in y2 around inf 62.4%
Taylor expanded in x around inf 58.5%
pow158.5%
associate-*r*63.0%
*-commutative63.0%
Applied egg-rr63.0%
unpow163.0%
*-commutative63.0%
Simplified63.0%
if -4.49999999999999973e64 < x < 5.6999999999999996e-6Initial program 36.5%
Taylor expanded in y1 around -inf 39.0%
mul-1-neg39.0%
*-commutative39.0%
*-commutative39.0%
*-commutative39.0%
Simplified39.0%
Taylor expanded in k around inf 39.9%
if 5.6999999999999996e-6 < x Initial program 32.3%
Taylor expanded in x around inf 41.8%
Taylor expanded in i around -inf 53.3%
associate-*r*53.3%
neg-mul-153.3%
Simplified53.3%
Final simplification50.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -6e+218)
(* j (- (* i (* x y1)) (* y3 (- (* y1 y4) (* y0 y5)))))
(if (<= j -2.4e+34)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= j -6.2e-187)
(* i (* z (- (* t c) (* k y1))))
(if (<= j 1.75e-152)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= j 1.12e+21)
(* y0 (* y2 (- (* x c) (* k y5))))
(* y1 (* y4 (- (* k y2) (* j y3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -6e+218) {
tmp = j * ((i * (x * y1)) - (y3 * ((y1 * y4) - (y0 * y5))));
} else if (j <= -2.4e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -6.2e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 1.75e-152) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 1.12e+21) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-6d+218)) then
tmp = j * ((i * (x * y1)) - (y3 * ((y1 * y4) - (y0 * y5))))
else if (j <= (-2.4d+34)) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (j <= (-6.2d-187)) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (j <= 1.75d-152) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (j <= 1.12d+21) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -6e+218) {
tmp = j * ((i * (x * y1)) - (y3 * ((y1 * y4) - (y0 * y5))));
} else if (j <= -2.4e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -6.2e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 1.75e-152) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 1.12e+21) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -6e+218: tmp = j * ((i * (x * y1)) - (y3 * ((y1 * y4) - (y0 * y5)))) elif j <= -2.4e+34: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif j <= -6.2e-187: tmp = i * (z * ((t * c) - (k * y1))) elif j <= 1.75e-152: tmp = a * (x * ((y * b) - (y1 * y2))) elif j <= 1.12e+21: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -6e+218) tmp = Float64(j * Float64(Float64(i * Float64(x * y1)) - Float64(y3 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))); elseif (j <= -2.4e+34) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= -6.2e-187) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (j <= 1.75e-152) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (j <= 1.12e+21) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -6e+218) tmp = j * ((i * (x * y1)) - (y3 * ((y1 * y4) - (y0 * y5)))); elseif (j <= -2.4e+34) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (j <= -6.2e-187) tmp = i * (z * ((t * c) - (k * y1))); elseif (j <= 1.75e-152) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (j <= 1.12e+21) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -6e+218], N[(j * N[(N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision] - N[(y3 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.4e+34], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.2e-187], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.75e-152], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.12e+21], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -6 \cdot 10^{+218}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1\right) - y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -2.4 \cdot 10^{+34}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq -6.2 \cdot 10^{-187}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 1.75 \cdot 10^{-152}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.12 \cdot 10^{+21}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if j < -6.0000000000000001e218Initial program 13.6%
Taylor expanded in y1 around -inf 28.0%
mul-1-neg28.0%
*-commutative28.0%
*-commutative28.0%
*-commutative28.0%
Simplified28.0%
Taylor expanded in j around -inf 64.0%
associate-*r*64.0%
neg-mul-164.0%
Simplified64.0%
if -6.0000000000000001e218 < j < -2.39999999999999987e34Initial program 21.0%
Taylor expanded in y0 around inf 50.2%
Taylor expanded in j around inf 63.8%
if -2.39999999999999987e34 < j < -6.20000000000000039e-187Initial program 47.8%
Taylor expanded in i around -inf 48.3%
Taylor expanded in z around -inf 39.9%
if -6.20000000000000039e-187 < j < 1.7500000000000001e-152Initial program 24.4%
Taylor expanded in x around inf 31.7%
Taylor expanded in a around inf 50.9%
if 1.7500000000000001e-152 < j < 1.12e21Initial program 41.7%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in y2 around inf 43.9%
if 1.12e21 < j Initial program 39.6%
Taylor expanded in y1 around -inf 43.7%
mul-1-neg43.7%
*-commutative43.7%
*-commutative43.7%
*-commutative43.7%
Simplified43.7%
Taylor expanded in y4 around inf 57.3%
Final simplification52.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -1.85e+34)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= j -9e-187)
(* i (* z (- (* t c) (* k y1))))
(if (<= j 1.16e-149)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= j 1.75e-68)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 1.8e+37)
(* y2 (* y5 (- (* t a) (* k y0))))
(* y1 (* y4 (- (* k y2) (* j y3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.85e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -9e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 1.16e-149) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 1.75e-68) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.8e+37) {
tmp = y2 * (y5 * ((t * a) - (k * y0)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-1.85d+34)) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (j <= (-9d-187)) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (j <= 1.16d-149) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (j <= 1.75d-68) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 1.8d+37) then
tmp = y2 * (y5 * ((t * a) - (k * y0)))
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.85e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -9e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 1.16e-149) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 1.75e-68) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.8e+37) {
tmp = y2 * (y5 * ((t * a) - (k * y0)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -1.85e+34: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif j <= -9e-187: tmp = i * (z * ((t * c) - (k * y1))) elif j <= 1.16e-149: tmp = a * (x * ((y * b) - (y1 * y2))) elif j <= 1.75e-68: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 1.8e+37: tmp = y2 * (y5 * ((t * a) - (k * y0))) else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -1.85e+34) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= -9e-187) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (j <= 1.16e-149) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (j <= 1.75e-68) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 1.8e+37) tmp = Float64(y2 * Float64(y5 * Float64(Float64(t * a) - Float64(k * y0)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -1.85e+34) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (j <= -9e-187) tmp = i * (z * ((t * c) - (k * y1))); elseif (j <= 1.16e-149) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (j <= 1.75e-68) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 1.8e+37) tmp = y2 * (y5 * ((t * a) - (k * y0))); else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -1.85e+34], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -9e-187], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.16e-149], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.75e-68], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.8e+37], N[(y2 * N[(y5 * N[(N[(t * a), $MachinePrecision] - N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.85 \cdot 10^{+34}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq -9 \cdot 10^{-187}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 1.16 \cdot 10^{-149}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.75 \cdot 10^{-68}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 1.8 \cdot 10^{+37}:\\
\;\;\;\;y2 \cdot \left(y5 \cdot \left(t \cdot a - k \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if j < -1.85000000000000004e34Initial program 18.3%
Taylor expanded in y0 around inf 43.6%
Taylor expanded in j around inf 55.9%
if -1.85000000000000004e34 < j < -8.9999999999999996e-187Initial program 47.8%
Taylor expanded in i around -inf 48.3%
Taylor expanded in z around -inf 39.9%
if -8.9999999999999996e-187 < j < 1.1599999999999999e-149Initial program 24.4%
Taylor expanded in x around inf 31.7%
Taylor expanded in a around inf 50.9%
if 1.1599999999999999e-149 < j < 1.75000000000000006e-68Initial program 43.7%
Taylor expanded in y0 around inf 55.0%
Taylor expanded in c around inf 52.9%
if 1.75000000000000006e-68 < j < 1.79999999999999999e37Initial program 43.0%
Taylor expanded in y2 around inf 20.6%
Taylor expanded in y5 around -inf 44.5%
associate-*r*44.5%
mul-1-neg44.5%
Simplified44.5%
if 1.79999999999999999e37 < j Initial program 37.9%
Taylor expanded in y1 around -inf 42.2%
mul-1-neg42.2%
*-commutative42.2%
*-commutative42.2%
*-commutative42.2%
Simplified42.2%
Taylor expanded in y4 around inf 58.8%
Final simplification51.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -7.6e+163)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -5.5e+58)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= x -4.8e-293)
(* (* y3 y5) (- (* j y0) (* y a)))
(if (<= x 2.95e-120)
(* (* t i) (- (* z c) (* j y5)))
(if (<= x 1.2e+154)
(* y0 (* y5 (- (* j y3) (* k y2))))
(* i (* x (- (* j y1) (* y c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -7.6e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -5.5e+58) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= -4.8e-293) {
tmp = (y3 * y5) * ((j * y0) - (y * a));
} else if (x <= 2.95e-120) {
tmp = (t * i) * ((z * c) - (j * y5));
} else if (x <= 1.2e+154) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-7.6d+163)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-5.5d+58)) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (x <= (-4.8d-293)) then
tmp = (y3 * y5) * ((j * y0) - (y * a))
else if (x <= 2.95d-120) then
tmp = (t * i) * ((z * c) - (j * y5))
else if (x <= 1.2d+154) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -7.6e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -5.5e+58) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= -4.8e-293) {
tmp = (y3 * y5) * ((j * y0) - (y * a));
} else if (x <= 2.95e-120) {
tmp = (t * i) * ((z * c) - (j * y5));
} else if (x <= 1.2e+154) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -7.6e+163: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -5.5e+58: tmp = (x * y2) * ((c * y0) - (a * y1)) elif x <= -4.8e-293: tmp = (y3 * y5) * ((j * y0) - (y * a)) elif x <= 2.95e-120: tmp = (t * i) * ((z * c) - (j * y5)) elif x <= 1.2e+154: tmp = y0 * (y5 * ((j * y3) - (k * y2))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -7.6e+163) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -5.5e+58) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (x <= -4.8e-293) tmp = Float64(Float64(y3 * y5) * Float64(Float64(j * y0) - Float64(y * a))); elseif (x <= 2.95e-120) tmp = Float64(Float64(t * i) * Float64(Float64(z * c) - Float64(j * y5))); elseif (x <= 1.2e+154) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -7.6e+163) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -5.5e+58) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (x <= -4.8e-293) tmp = (y3 * y5) * ((j * y0) - (y * a)); elseif (x <= 2.95e-120) tmp = (t * i) * ((z * c) - (j * y5)); elseif (x <= 1.2e+154) tmp = y0 * (y5 * ((j * y3) - (k * y2))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -7.6e+163], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.5e+58], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4.8e-293], N[(N[(y3 * y5), $MachinePrecision] * N[(N[(j * y0), $MachinePrecision] - N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.95e-120], N[(N[(t * i), $MachinePrecision] * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.2e+154], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -7.6 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -5.5 \cdot 10^{+58}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;x \leq -4.8 \cdot 10^{-293}:\\
\;\;\;\;\left(y3 \cdot y5\right) \cdot \left(j \cdot y0 - y \cdot a\right)\\
\mathbf{elif}\;x \leq 2.95 \cdot 10^{-120}:\\
\;\;\;\;\left(t \cdot i\right) \cdot \left(z \cdot c - j \cdot y5\right)\\
\mathbf{elif}\;x \leq 1.2 \cdot 10^{+154}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -7.60000000000000017e163Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -7.60000000000000017e163 < x < -5.4999999999999999e58Initial program 27.3%
Taylor expanded in y2 around inf 59.5%
Taylor expanded in x around inf 55.8%
pow155.8%
associate-*r*60.2%
*-commutative60.2%
Applied egg-rr60.2%
unpow160.2%
*-commutative60.2%
Simplified60.2%
if -5.4999999999999999e58 < x < -4.7999999999999998e-293Initial program 37.1%
Taylor expanded in y5 around -inf 30.8%
Taylor expanded in y3 around inf 36.6%
associate-*r*36.6%
sub-neg36.6%
neg-mul-136.6%
mul-1-neg36.6%
remove-double-neg36.6%
+-commutative36.6%
sub-neg36.6%
Simplified36.6%
if -4.7999999999999998e-293 < x < 2.94999999999999989e-120Initial program 27.6%
Taylor expanded in i around -inf 38.4%
Taylor expanded in t around -inf 42.6%
associate-*r*45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
Simplified45.9%
if 2.94999999999999989e-120 < x < 1.20000000000000007e154Initial program 42.7%
Taylor expanded in x around inf 38.3%
Taylor expanded in b around inf 45.6%
Taylor expanded in y5 around inf 37.1%
associate-*r*37.1%
neg-mul-137.1%
Simplified37.1%
if 1.20000000000000007e154 < x Initial program 27.0%
Taylor expanded in x around inf 48.6%
Taylor expanded in i around -inf 70.8%
associate-*r*70.8%
neg-mul-170.8%
Simplified70.8%
Final simplification50.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -2.5e+34)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= j -8.2e-187)
(* i (* z (- (* t c) (* k y1))))
(if (<= j 2.95e-150)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= j 5e+21)
(* y0 (* y2 (- (* x c) (* k y5))))
(* y1 (* y4 (- (* k y2) (* j y3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.5e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -8.2e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 2.95e-150) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 5e+21) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-2.5d+34)) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (j <= (-8.2d-187)) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (j <= 2.95d-150) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (j <= 5d+21) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.5e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -8.2e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 2.95e-150) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 5e+21) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -2.5e+34: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif j <= -8.2e-187: tmp = i * (z * ((t * c) - (k * y1))) elif j <= 2.95e-150: tmp = a * (x * ((y * b) - (y1 * y2))) elif j <= 5e+21: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -2.5e+34) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= -8.2e-187) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (j <= 2.95e-150) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (j <= 5e+21) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -2.5e+34) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (j <= -8.2e-187) tmp = i * (z * ((t * c) - (k * y1))); elseif (j <= 2.95e-150) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (j <= 5e+21) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -2.5e+34], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -8.2e-187], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.95e-150], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5e+21], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.5 \cdot 10^{+34}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq -8.2 \cdot 10^{-187}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 2.95 \cdot 10^{-150}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 5 \cdot 10^{+21}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if j < -2.4999999999999999e34Initial program 18.3%
Taylor expanded in y0 around inf 43.6%
Taylor expanded in j around inf 55.9%
if -2.4999999999999999e34 < j < -8.2000000000000004e-187Initial program 47.8%
Taylor expanded in i around -inf 48.3%
Taylor expanded in z around -inf 39.9%
if -8.2000000000000004e-187 < j < 2.94999999999999997e-150Initial program 24.4%
Taylor expanded in x around inf 31.7%
Taylor expanded in a around inf 50.9%
if 2.94999999999999997e-150 < j < 5e21Initial program 41.7%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in y2 around inf 43.9%
if 5e21 < j Initial program 39.6%
Taylor expanded in y1 around -inf 43.7%
mul-1-neg43.7%
*-commutative43.7%
*-commutative43.7%
*-commutative43.7%
Simplified43.7%
Taylor expanded in y4 around inf 57.3%
Final simplification50.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -1.8e+34)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= j -6.2e-187)
(* i (* z (- (* t c) (* k y1))))
(if (<= j 9e-106)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= j 1.35e-17)
(* y0 (* b (- (* z k) (* x j))))
(* y1 (* y4 (- (* k y2) (* j y3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.8e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -6.2e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 9e-106) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (j <= 1.35e-17) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-1.8d+34)) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (j <= (-6.2d-187)) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (j <= 9d-106) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (j <= 1.35d-17) then
tmp = y0 * (b * ((z * k) - (x * j)))
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.8e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -6.2e-187) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 9e-106) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (j <= 1.35e-17) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -1.8e+34: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif j <= -6.2e-187: tmp = i * (z * ((t * c) - (k * y1))) elif j <= 9e-106: tmp = (x * y2) * ((c * y0) - (a * y1)) elif j <= 1.35e-17: tmp = y0 * (b * ((z * k) - (x * j))) else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -1.8e+34) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= -6.2e-187) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (j <= 9e-106) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (j <= 1.35e-17) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -1.8e+34) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (j <= -6.2e-187) tmp = i * (z * ((t * c) - (k * y1))); elseif (j <= 9e-106) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (j <= 1.35e-17) tmp = y0 * (b * ((z * k) - (x * j))); else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -1.8e+34], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.2e-187], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9e-106], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.35e-17], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.8 \cdot 10^{+34}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq -6.2 \cdot 10^{-187}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 9 \cdot 10^{-106}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;j \leq 1.35 \cdot 10^{-17}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if j < -1.8e34Initial program 18.3%
Taylor expanded in y0 around inf 43.6%
Taylor expanded in j around inf 55.9%
if -1.8e34 < j < -6.20000000000000039e-187Initial program 47.8%
Taylor expanded in i around -inf 48.3%
Taylor expanded in z around -inf 39.9%
if -6.20000000000000039e-187 < j < 8.99999999999999911e-106Initial program 31.7%
Taylor expanded in y2 around inf 39.6%
Taylor expanded in x around inf 40.5%
pow140.5%
associate-*r*41.9%
*-commutative41.9%
Applied egg-rr41.9%
unpow141.9%
*-commutative41.9%
Simplified41.9%
if 8.99999999999999911e-106 < j < 1.3500000000000001e-17Initial program 25.5%
Taylor expanded in y0 around inf 46.1%
Taylor expanded in b around inf 41.1%
if 1.3500000000000001e-17 < j Initial program 40.6%
Taylor expanded in y1 around -inf 44.3%
mul-1-neg44.3%
*-commutative44.3%
*-commutative44.3%
*-commutative44.3%
Simplified44.3%
Taylor expanded in y4 around inf 56.6%
Final simplification48.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -2.1e+34)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= j -1.05e-186)
(* i (* z (- (* t c) (* k y1))))
(if (<= j 1.26e-104)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= j 1.5e-13)
(* y0 (* b (- (* z k) (* x j))))
(* y1 (* y4 (- (* k y2) (* j y3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.1e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -1.05e-186) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 1.26e-104) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (j <= 1.5e-13) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-2.1d+34)) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (j <= (-1.05d-186)) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (j <= 1.26d-104) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (j <= 1.5d-13) then
tmp = y0 * (b * ((z * k) - (x * j)))
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.1e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -1.05e-186) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (j <= 1.26e-104) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (j <= 1.5e-13) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -2.1e+34: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif j <= -1.05e-186: tmp = i * (z * ((t * c) - (k * y1))) elif j <= 1.26e-104: tmp = x * (y2 * ((c * y0) - (a * y1))) elif j <= 1.5e-13: tmp = y0 * (b * ((z * k) - (x * j))) else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -2.1e+34) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= -1.05e-186) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (j <= 1.26e-104) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (j <= 1.5e-13) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -2.1e+34) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (j <= -1.05e-186) tmp = i * (z * ((t * c) - (k * y1))); elseif (j <= 1.26e-104) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (j <= 1.5e-13) tmp = y0 * (b * ((z * k) - (x * j))); else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -2.1e+34], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.05e-186], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.26e-104], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.5e-13], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.1 \cdot 10^{+34}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq -1.05 \cdot 10^{-186}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 1.26 \cdot 10^{-104}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 1.5 \cdot 10^{-13}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if j < -2.10000000000000017e34Initial program 18.3%
Taylor expanded in y0 around inf 43.6%
Taylor expanded in j around inf 55.9%
if -2.10000000000000017e34 < j < -1.0500000000000001e-186Initial program 47.8%
Taylor expanded in i around -inf 48.3%
Taylor expanded in z around -inf 39.9%
if -1.0500000000000001e-186 < j < 1.26e-104Initial program 31.7%
Taylor expanded in y2 around inf 39.6%
Taylor expanded in x around inf 40.5%
if 1.26e-104 < j < 1.49999999999999992e-13Initial program 25.5%
Taylor expanded in y0 around inf 46.1%
Taylor expanded in b around inf 41.1%
if 1.49999999999999992e-13 < j Initial program 40.6%
Taylor expanded in y1 around -inf 44.3%
mul-1-neg44.3%
*-commutative44.3%
*-commutative44.3%
*-commutative44.3%
Simplified44.3%
Taylor expanded in y4 around inf 56.6%
Final simplification47.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y2 (- (* c y0) (* a y1))))))
(if (<= y -4200000000.0)
(* b (* x (- (* y a) (* j y0))))
(if (<= y -2.95e-148)
t_1
(if (<= y 7e-35)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= y 5.5e+96) t_1 (* x (* y (- (* a b) (* c i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y2 * ((c * y0) - (a * y1)));
double tmp;
if (y <= -4200000000.0) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y <= -2.95e-148) {
tmp = t_1;
} else if (y <= 7e-35) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (y <= 5.5e+96) {
tmp = t_1;
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (y2 * ((c * y0) - (a * y1)))
if (y <= (-4200000000.0d0)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y <= (-2.95d-148)) then
tmp = t_1
else if (y <= 7d-35) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (y <= 5.5d+96) then
tmp = t_1
else
tmp = x * (y * ((a * b) - (c * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y2 * ((c * y0) - (a * y1)));
double tmp;
if (y <= -4200000000.0) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y <= -2.95e-148) {
tmp = t_1;
} else if (y <= 7e-35) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (y <= 5.5e+96) {
tmp = t_1;
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y2 * ((c * y0) - (a * y1))) tmp = 0 if y <= -4200000000.0: tmp = b * (x * ((y * a) - (j * y0))) elif y <= -2.95e-148: tmp = t_1 elif y <= 7e-35: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif y <= 5.5e+96: tmp = t_1 else: tmp = x * (y * ((a * b) - (c * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) tmp = 0.0 if (y <= -4200000000.0) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y <= -2.95e-148) tmp = t_1; elseif (y <= 7e-35) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y <= 5.5e+96) tmp = t_1; else tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y2 * ((c * y0) - (a * y1))); tmp = 0.0; if (y <= -4200000000.0) tmp = b * (x * ((y * a) - (j * y0))); elseif (y <= -2.95e-148) tmp = t_1; elseif (y <= 7e-35) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (y <= 5.5e+96) tmp = t_1; else tmp = x * (y * ((a * b) - (c * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4200000000.0], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.95e-148], t$95$1, If[LessEqual[y, 7e-35], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+96], t$95$1, N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{if}\;y \leq -4200000000:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq -2.95 \cdot 10^{-148}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 7 \cdot 10^{-35}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y \leq 5.5 \cdot 10^{+96}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\end{array}
\end{array}
if y < -4.2e9Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
if -4.2e9 < y < -2.95000000000000008e-148 or 6.99999999999999992e-35 < y < 5.5000000000000002e96Initial program 39.7%
Taylor expanded in y2 around inf 46.8%
Taylor expanded in x around inf 46.2%
if -2.95000000000000008e-148 < y < 6.99999999999999992e-35Initial program 40.0%
Taylor expanded in y0 around inf 46.3%
Taylor expanded in j around inf 44.6%
if 5.5000000000000002e96 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in y around inf 52.4%
Final simplification46.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y2 (- (* c y0) (* a y1))))))
(if (<= y -15.5)
(* b (* x (- (* y a) (* j y0))))
(if (<= y -1.8e-241)
t_1
(if (<= y 3.5e-34)
(* j (* b (- (* t y4) (* x y0))))
(if (<= y 6.8e+96) t_1 (* x (* y (- (* a b) (* c i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y2 * ((c * y0) - (a * y1)));
double tmp;
if (y <= -15.5) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y <= -1.8e-241) {
tmp = t_1;
} else if (y <= 3.5e-34) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else if (y <= 6.8e+96) {
tmp = t_1;
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (y2 * ((c * y0) - (a * y1)))
if (y <= (-15.5d0)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y <= (-1.8d-241)) then
tmp = t_1
else if (y <= 3.5d-34) then
tmp = j * (b * ((t * y4) - (x * y0)))
else if (y <= 6.8d+96) then
tmp = t_1
else
tmp = x * (y * ((a * b) - (c * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y2 * ((c * y0) - (a * y1)));
double tmp;
if (y <= -15.5) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y <= -1.8e-241) {
tmp = t_1;
} else if (y <= 3.5e-34) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else if (y <= 6.8e+96) {
tmp = t_1;
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y2 * ((c * y0) - (a * y1))) tmp = 0 if y <= -15.5: tmp = b * (x * ((y * a) - (j * y0))) elif y <= -1.8e-241: tmp = t_1 elif y <= 3.5e-34: tmp = j * (b * ((t * y4) - (x * y0))) elif y <= 6.8e+96: tmp = t_1 else: tmp = x * (y * ((a * b) - (c * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) tmp = 0.0 if (y <= -15.5) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y <= -1.8e-241) tmp = t_1; elseif (y <= 3.5e-34) tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y <= 6.8e+96) tmp = t_1; else tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y2 * ((c * y0) - (a * y1))); tmp = 0.0; if (y <= -15.5) tmp = b * (x * ((y * a) - (j * y0))); elseif (y <= -1.8e-241) tmp = t_1; elseif (y <= 3.5e-34) tmp = j * (b * ((t * y4) - (x * y0))); elseif (y <= 6.8e+96) tmp = t_1; else tmp = x * (y * ((a * b) - (c * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -15.5], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.8e-241], t$95$1, If[LessEqual[y, 3.5e-34], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6.8e+96], t$95$1, N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{if}\;y \leq -15.5:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq -1.8 \cdot 10^{-241}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 3.5 \cdot 10^{-34}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq 6.8 \cdot 10^{+96}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\end{array}
\end{array}
if y < -15.5Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
if -15.5 < y < -1.7999999999999999e-241 or 3.5e-34 < y < 6.8000000000000002e96Initial program 38.2%
Taylor expanded in y2 around inf 49.3%
Taylor expanded in x around inf 44.7%
if -1.7999999999999999e-241 < y < 3.5e-34Initial program 42.0%
Taylor expanded in j around inf 54.3%
Taylor expanded in b around inf 43.5%
if 6.8000000000000002e96 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in y around inf 52.4%
Final simplification45.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= a -6.6e+228)
(* a (* t (* y2 y5)))
(if (<= a -3.4e-31)
t_1
(if (<= a -7.5e-203)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= a 6.5e+102) (* j (* b (- (* t y4) (* x y0)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (a <= -6.6e+228) {
tmp = a * (t * (y2 * y5));
} else if (a <= -3.4e-31) {
tmp = t_1;
} else if (a <= -7.5e-203) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 6.5e+102) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (a <= (-6.6d+228)) then
tmp = a * (t * (y2 * y5))
else if (a <= (-3.4d-31)) then
tmp = t_1
else if (a <= (-7.5d-203)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (a <= 6.5d+102) then
tmp = j * (b * ((t * y4) - (x * y0)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (a <= -6.6e+228) {
tmp = a * (t * (y2 * y5));
} else if (a <= -3.4e-31) {
tmp = t_1;
} else if (a <= -7.5e-203) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 6.5e+102) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if a <= -6.6e+228: tmp = a * (t * (y2 * y5)) elif a <= -3.4e-31: tmp = t_1 elif a <= -7.5e-203: tmp = c * (y0 * ((x * y2) - (z * y3))) elif a <= 6.5e+102: tmp = j * (b * ((t * y4) - (x * y0))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (a <= -6.6e+228) tmp = Float64(a * Float64(t * Float64(y2 * y5))); elseif (a <= -3.4e-31) tmp = t_1; elseif (a <= -7.5e-203) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (a <= 6.5e+102) tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (a <= -6.6e+228) tmp = a * (t * (y2 * y5)); elseif (a <= -3.4e-31) tmp = t_1; elseif (a <= -7.5e-203) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (a <= 6.5e+102) tmp = j * (b * ((t * y4) - (x * y0))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -6.6e+228], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.4e-31], t$95$1, If[LessEqual[a, -7.5e-203], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.5e+102], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;a \leq -6.6 \cdot 10^{+228}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -3.4 \cdot 10^{-31}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -7.5 \cdot 10^{-203}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 6.5 \cdot 10^{+102}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -6.60000000000000011e228Initial program 23.1%
Taylor expanded in y2 around inf 53.8%
Taylor expanded in y5 around -inf 77.0%
associate-*r*77.0%
mul-1-neg77.0%
Simplified77.0%
Taylor expanded in k around 0 69.6%
if -6.60000000000000011e228 < a < -3.4000000000000001e-31 or 6.5000000000000004e102 < a Initial program 23.4%
Taylor expanded in x around inf 24.6%
Taylor expanded in b around inf 44.5%
if -3.4000000000000001e-31 < a < -7.50000000000000027e-203Initial program 45.0%
Taylor expanded in y0 around inf 57.7%
Taylor expanded in c around inf 53.6%
if -7.50000000000000027e-203 < a < 6.5000000000000004e102Initial program 39.1%
Taylor expanded in j around inf 47.8%
Taylor expanded in b around inf 40.3%
Final simplification45.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= b -0.00065)
t_1
(if (<= b 1.1e-152)
(* k (* y0 (* y5 (- y2))))
(if (<= b 3400000.0)
(* a (* y2 (* x (- y1))))
(if (<= b 8.4e+65) (* c (* x (* y0 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (b <= -0.00065) {
tmp = t_1;
} else if (b <= 1.1e-152) {
tmp = k * (y0 * (y5 * -y2));
} else if (b <= 3400000.0) {
tmp = a * (y2 * (x * -y1));
} else if (b <= 8.4e+65) {
tmp = c * (x * (y0 * 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 = b * (x * ((y * a) - (j * y0)))
if (b <= (-0.00065d0)) then
tmp = t_1
else if (b <= 1.1d-152) then
tmp = k * (y0 * (y5 * -y2))
else if (b <= 3400000.0d0) then
tmp = a * (y2 * (x * -y1))
else if (b <= 8.4d+65) then
tmp = c * (x * (y0 * 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (b <= -0.00065) {
tmp = t_1;
} else if (b <= 1.1e-152) {
tmp = k * (y0 * (y5 * -y2));
} else if (b <= 3400000.0) {
tmp = a * (y2 * (x * -y1));
} else if (b <= 8.4e+65) {
tmp = c * (x * (y0 * 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 = b * (x * ((y * a) - (j * y0))) tmp = 0 if b <= -0.00065: tmp = t_1 elif b <= 1.1e-152: tmp = k * (y0 * (y5 * -y2)) elif b <= 3400000.0: tmp = a * (y2 * (x * -y1)) elif b <= 8.4e+65: tmp = c * (x * (y0 * 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(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (b <= -0.00065) tmp = t_1; elseif (b <= 1.1e-152) tmp = Float64(k * Float64(y0 * Float64(y5 * Float64(-y2)))); elseif (b <= 3400000.0) tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))); elseif (b <= 8.4e+65) tmp = Float64(c * Float64(x * Float64(y0 * 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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (b <= -0.00065) tmp = t_1; elseif (b <= 1.1e-152) tmp = k * (y0 * (y5 * -y2)); elseif (b <= 3400000.0) tmp = a * (y2 * (x * -y1)); elseif (b <= 8.4e+65) tmp = c * (x * (y0 * 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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -0.00065], t$95$1, If[LessEqual[b, 1.1e-152], N[(k * N[(y0 * N[(y5 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3400000.0], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8.4e+65], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;b \leq -0.00065:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 1.1 \cdot 10^{-152}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;b \leq 3400000:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;b \leq 8.4 \cdot 10^{+65}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -6.4999999999999997e-4 or 8.39999999999999965e65 < b Initial program 29.4%
Taylor expanded in x around inf 33.8%
Taylor expanded in b around inf 47.3%
if -6.4999999999999997e-4 < b < 1.09999999999999992e-152Initial program 35.9%
Taylor expanded in y5 around -inf 38.3%
Taylor expanded in k around inf 30.2%
associate-*r*28.9%
+-commutative28.9%
mul-1-neg28.9%
unsub-neg28.9%
*-commutative28.9%
*-commutative28.9%
Simplified28.9%
Taylor expanded in y2 around inf 31.3%
mul-1-neg31.3%
*-commutative31.3%
distribute-rgt-neg-in31.3%
*-commutative31.3%
Simplified31.3%
if 1.09999999999999992e-152 < b < 3.4e6Initial program 34.4%
Taylor expanded in y2 around inf 40.2%
Taylor expanded in x around inf 41.3%
Taylor expanded in c around 0 36.8%
associate-*r*36.8%
neg-mul-136.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in x around 0 36.8%
associate-*r*47.7%
Simplified47.7%
if 3.4e6 < b < 8.39999999999999965e65Initial program 41.2%
Taylor expanded in y2 around inf 58.8%
Taylor expanded in x around inf 41.9%
Taylor expanded in c around inf 53.7%
Final simplification42.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -1150.0)
(* b (* (* x y) a))
(if (<= y -4.8e-185)
(* (* x c) (* y0 y2))
(if (<= y 1e-32)
(* b (* x (* j (- y0))))
(if (<= y 1.95e+96) (* a (* y2 (* x (- y1)))) (* x (* a (* y b))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1150.0) {
tmp = b * ((x * y) * a);
} else if (y <= -4.8e-185) {
tmp = (x * c) * (y0 * y2);
} else if (y <= 1e-32) {
tmp = b * (x * (j * -y0));
} else if (y <= 1.95e+96) {
tmp = a * (y2 * (x * -y1));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-1150.0d0)) then
tmp = b * ((x * y) * a)
else if (y <= (-4.8d-185)) then
tmp = (x * c) * (y0 * y2)
else if (y <= 1d-32) then
tmp = b * (x * (j * -y0))
else if (y <= 1.95d+96) then
tmp = a * (y2 * (x * -y1))
else
tmp = x * (a * (y * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1150.0) {
tmp = b * ((x * y) * a);
} else if (y <= -4.8e-185) {
tmp = (x * c) * (y0 * y2);
} else if (y <= 1e-32) {
tmp = b * (x * (j * -y0));
} else if (y <= 1.95e+96) {
tmp = a * (y2 * (x * -y1));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -1150.0: tmp = b * ((x * y) * a) elif y <= -4.8e-185: tmp = (x * c) * (y0 * y2) elif y <= 1e-32: tmp = b * (x * (j * -y0)) elif y <= 1.95e+96: tmp = a * (y2 * (x * -y1)) else: tmp = x * (a * (y * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -1150.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -4.8e-185) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (y <= 1e-32) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); elseif (y <= 1.95e+96) tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))); else tmp = Float64(x * Float64(a * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -1150.0) tmp = b * ((x * y) * a); elseif (y <= -4.8e-185) tmp = (x * c) * (y0 * y2); elseif (y <= 1e-32) tmp = b * (x * (j * -y0)); elseif (y <= 1.95e+96) tmp = a * (y2 * (x * -y1)); else tmp = x * (a * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1150.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4.8e-185], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1e-32], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.95e+96], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1150:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -4.8 \cdot 10^{-185}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;y \leq 10^{-32}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;y \leq 1.95 \cdot 10^{+96}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b\right)\right)\\
\end{array}
\end{array}
if y < -1150Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -1150 < y < -4.8000000000000002e-185Initial program 42.8%
Taylor expanded in y2 around inf 44.8%
Taylor expanded in x around inf 40.3%
Taylor expanded in c around inf 27.7%
associate-*r*29.5%
*-commutative29.5%
Simplified29.5%
if -4.8000000000000002e-185 < y < 1.00000000000000006e-32Initial program 39.5%
Taylor expanded in x around inf 36.3%
Taylor expanded in b around inf 33.4%
Taylor expanded in a around 0 33.3%
neg-mul-133.3%
distribute-rgt-neg-in33.3%
Simplified33.3%
if 1.00000000000000006e-32 < y < 1.95e96Initial program 34.8%
Taylor expanded in y2 around inf 46.3%
Taylor expanded in x around inf 47.0%
Taylor expanded in c around 0 43.8%
associate-*r*43.8%
neg-mul-143.8%
*-commutative43.8%
Simplified43.8%
Taylor expanded in x around 0 43.8%
associate-*r*43.9%
Simplified43.9%
if 1.95e96 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in y around inf 52.4%
Taylor expanded in a around inf 44.4%
*-commutative44.4%
Simplified44.4%
Final simplification36.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -95000.0)
(* b (* (* x y) a))
(if (<= y -4.8e-184)
(* (* x c) (* y0 y2))
(if (<= y 8.5e-32)
(* b (* x (* j (- y0))))
(if (<= y 1.4e+97) (* a (* x (* y1 (- y2)))) (* x (* a (* y b))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -95000.0) {
tmp = b * ((x * y) * a);
} else if (y <= -4.8e-184) {
tmp = (x * c) * (y0 * y2);
} else if (y <= 8.5e-32) {
tmp = b * (x * (j * -y0));
} else if (y <= 1.4e+97) {
tmp = a * (x * (y1 * -y2));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-95000.0d0)) then
tmp = b * ((x * y) * a)
else if (y <= (-4.8d-184)) then
tmp = (x * c) * (y0 * y2)
else if (y <= 8.5d-32) then
tmp = b * (x * (j * -y0))
else if (y <= 1.4d+97) then
tmp = a * (x * (y1 * -y2))
else
tmp = x * (a * (y * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -95000.0) {
tmp = b * ((x * y) * a);
} else if (y <= -4.8e-184) {
tmp = (x * c) * (y0 * y2);
} else if (y <= 8.5e-32) {
tmp = b * (x * (j * -y0));
} else if (y <= 1.4e+97) {
tmp = a * (x * (y1 * -y2));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -95000.0: tmp = b * ((x * y) * a) elif y <= -4.8e-184: tmp = (x * c) * (y0 * y2) elif y <= 8.5e-32: tmp = b * (x * (j * -y0)) elif y <= 1.4e+97: tmp = a * (x * (y1 * -y2)) else: tmp = x * (a * (y * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -95000.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -4.8e-184) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (y <= 8.5e-32) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); elseif (y <= 1.4e+97) tmp = Float64(a * Float64(x * Float64(y1 * Float64(-y2)))); else tmp = Float64(x * Float64(a * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -95000.0) tmp = b * ((x * y) * a); elseif (y <= -4.8e-184) tmp = (x * c) * (y0 * y2); elseif (y <= 8.5e-32) tmp = b * (x * (j * -y0)); elseif (y <= 1.4e+97) tmp = a * (x * (y1 * -y2)); else tmp = x * (a * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -95000.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4.8e-184], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 8.5e-32], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.4e+97], N[(a * N[(x * N[(y1 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -95000:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -4.8 \cdot 10^{-184}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;y \leq 8.5 \cdot 10^{-32}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;y \leq 1.4 \cdot 10^{+97}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y1 \cdot \left(-y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b\right)\right)\\
\end{array}
\end{array}
if y < -95000Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -95000 < y < -4.80000000000000049e-184Initial program 42.8%
Taylor expanded in y2 around inf 44.8%
Taylor expanded in x around inf 40.3%
Taylor expanded in c around inf 27.7%
associate-*r*29.5%
*-commutative29.5%
Simplified29.5%
if -4.80000000000000049e-184 < y < 8.5000000000000003e-32Initial program 39.5%
Taylor expanded in x around inf 36.3%
Taylor expanded in b around inf 33.4%
Taylor expanded in a around 0 33.3%
neg-mul-133.3%
distribute-rgt-neg-in33.3%
Simplified33.3%
if 8.5000000000000003e-32 < y < 1.4e97Initial program 34.8%
Taylor expanded in y2 around inf 46.3%
Taylor expanded in x around inf 47.0%
Taylor expanded in c around 0 43.8%
associate-*r*43.8%
neg-mul-143.8%
*-commutative43.8%
Simplified43.8%
if 1.4e97 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in y around inf 52.4%
Taylor expanded in a around inf 44.4%
*-commutative44.4%
Simplified44.4%
Final simplification36.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -1.44e+163)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -1.96e+65)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= x 1.2e+154)
(* y0 (* y5 (- (* j y3) (* k y2))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -1.44e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.96e+65) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 1.2e+154) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-1.44d+163)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-1.96d+65)) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (x <= 1.2d+154) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -1.44e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.96e+65) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= 1.2e+154) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -1.44e+163: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -1.96e+65: tmp = (x * y2) * ((c * y0) - (a * y1)) elif x <= 1.2e+154: tmp = y0 * (y5 * ((j * y3) - (k * y2))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -1.44e+163) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -1.96e+65) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (x <= 1.2e+154) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -1.44e+163) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -1.96e+65) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (x <= 1.2e+154) tmp = y0 * (y5 * ((j * y3) - (k * y2))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -1.44e+163], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.96e+65], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.2e+154], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.44 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -1.96 \cdot 10^{+65}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;x \leq 1.2 \cdot 10^{+154}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -1.43999999999999997e163Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -1.43999999999999997e163 < x < -1.9600000000000001e65Initial program 28.6%
Taylor expanded in y2 around inf 62.4%
Taylor expanded in x around inf 58.5%
pow158.5%
associate-*r*63.0%
*-commutative63.0%
Applied egg-rr63.0%
unpow163.0%
*-commutative63.0%
Simplified63.0%
if -1.9600000000000001e65 < x < 1.20000000000000007e154Initial program 37.1%
Taylor expanded in x around inf 30.7%
Taylor expanded in b around inf 39.6%
Taylor expanded in y5 around inf 32.7%
associate-*r*32.7%
neg-mul-132.7%
Simplified32.7%
if 1.20000000000000007e154 < x Initial program 27.0%
Taylor expanded in x around inf 48.6%
Taylor expanded in i around -inf 70.8%
associate-*r*70.8%
neg-mul-170.8%
Simplified70.8%
Final simplification47.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -0.92)
(* b (* (* x y) a))
(if (<= y -6.8e-184)
(* (* x c) (* y0 y2))
(if (<= y 2.12e+40) (* b (* x (* j (- y0)))) (* x (* a (* y b)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -0.92) {
tmp = b * ((x * y) * a);
} else if (y <= -6.8e-184) {
tmp = (x * c) * (y0 * y2);
} else if (y <= 2.12e+40) {
tmp = b * (x * (j * -y0));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-0.92d0)) then
tmp = b * ((x * y) * a)
else if (y <= (-6.8d-184)) then
tmp = (x * c) * (y0 * y2)
else if (y <= 2.12d+40) then
tmp = b * (x * (j * -y0))
else
tmp = x * (a * (y * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -0.92) {
tmp = b * ((x * y) * a);
} else if (y <= -6.8e-184) {
tmp = (x * c) * (y0 * y2);
} else if (y <= 2.12e+40) {
tmp = b * (x * (j * -y0));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -0.92: tmp = b * ((x * y) * a) elif y <= -6.8e-184: tmp = (x * c) * (y0 * y2) elif y <= 2.12e+40: tmp = b * (x * (j * -y0)) else: tmp = x * (a * (y * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -0.92) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -6.8e-184) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (y <= 2.12e+40) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(x * Float64(a * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -0.92) tmp = b * ((x * y) * a); elseif (y <= -6.8e-184) tmp = (x * c) * (y0 * y2); elseif (y <= 2.12e+40) tmp = b * (x * (j * -y0)); else tmp = x * (a * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -0.92], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.8e-184], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.12e+40], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -0.92:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -6.8 \cdot 10^{-184}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;y \leq 2.12 \cdot 10^{+40}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b\right)\right)\\
\end{array}
\end{array}
if y < -0.92000000000000004Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -0.92000000000000004 < y < -6.80000000000000008e-184Initial program 42.8%
Taylor expanded in y2 around inf 44.8%
Taylor expanded in x around inf 40.3%
Taylor expanded in c around inf 27.7%
associate-*r*29.5%
*-commutative29.5%
Simplified29.5%
if -6.80000000000000008e-184 < y < 2.11999999999999991e40Initial program 40.3%
Taylor expanded in x around inf 36.6%
Taylor expanded in b around inf 33.2%
Taylor expanded in a around 0 32.1%
neg-mul-132.1%
distribute-rgt-neg-in32.1%
Simplified32.1%
if 2.11999999999999991e40 < y Initial program 30.6%
Taylor expanded in x around inf 33.1%
Taylor expanded in y around inf 46.0%
Taylor expanded in a around inf 39.6%
*-commutative39.6%
Simplified39.6%
Final simplification34.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.4e-54)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= y2 4.2e+188)
(* b (* x (- (* y a) (* j y0))))
(* i (* y1 (- (* x j) (* z k)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.4e-54) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y2 <= 4.2e+188) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-3.4d-54)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (y2 <= 4.2d+188) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = i * (y1 * ((x * j) - (z * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.4e-54) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y2 <= 4.2e+188) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -3.4e-54: tmp = c * (y2 * ((x * y0) - (t * y4))) elif y2 <= 4.2e+188: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = i * (y1 * ((x * j) - (z * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -3.4e-54) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (y2 <= 4.2e+188) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -3.4e-54) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (y2 <= 4.2e+188) tmp = b * (x * ((y * a) - (j * y0))); else tmp = i * (y1 * ((x * j) - (z * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.4e-54], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.2e+188], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.4 \cdot 10^{-54}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 4.2 \cdot 10^{+188}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if y2 < -3.39999999999999987e-54Initial program 33.4%
Taylor expanded in y2 around inf 47.7%
Taylor expanded in c around inf 41.5%
if -3.39999999999999987e-54 < y2 < 4.19999999999999973e188Initial program 34.3%
Taylor expanded in x around inf 36.9%
Taylor expanded in b around inf 39.4%
if 4.19999999999999973e188 < y2 Initial program 21.7%
Taylor expanded in y1 around -inf 34.8%
mul-1-neg34.8%
*-commutative34.8%
*-commutative34.8%
*-commutative34.8%
Simplified34.8%
Taylor expanded in i around -inf 57.4%
Final simplification41.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -1.9e-54)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= y2 6.8e+116)
(* b (* x (- (* y a) (* j y0))))
(* k (* y0 (* y5 (- 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 (y2 <= -1.9e-54) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y2 <= 6.8e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y0 * (y5 * -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 (y2 <= (-1.9d-54)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (y2 <= 6.8d+116) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = k * (y0 * (y5 * -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 (y2 <= -1.9e-54) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y2 <= 6.8e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y0 * (y5 * -y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.9e-54: tmp = c * (y2 * ((x * y0) - (t * y4))) elif y2 <= 6.8e+116: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = k * (y0 * (y5 * -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 (y2 <= -1.9e-54) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (y2 <= 6.8e+116) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(k * Float64(y0 * Float64(y5 * Float64(-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 (y2 <= -1.9e-54) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (y2 <= 6.8e+116) tmp = b * (x * ((y * a) - (j * y0))); else tmp = k * (y0 * (y5 * -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[y2, -1.9e-54], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.8e+116], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y0 * N[(y5 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.9 \cdot 10^{-54}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 6.8 \cdot 10^{+116}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -1.9000000000000001e-54Initial program 33.4%
Taylor expanded in y2 around inf 47.7%
Taylor expanded in c around inf 41.5%
if -1.9000000000000001e-54 < y2 < 6.80000000000000046e116Initial program 34.7%
Taylor expanded in x around inf 36.9%
Taylor expanded in b around inf 38.8%
if 6.80000000000000046e116 < y2 Initial program 25.6%
Taylor expanded in y5 around -inf 44.0%
Taylor expanded in k around inf 49.8%
associate-*r*52.1%
+-commutative52.1%
mul-1-neg52.1%
unsub-neg52.1%
*-commutative52.1%
*-commutative52.1%
Simplified52.1%
Taylor expanded in y2 around inf 47.0%
mul-1-neg47.0%
*-commutative47.0%
distribute-rgt-neg-in47.0%
*-commutative47.0%
Simplified47.0%
Final simplification40.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -1.75e-51)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y2 3e+116)
(* b (* x (- (* y a) (* j y0))))
(* k (* y0 (* y5 (- 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 (y2 <= -1.75e-51) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y2 <= 3e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y0 * (y5 * -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 (y2 <= (-1.75d-51)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y2 <= 3d+116) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = k * (y0 * (y5 * -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 (y2 <= -1.75e-51) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y2 <= 3e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y0 * (y5 * -y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.75e-51: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y2 <= 3e+116: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = k * (y0 * (y5 * -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 (y2 <= -1.75e-51) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y2 <= 3e+116) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(k * Float64(y0 * Float64(y5 * Float64(-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 (y2 <= -1.75e-51) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y2 <= 3e+116) tmp = b * (x * ((y * a) - (j * y0))); else tmp = k * (y0 * (y5 * -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[y2, -1.75e-51], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3e+116], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y0 * N[(y5 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.75 \cdot 10^{-51}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 3 \cdot 10^{+116}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -1.7499999999999999e-51Initial program 33.4%
Taylor expanded in y0 around inf 41.6%
Taylor expanded in c around inf 39.2%
if -1.7499999999999999e-51 < y2 < 2.9999999999999999e116Initial program 34.7%
Taylor expanded in x around inf 36.9%
Taylor expanded in b around inf 38.8%
if 2.9999999999999999e116 < y2 Initial program 25.6%
Taylor expanded in y5 around -inf 44.0%
Taylor expanded in k around inf 49.8%
associate-*r*52.1%
+-commutative52.1%
mul-1-neg52.1%
unsub-neg52.1%
*-commutative52.1%
*-commutative52.1%
Simplified52.1%
Taylor expanded in y2 around inf 47.0%
mul-1-neg47.0%
*-commutative47.0%
distribute-rgt-neg-in47.0%
*-commutative47.0%
Simplified47.0%
Final simplification40.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y2 -3.5e+152) (not (<= y2 2.8e+28))) (* a (* t (* y2 y5))) (* a (* (* x y) b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y2 <= -3.5e+152) || !(y2 <= 2.8e+28)) {
tmp = a * (t * (y2 * y5));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y2 <= (-3.5d+152)) .or. (.not. (y2 <= 2.8d+28))) then
tmp = a * (t * (y2 * y5))
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y2 <= -3.5e+152) || !(y2 <= 2.8e+28)) {
tmp = a * (t * (y2 * y5));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y2 <= -3.5e+152) or not (y2 <= 2.8e+28): tmp = a * (t * (y2 * y5)) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y2 <= -3.5e+152) || !(y2 <= 2.8e+28)) tmp = Float64(a * Float64(t * Float64(y2 * y5))); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y2 <= -3.5e+152) || ~((y2 <= 2.8e+28))) tmp = a * (t * (y2 * y5)); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y2, -3.5e+152], N[Not[LessEqual[y2, 2.8e+28]], $MachinePrecision]], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.5 \cdot 10^{+152} \lor \neg \left(y2 \leq 2.8 \cdot 10^{+28}\right):\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y2 < -3.49999999999999981e152 or 2.8000000000000001e28 < y2 Initial program 32.1%
Taylor expanded in y2 around inf 52.9%
Taylor expanded in y5 around -inf 38.6%
associate-*r*38.6%
mul-1-neg38.6%
Simplified38.6%
Taylor expanded in k around 0 29.0%
if -3.49999999999999981e152 < y2 < 2.8000000000000001e28Initial program 33.4%
Taylor expanded in x around inf 33.9%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 23.2%
Final simplification25.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -2.55e-5) (* b (* (* x y) a)) (if (<= y 4.2e+96) (* c (* x (* y0 y2))) (* x (* a (* y b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2.55e-5) {
tmp = b * ((x * y) * a);
} else if (y <= 4.2e+96) {
tmp = c * (x * (y0 * y2));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-2.55d-5)) then
tmp = b * ((x * y) * a)
else if (y <= 4.2d+96) then
tmp = c * (x * (y0 * y2))
else
tmp = x * (a * (y * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2.55e-5) {
tmp = b * ((x * y) * a);
} else if (y <= 4.2e+96) {
tmp = c * (x * (y0 * y2));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -2.55e-5: tmp = b * ((x * y) * a) elif y <= 4.2e+96: tmp = c * (x * (y0 * y2)) else: tmp = x * (a * (y * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -2.55e-5) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 4.2e+96) tmp = Float64(c * Float64(x * Float64(y0 * y2))); else tmp = Float64(x * Float64(a * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -2.55e-5) tmp = b * ((x * y) * a); elseif (y <= 4.2e+96) tmp = c * (x * (y0 * y2)); else tmp = x * (a * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2.55e-5], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.2e+96], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.55 \cdot 10^{-5}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 4.2 \cdot 10^{+96}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b\right)\right)\\
\end{array}
\end{array}
if y < -2.54999999999999998e-5Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -2.54999999999999998e-5 < y < 4.2000000000000002e96Initial program 39.9%
Taylor expanded in y2 around inf 41.4%
Taylor expanded in x around inf 34.1%
Taylor expanded in c around inf 22.7%
if 4.2000000000000002e96 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in y around inf 52.4%
Taylor expanded in a around inf 44.4%
*-commutative44.4%
Simplified44.4%
Final simplification29.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -3900000000.0) (* b (* (* x y) a)) (if (<= y 6.8e+101) (* c (* x (* y0 y2))) (* 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 (y <= -3900000000.0) {
tmp = b * ((x * y) * a);
} else if (y <= 6.8e+101) {
tmp = c * (x * (y0 * y2));
} 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 (y <= (-3900000000.0d0)) then
tmp = b * ((x * y) * a)
else if (y <= 6.8d+101) then
tmp = c * (x * (y0 * y2))
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 (y <= -3900000000.0) {
tmp = b * ((x * y) * a);
} else if (y <= 6.8e+101) {
tmp = c * (x * (y0 * y2));
} 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 y <= -3900000000.0: tmp = b * ((x * y) * a) elif y <= 6.8e+101: tmp = c * (x * (y0 * y2)) 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 (y <= -3900000000.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 6.8e+101) tmp = Float64(c * Float64(x * Float64(y0 * y2))); 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 (y <= -3900000000.0) tmp = b * ((x * y) * a); elseif (y <= 6.8e+101) tmp = c * (x * (y0 * y2)); 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[y, -3900000000.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6.8e+101], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3900000000:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 6.8 \cdot 10^{+101}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\end{array}
\end{array}
if y < -3.9e9Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -3.9e9 < y < 6.80000000000000034e101Initial program 40.6%
Taylor expanded in y2 around inf 41.0%
Taylor expanded in x around inf 33.7%
Taylor expanded in c around inf 22.4%
if 6.80000000000000034e101 < y Initial program 29.7%
Taylor expanded in y5 around -inf 35.5%
Taylor expanded in k around inf 38.7%
associate-*r*33.6%
+-commutative33.6%
mul-1-neg33.6%
unsub-neg33.6%
*-commutative33.6%
*-commutative33.6%
Simplified33.6%
Taylor expanded in y2 around 0 41.5%
Final simplification29.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -620.0) (* b (* (* x y) a)) (if (<= y 4.1e+96) (* c (* x (* y0 y2))) (* b (* x (* y a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -620.0) {
tmp = b * ((x * y) * a);
} else if (y <= 4.1e+96) {
tmp = c * (x * (y0 * y2));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-620.0d0)) then
tmp = b * ((x * y) * a)
else if (y <= 4.1d+96) then
tmp = c * (x * (y0 * y2))
else
tmp = b * (x * (y * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -620.0) {
tmp = b * ((x * y) * a);
} else if (y <= 4.1e+96) {
tmp = c * (x * (y0 * y2));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -620.0: tmp = b * ((x * y) * a) elif y <= 4.1e+96: tmp = c * (x * (y0 * y2)) else: tmp = b * (x * (y * a)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -620.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 4.1e+96) tmp = Float64(c * Float64(x * Float64(y0 * y2))); else tmp = Float64(b * Float64(x * Float64(y * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -620.0) tmp = b * ((x * y) * a); elseif (y <= 4.1e+96) tmp = c * (x * (y0 * y2)); else tmp = b * (x * (y * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -620.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.1e+96], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -620:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 4.1 \cdot 10^{+96}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\end{array}
\end{array}
if y < -620Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -620 < y < 4.09999999999999998e96Initial program 39.9%
Taylor expanded in y2 around inf 41.4%
Taylor expanded in x around inf 34.1%
Taylor expanded in c around inf 22.7%
if 4.09999999999999998e96 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in b around inf 37.1%
Taylor expanded in a around inf 37.0%
Final simplification28.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -9.2e-28) (* b (* (* x y) a)) (if (<= y 8.5e-106) (* a (* t (* y2 y5))) (* b (* x (* y a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -9.2e-28) {
tmp = b * ((x * y) * a);
} else if (y <= 8.5e-106) {
tmp = a * (t * (y2 * y5));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-9.2d-28)) then
tmp = b * ((x * y) * a)
else if (y <= 8.5d-106) then
tmp = a * (t * (y2 * y5))
else
tmp = b * (x * (y * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -9.2e-28) {
tmp = b * ((x * y) * a);
} else if (y <= 8.5e-106) {
tmp = a * (t * (y2 * y5));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -9.2e-28: tmp = b * ((x * y) * a) elif y <= 8.5e-106: tmp = a * (t * (y2 * y5)) else: tmp = b * (x * (y * a)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -9.2e-28) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 8.5e-106) tmp = Float64(a * Float64(t * Float64(y2 * y5))); else tmp = Float64(b * Float64(x * Float64(y * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -9.2e-28) tmp = b * ((x * y) * a); elseif (y <= 8.5e-106) tmp = a * (t * (y2 * y5)); else tmp = b * (x * (y * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -9.2e-28], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 8.5e-106], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -9.2 \cdot 10^{-28}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 8.5 \cdot 10^{-106}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\end{array}
\end{array}
if y < -9.19999999999999942e-28Initial program 14.3%
Taylor expanded in x around inf 27.3%
Taylor expanded in b around inf 42.8%
Taylor expanded in a around inf 38.2%
if -9.19999999999999942e-28 < y < 8.4999999999999998e-106Initial program 43.3%
Taylor expanded in y2 around inf 43.4%
Taylor expanded in y5 around -inf 26.2%
associate-*r*26.2%
mul-1-neg26.2%
Simplified26.2%
Taylor expanded in k around 0 20.4%
if 8.4999999999999998e-106 < y Initial program 33.4%
Taylor expanded in x around inf 32.5%
Taylor expanded in b around inf 35.7%
Taylor expanded in a around inf 22.4%
Final simplification25.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -9.5e-28) (* b (* (* x y) a)) (if (<= y 1.22e-110) (* a (* t (* y2 y5))) (* a (* (* x y) b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -9.5e-28) {
tmp = b * ((x * y) * a);
} else if (y <= 1.22e-110) {
tmp = a * (t * (y2 * y5));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-9.5d-28)) then
tmp = b * ((x * y) * a)
else if (y <= 1.22d-110) then
tmp = a * (t * (y2 * y5))
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -9.5e-28) {
tmp = b * ((x * y) * a);
} else if (y <= 1.22e-110) {
tmp = a * (t * (y2 * y5));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -9.5e-28: tmp = b * ((x * y) * a) elif y <= 1.22e-110: tmp = a * (t * (y2 * y5)) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -9.5e-28) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 1.22e-110) tmp = Float64(a * Float64(t * Float64(y2 * y5))); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -9.5e-28) tmp = b * ((x * y) * a); elseif (y <= 1.22e-110) tmp = a * (t * (y2 * y5)); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -9.5e-28], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.22e-110], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -9.5 \cdot 10^{-28}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 1.22 \cdot 10^{-110}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y < -9.50000000000000001e-28Initial program 14.3%
Taylor expanded in x around inf 27.3%
Taylor expanded in b around inf 42.8%
Taylor expanded in a around inf 38.2%
if -9.50000000000000001e-28 < y < 1.22e-110Initial program 42.1%
Taylor expanded in y2 around inf 43.2%
Taylor expanded in y5 around -inf 25.2%
associate-*r*25.2%
mul-1-neg25.2%
Simplified25.2%
Taylor expanded in k around 0 20.2%
if 1.22e-110 < y Initial program 35.3%
Taylor expanded in x around inf 33.3%
Taylor expanded in b around inf 35.2%
Taylor expanded in a around inf 22.6%
Final simplification25.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 32.9%
Taylor expanded in x around inf 35.1%
Taylor expanded in b around inf 33.1%
Taylor expanded in a around inf 19.3%
Final simplification19.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y4 c) (* y5 a)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (- (* y2 t) (* y3 y)))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y4 b) (* y5 i)))
(t_6 (* (- (* j t) (* k y)) t_5))
(t_7 (- (* b a) (* i c)))
(t_8 (* t_7 (- (* y x) (* t z))))
(t_9 (- (* j x) (* k z)))
(t_10 (* (- (* b y0) (* i y1)) t_9))
(t_11 (* t_9 (- (* y0 b) (* i y1))))
(t_12 (- (* y4 y1) (* y5 y0)))
(t_13 (* t_4 t_12))
(t_14 (* (- (* y2 k) (* y3 j)) t_12))
(t_15
(+
(-
(-
(- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
(* (* y5 t) (* i j)))
(- (* t_3 t_1) t_14))
(- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
(t_16
(+
(+
(- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
(+ (* (* y5 a) (* t y2)) t_13))
(-
(* t_2 (- (* c y0) (* a y1)))
(- t_10 (* (- (* y x) (* z t)) t_7)))))
(t_17 (- (* t y2) (* y y3))))
(if (< y4 -7.206256231996481e+60)
(- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
(if (< y4 -3.364603505246317e-66)
(+
(-
(- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
t_10)
(-
(* (- (* y0 c) (* a y1)) t_2)
(- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
(if (< y4 -1.2000065055686116e-105)
t_16
(if (< y4 6.718963124057495e-279)
t_15
(if (< y4 4.77962681403792e-222)
t_16
(if (< y4 2.2852241541266835e-175)
t_15
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(-
(* k (* i (* z y1)))
(+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
(-
(* z (* y3 (* a y1)))
(+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
(* (- (* t j) (* y k)) t_5))
(* t_17 t_1))
t_13)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
real(8) :: t_12
real(8) :: t_13
real(8) :: t_14
real(8) :: t_15
real(8) :: t_16
real(8) :: t_17
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (y4 * c) - (y5 * a)
t_2 = (x * y2) - (z * y3)
t_3 = (y2 * t) - (y3 * y)
t_4 = (k * y2) - (j * y3)
t_5 = (y4 * b) - (y5 * i)
t_6 = ((j * t) - (k * y)) * t_5
t_7 = (b * a) - (i * c)
t_8 = t_7 * ((y * x) - (t * z))
t_9 = (j * x) - (k * z)
t_10 = ((b * y0) - (i * y1)) * t_9
t_11 = t_9 * ((y0 * b) - (i * y1))
t_12 = (y4 * y1) - (y5 * y0)
t_13 = t_4 * t_12
t_14 = ((y2 * k) - (y3 * j)) * t_12
t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
t_17 = (t * y2) - (y * y3)
if (y4 < (-7.206256231996481d+60)) then
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
else if (y4 < (-3.364603505246317d-66)) then
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
else if (y4 < (-1.2000065055686116d-105)) then
tmp = t_16
else if (y4 < 6.718963124057495d-279) then
tmp = t_15
else if (y4 < 4.77962681403792d-222) then
tmp = t_16
else if (y4 < 2.2852241541266835d-175) then
tmp = t_15
else
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y4 * c) - (y5 * a) t_2 = (x * y2) - (z * y3) t_3 = (y2 * t) - (y3 * y) t_4 = (k * y2) - (j * y3) t_5 = (y4 * b) - (y5 * i) t_6 = ((j * t) - (k * y)) * t_5 t_7 = (b * a) - (i * c) t_8 = t_7 * ((y * x) - (t * z)) t_9 = (j * x) - (k * z) t_10 = ((b * y0) - (i * y1)) * t_9 t_11 = t_9 * ((y0 * b) - (i * y1)) t_12 = (y4 * y1) - (y5 * y0) t_13 = t_4 * t_12 t_14 = ((y2 * k) - (y3 * j)) * t_12 t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))) t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))) t_17 = (t * y2) - (y * y3) tmp = 0 if y4 < -7.206256231996481e+60: tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14) elif y4 < -3.364603505246317e-66: tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))) elif y4 < -1.2000065055686116e-105: tmp = t_16 elif y4 < 6.718963124057495e-279: tmp = t_15 elif y4 < 4.77962681403792e-222: tmp = t_16 elif y4 < 2.2852241541266835e-175: tmp = t_15 else: tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(y2 * t) - Float64(y3 * y)) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y4 * b) - Float64(y5 * i)) t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5) t_7 = Float64(Float64(b * a) - Float64(i * c)) t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z))) t_9 = Float64(Float64(j * x) - Float64(k * z)) t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9) t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1))) t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_13 = Float64(t_4 * t_12) t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12) t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a)))))) t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7)))) t_17 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (y4 < -7.206256231996481e+60) tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14)); elseif (y4 < -3.364603505246317e-66) tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4)))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y4 * c) - (y5 * a); t_2 = (x * y2) - (z * y3); t_3 = (y2 * t) - (y3 * y); t_4 = (k * y2) - (j * y3); t_5 = (y4 * b) - (y5 * i); t_6 = ((j * t) - (k * y)) * t_5; t_7 = (b * a) - (i * c); t_8 = t_7 * ((y * x) - (t * z)); t_9 = (j * x) - (k * z); t_10 = ((b * y0) - (i * y1)) * t_9; t_11 = t_9 * ((y0 * b) - (i * y1)); t_12 = (y4 * y1) - (y5 * y0); t_13 = t_4 * t_12; t_14 = ((y2 * k) - (y3 * j)) * t_12; t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))); t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))); t_17 = (t * y2) - (y * y3); tmp = 0.0; if (y4 < -7.206256231996481e+60) tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14); elseif (y4 < -3.364603505246317e-66) tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot t - y3 \cdot y\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y4 \cdot b - y5 \cdot i\\
t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
t_7 := b \cdot a - i \cdot c\\
t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
t_9 := j \cdot x - k \cdot z\\
t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
t_12 := y4 \cdot y1 - y5 \cdot y0\\
t_13 := t\_4 \cdot t\_12\\
t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
t_17 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
\;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
\mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
\;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
\mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
\;\;\;\;t\_15\\
\mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
\;\;\;\;t\_15\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
\end{array}
\end{array}
herbie shell --seed 2024137
(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)))))