
(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 38 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
(-
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(+
(* (- (* t y2) (* y y3)) (- (* c y4) (* a y5)))
(+
(* (- (* t j) (* y k)) (- (* i y5) (* b y4)))
(+
(* (- (* c y0) (* a y1)) (- (* z y3) (* x y2)))
(+
(* (- (* z k) (* x j)) (- (* i y1) (* b y0)))
(* (- (* a b) (* c i)) (- (* z t) (* x y))))))))))
(if (<= t_1 INFINITY)
t_1
(*
y2
(-
(* t (- (* a y5) (* c y4)))
(+ (* k (- (* y0 y5) (* y1 y4))) (* x (- (* a y1) (* c y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * ((c * y4) - (a * y5))) + ((((t * j) - (y * k)) * ((i * y5) - (b * y4))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((z * k) - (x * j)) * ((i * y1) - (b * y0))) + (((a * b) - (c * i)) * ((z * t) - (x * y)))))));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * ((c * y4) - (a * y5))) + ((((t * j) - (y * k)) * ((i * y5) - (b * y4))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((z * k) - (x * j)) * ((i * y1) - (b * y0))) + (((a * b) - (c * i)) * ((z * t) - (x * y)))))));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * ((c * y4) - (a * y5))) + ((((t * j) - (y * k)) * ((i * y5) - (b * y4))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((z * k) - (x * j)) * ((i * y1) - (b * y0))) + (((a * b) - (c * i)) * ((z * t) - (x * y))))))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(Float64(Float64(Float64(z * k) - Float64(x * j)) * Float64(Float64(i * y1) - Float64(b * y0))) + Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(z * t) - Float64(x * y)))))))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(y2 * Float64(Float64(t * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(k * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(x * Float64(Float64(a * y1) - Float64(c * y0)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * ((c * y4) - (a * y5))) + ((((t * j) - (y * k)) * ((i * y5) - (b * y4))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((z * k) - (x * j)) * ((i * y1) - (b * y0))) + (((a * b) - (c * i)) * ((z * t) - (x * y))))))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = 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[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(y2 * N[(N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(\left(t \cdot j - y \cdot k\right) \cdot \left(i \cdot y5 - b \cdot y4\right) + \left(\left(c \cdot y0 - a \cdot y1\right) \cdot \left(z \cdot y3 - x \cdot y2\right) + \left(\left(z \cdot k - x \cdot j\right) \cdot \left(i \cdot y1 - b \cdot y0\right) + \left(a \cdot b - c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\right)\right)\right)\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(k \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + x \cdot \left(a \cdot y1 - c \cdot y0\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 88.5%
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 y2 around inf 43.1%
Final simplification59.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y5) (* c y4)))
(t_2 (- (* y y3) (* t y2)))
(t_3 (- (* y0 y5) (* y1 y4)))
(t_4 (* y2 (- (* t t_1) (+ (* k t_3) (* x (- (* a y1) (* c y0))))))))
(if (<= y4 -5.8e+71)
(* c (* y4 t_2))
(if (<= y4 -1.15e-140)
t_4
(if (<= y4 5e-274)
(*
j
(+
(+ (* y3 t_3) (* t (- (* b y4) (* i y5))))
(* x (- (* i y1) (* b y0)))))
(if (<= y4 2.2e-40)
(*
t
(+
(- (* z (- (* c i) (* a b))) (* j (- (* i y5) (* b y4))))
(* y2 t_1)))
(if (<= y4 6e+48)
t_4
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c t_2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * y5) - (c * y4);
double t_2 = (y * y3) - (t * y2);
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = y2 * ((t * t_1) - ((k * t_3) + (x * ((a * y1) - (c * y0)))));
double tmp;
if (y4 <= -5.8e+71) {
tmp = c * (y4 * t_2);
} else if (y4 <= -1.15e-140) {
tmp = t_4;
} else if (y4 <= 5e-274) {
tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
} else if (y4 <= 2.2e-40) {
tmp = t * (((z * ((c * i) - (a * b))) - (j * ((i * y5) - (b * y4)))) + (y2 * t_1));
} else if (y4 <= 6e+48) {
tmp = t_4;
} else {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (a * y5) - (c * y4)
t_2 = (y * y3) - (t * y2)
t_3 = (y0 * y5) - (y1 * y4)
t_4 = y2 * ((t * t_1) - ((k * t_3) + (x * ((a * y1) - (c * y0)))))
if (y4 <= (-5.8d+71)) then
tmp = c * (y4 * t_2)
else if (y4 <= (-1.15d-140)) then
tmp = t_4
else if (y4 <= 5d-274) then
tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
else if (y4 <= 2.2d-40) then
tmp = t * (((z * ((c * i) - (a * b))) - (j * ((i * y5) - (b * y4)))) + (y2 * t_1))
else if (y4 <= 6d+48) then
tmp = t_4
else
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * y5) - (c * y4);
double t_2 = (y * y3) - (t * y2);
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = y2 * ((t * t_1) - ((k * t_3) + (x * ((a * y1) - (c * y0)))));
double tmp;
if (y4 <= -5.8e+71) {
tmp = c * (y4 * t_2);
} else if (y4 <= -1.15e-140) {
tmp = t_4;
} else if (y4 <= 5e-274) {
tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
} else if (y4 <= 2.2e-40) {
tmp = t * (((z * ((c * i) - (a * b))) - (j * ((i * y5) - (b * y4)))) + (y2 * t_1));
} else if (y4 <= 6e+48) {
tmp = t_4;
} else {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * y5) - (c * y4) t_2 = (y * y3) - (t * y2) t_3 = (y0 * y5) - (y1 * y4) t_4 = y2 * ((t * t_1) - ((k * t_3) + (x * ((a * y1) - (c * y0))))) tmp = 0 if y4 <= -5.8e+71: tmp = c * (y4 * t_2) elif y4 <= -1.15e-140: tmp = t_4 elif y4 <= 5e-274: tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))) elif y4 <= 2.2e-40: tmp = t * (((z * ((c * i) - (a * b))) - (j * ((i * y5) - (b * y4)))) + (y2 * t_1)) elif y4 <= 6e+48: tmp = t_4 else: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * y5) - Float64(c * y4)) t_2 = Float64(Float64(y * y3) - Float64(t * y2)) t_3 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_4 = Float64(y2 * Float64(Float64(t * t_1) - Float64(Float64(k * t_3) + Float64(x * Float64(Float64(a * y1) - Float64(c * y0)))))) tmp = 0.0 if (y4 <= -5.8e+71) tmp = Float64(c * Float64(y4 * t_2)); elseif (y4 <= -1.15e-140) tmp = t_4; elseif (y4 <= 5e-274) tmp = Float64(j * Float64(Float64(Float64(y3 * t_3) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y4 <= 2.2e-40) tmp = Float64(t * Float64(Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) - Float64(j * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(y2 * t_1))); elseif (y4 <= 6e+48) tmp = t_4; else tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (a * y5) - (c * y4); t_2 = (y * y3) - (t * y2); t_3 = (y0 * y5) - (y1 * y4); t_4 = y2 * ((t * t_1) - ((k * t_3) + (x * ((a * y1) - (c * y0))))); tmp = 0.0; if (y4 <= -5.8e+71) tmp = c * (y4 * t_2); elseif (y4 <= -1.15e-140) tmp = t_4; elseif (y4 <= 5e-274) tmp = j * (((y3 * t_3) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))); elseif (y4 <= 2.2e-40) tmp = t * (((z * ((c * i) - (a * b))) - (j * ((i * y5) - (b * y4)))) + (y2 * t_1)); elseif (y4 <= 6e+48) tmp = t_4; else tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y2 * N[(N[(t * t$95$1), $MachinePrecision] - N[(N[(k * t$95$3), $MachinePrecision] + N[(x * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -5.8e+71], N[(c * N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.15e-140], t$95$4, If[LessEqual[y4, 5e-274], N[(j * N[(N[(N[(y3 * t$95$3), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.2e-40], N[(t * N[(N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 6e+48], t$95$4, N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y5 - c \cdot y4\\
t_2 := y \cdot y3 - t \cdot y2\\
t_3 := y0 \cdot y5 - y1 \cdot y4\\
t_4 := y2 \cdot \left(t \cdot t\_1 - \left(k \cdot t\_3 + x \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{if}\;y4 \leq -5.8 \cdot 10^{+71}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_2\right)\\
\mathbf{elif}\;y4 \leq -1.15 \cdot 10^{-140}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y4 \leq 5 \cdot 10^{-274}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot t\_3 + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 2.2 \cdot 10^{-40}:\\
\;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) - j \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + y2 \cdot t\_1\right)\\
\mathbf{elif}\;y4 \leq 6 \cdot 10^{+48}:\\
\;\;\;\;t\_4\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot t\_2\right)\\
\end{array}
\end{array}
if y4 < -5.80000000000000014e71Initial program 21.4%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in c around inf 61.5%
if -5.80000000000000014e71 < y4 < -1.1500000000000001e-140 or 2.20000000000000009e-40 < y4 < 5.9999999999999999e48Initial program 33.0%
Taylor expanded in y2 around inf 60.4%
if -1.1500000000000001e-140 < y4 < 5e-274Initial program 40.8%
Taylor expanded in j around inf 52.9%
if 5e-274 < y4 < 2.20000000000000009e-40Initial program 39.7%
Taylor expanded in t around inf 56.4%
if 5.9999999999999999e48 < y4 Initial program 27.5%
Taylor expanded in y4 around inf 57.0%
Final simplification57.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y5) (* y1 y4))))
(if (<= x -5.1e+60)
(* y2 (* x (- (* c y0) (* a y1))))
(if (<= x -2.8e-167)
(*
k
(+
(+ (* y (- (* i y5) (* b y4))) (* y2 (- (* y1 y4) (* y0 y5))))
(* z (- (* b y0) (* i y1)))))
(if (<= x 2.3e-93)
(*
j
(+
(+ (* y3 t_1) (* t (- (* b y4) (* i y5))))
(* x (- (* i y1) (* b y0)))))
(*
y2
(-
(* t (- (* a y5) (* c y4)))
(+ (* k t_1) (* x (- (* a y1) (* c y0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -5.1e+60) {
tmp = y2 * (x * ((c * y0) - (a * y1)));
} else if (x <= -2.8e-167) {
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * ((b * y0) - (i * y1))));
} else if (x <= 2.3e-93) {
tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
} else {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (y0 * y5) - (y1 * y4)
if (x <= (-5.1d+60)) then
tmp = y2 * (x * ((c * y0) - (a * y1)))
else if (x <= (-2.8d-167)) then
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * ((b * y0) - (i * y1))))
else if (x <= 2.3d-93) then
tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
else
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -5.1e+60) {
tmp = y2 * (x * ((c * y0) - (a * y1)));
} else if (x <= -2.8e-167) {
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * ((b * y0) - (i * y1))));
} else if (x <= 2.3e-93) {
tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
} else {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0)))));
}
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 <= -5.1e+60: tmp = y2 * (x * ((c * y0) - (a * y1))) elif x <= -2.8e-167: tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * ((b * y0) - (i * y1)))) elif x <= 2.3e-93: tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))) else: tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) tmp = 0.0 if (x <= -5.1e+60) tmp = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (x <= -2.8e-167) tmp = Float64(k * Float64(Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (x <= 2.3e-93) tmp = Float64(j * Float64(Float64(Float64(y3 * t_1) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); else tmp = Float64(y2 * Float64(Float64(t * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(k * t_1) + Float64(x * Float64(Float64(a * y1) - Float64(c * y0)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y0 * y5) - (y1 * y4); tmp = 0.0; if (x <= -5.1e+60) tmp = y2 * (x * ((c * y0) - (a * y1))); elseif (x <= -2.8e-167) tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) + (z * ((b * y0) - (i * y1)))); elseif (x <= 2.3e-93) tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))); else tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -5.1e+60], N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.8e-167], N[(k * N[(N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.3e-93], N[(j * N[(N[(N[(y3 * t$95$1), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * t$95$1), $MachinePrecision] + N[(x * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
\mathbf{if}\;x \leq -5.1 \cdot 10^{+60}:\\
\;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq -2.8 \cdot 10^{-167}:\\
\;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq 2.3 \cdot 10^{-93}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot t\_1 + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(k \cdot t\_1 + x \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\end{array}
\end{array}
if x < -5.09999999999999996e60Initial program 32.6%
Taylor expanded in y2 around inf 43.8%
Taylor expanded in x around inf 61.2%
if -5.09999999999999996e60 < x < -2.79999999999999986e-167Initial program 28.7%
Taylor expanded in k around inf 57.6%
if -2.79999999999999986e-167 < x < 2.2999999999999998e-93Initial program 37.8%
Taylor expanded in j around inf 52.5%
if 2.2999999999999998e-93 < x Initial program 28.8%
Taylor expanded in y2 around inf 53.4%
Final simplification55.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (* x (- (* c y0) (* a y1))))))
(if (<= y4 -3e+151)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -2.6e-165)
t_1
(if (<= y4 1.35e-292)
(* y1 (* i (- (* x j) (* z k))))
(if (<= y4 2.9e-207)
(* t (* j (- (* b y4) (* i y5))))
(if (<= y4 7e+18)
t_1
(if (<= y4 9e+141)
(* b (* y4 (- (* t j) (* y k))))
(* y4 (* t (- (* b j) (* c y2))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * (x * ((c * y0) - (a * y1)));
double tmp;
if (y4 <= -3e+151) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -2.6e-165) {
tmp = t_1;
} else if (y4 <= 1.35e-292) {
tmp = y1 * (i * ((x * j) - (z * k)));
} else if (y4 <= 2.9e-207) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y4 <= 7e+18) {
tmp = t_1;
} else if (y4 <= 9e+141) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = y4 * (t * ((b * j) - (c * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y2 * (x * ((c * y0) - (a * y1)))
if (y4 <= (-3d+151)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-2.6d-165)) then
tmp = t_1
else if (y4 <= 1.35d-292) then
tmp = y1 * (i * ((x * j) - (z * k)))
else if (y4 <= 2.9d-207) then
tmp = t * (j * ((b * y4) - (i * y5)))
else if (y4 <= 7d+18) then
tmp = t_1
else if (y4 <= 9d+141) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = y4 * (t * ((b * j) - (c * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * (x * ((c * y0) - (a * y1)));
double tmp;
if (y4 <= -3e+151) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -2.6e-165) {
tmp = t_1;
} else if (y4 <= 1.35e-292) {
tmp = y1 * (i * ((x * j) - (z * k)));
} else if (y4 <= 2.9e-207) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y4 <= 7e+18) {
tmp = t_1;
} else if (y4 <= 9e+141) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = y4 * (t * ((b * j) - (c * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * (x * ((c * y0) - (a * y1))) tmp = 0 if y4 <= -3e+151: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -2.6e-165: tmp = t_1 elif y4 <= 1.35e-292: tmp = y1 * (i * ((x * j) - (z * k))) elif y4 <= 2.9e-207: tmp = t * (j * ((b * y4) - (i * y5))) elif y4 <= 7e+18: tmp = t_1 elif y4 <= 9e+141: tmp = b * (y4 * ((t * j) - (y * k))) else: tmp = y4 * (t * ((b * j) - (c * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) tmp = 0.0 if (y4 <= -3e+151) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -2.6e-165) tmp = t_1; elseif (y4 <= 1.35e-292) tmp = Float64(y1 * Float64(i * Float64(Float64(x * j) - Float64(z * k)))); elseif (y4 <= 2.9e-207) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y4 <= 7e+18) tmp = t_1; elseif (y4 <= 9e+141) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * (x * ((c * y0) - (a * y1))); tmp = 0.0; if (y4 <= -3e+151) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -2.6e-165) tmp = t_1; elseif (y4 <= 1.35e-292) tmp = y1 * (i * ((x * j) - (z * k))); elseif (y4 <= 2.9e-207) tmp = t * (j * ((b * y4) - (i * y5))); elseif (y4 <= 7e+18) tmp = t_1; elseif (y4 <= 9e+141) tmp = b * (y4 * ((t * j) - (y * k))); else tmp = y4 * (t * ((b * j) - (c * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3e+151], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.6e-165], t$95$1, If[LessEqual[y4, 1.35e-292], N[(y1 * N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.9e-207], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7e+18], t$95$1, If[LessEqual[y4, 9e+141], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{if}\;y4 \leq -3 \cdot 10^{+151}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -2.6 \cdot 10^{-165}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 1.35 \cdot 10^{-292}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y4 \leq 2.9 \cdot 10^{-207}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 7 \cdot 10^{+18}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 9 \cdot 10^{+141}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\end{array}
\end{array}
if y4 < -2.9999999999999999e151Initial program 22.2%
Taylor expanded in y4 around inf 74.1%
Taylor expanded in c around inf 74.3%
if -2.9999999999999999e151 < y4 < -2.60000000000000007e-165 or 2.90000000000000011e-207 < y4 < 7e18Initial program 33.9%
Taylor expanded in y2 around inf 47.8%
Taylor expanded in x around inf 45.5%
if -2.60000000000000007e-165 < y4 < 1.35e-292Initial program 37.8%
Taylor expanded in y1 around inf 43.8%
Taylor expanded in i around inf 44.2%
if 1.35e-292 < y4 < 2.90000000000000011e-207Initial program 36.2%
Taylor expanded in t around inf 64.7%
Taylor expanded in j around inf 46.7%
if 7e18 < y4 < 9.0000000000000003e141Initial program 35.0%
Taylor expanded in y4 around inf 46.3%
Taylor expanded in b around inf 61.3%
if 9.0000000000000003e141 < y4 Initial program 25.3%
Taylor expanded in y4 around inf 57.8%
Taylor expanded in t around inf 61.1%
Final simplification52.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x j) (* z k))))
(if (<= y4 -1.25e+112)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -9e-22)
(* i (* y1 t_1))
(if (<= y4 -1.35e-267)
(* y0 (* c (- (* x y2) (* z y3))))
(if (<= y4 5.8e-295)
(* y1 (* i t_1))
(if (<= y4 1.65e-216)
(* t (* j (- (* b y4) (* i y5))))
(if (<= y4 680.0)
(* b (* y0 (- (* z k) (* x j))))
(* b (* y4 (- (* t j) (* y k))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * j) - (z * k);
double tmp;
if (y4 <= -1.25e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -9e-22) {
tmp = i * (y1 * t_1);
} else if (y4 <= -1.35e-267) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y4 <= 5.8e-295) {
tmp = y1 * (i * t_1);
} else if (y4 <= 1.65e-216) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y4 <= 680.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (x * j) - (z * k)
if (y4 <= (-1.25d+112)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-9d-22)) then
tmp = i * (y1 * t_1)
else if (y4 <= (-1.35d-267)) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else if (y4 <= 5.8d-295) then
tmp = y1 * (i * t_1)
else if (y4 <= 1.65d-216) then
tmp = t * (j * ((b * y4) - (i * y5)))
else if (y4 <= 680.0d0) then
tmp = b * (y0 * ((z * k) - (x * j)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * j) - (z * k);
double tmp;
if (y4 <= -1.25e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -9e-22) {
tmp = i * (y1 * t_1);
} else if (y4 <= -1.35e-267) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y4 <= 5.8e-295) {
tmp = y1 * (i * t_1);
} else if (y4 <= 1.65e-216) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y4 <= 680.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
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) tmp = 0 if y4 <= -1.25e+112: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -9e-22: tmp = i * (y1 * t_1) elif y4 <= -1.35e-267: tmp = y0 * (c * ((x * y2) - (z * y3))) elif y4 <= 5.8e-295: tmp = y1 * (i * t_1) elif y4 <= 1.65e-216: tmp = t * (j * ((b * y4) - (i * y5))) elif y4 <= 680.0: tmp = b * (y0 * ((z * k) - (x * j))) else: tmp = b * (y4 * ((t * j) - (y * k))) 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)) tmp = 0.0 if (y4 <= -1.25e+112) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -9e-22) tmp = Float64(i * Float64(y1 * t_1)); elseif (y4 <= -1.35e-267) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y4 <= 5.8e-295) tmp = Float64(y1 * Float64(i * t_1)); elseif (y4 <= 1.65e-216) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y4 <= 680.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * j) - (z * k); tmp = 0.0; if (y4 <= -1.25e+112) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -9e-22) tmp = i * (y1 * t_1); elseif (y4 <= -1.35e-267) tmp = y0 * (c * ((x * y2) - (z * y3))); elseif (y4 <= 5.8e-295) tmp = y1 * (i * t_1); elseif (y4 <= 1.65e-216) tmp = t * (j * ((b * y4) - (i * y5))); elseif (y4 <= 680.0) tmp = b * (y0 * ((z * k) - (x * j))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.25e+112], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -9e-22], N[(i * N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.35e-267], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.8e-295], N[(y1 * N[(i * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.65e-216], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 680.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot j - z \cdot k\\
\mathbf{if}\;y4 \leq -1.25 \cdot 10^{+112}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -9 \cdot 10^{-22}:\\
\;\;\;\;i \cdot \left(y1 \cdot t\_1\right)\\
\mathbf{elif}\;y4 \leq -1.35 \cdot 10^{-267}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y4 \leq 5.8 \cdot 10^{-295}:\\
\;\;\;\;y1 \cdot \left(i \cdot t\_1\right)\\
\mathbf{elif}\;y4 \leq 1.65 \cdot 10^{-216}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 680:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -1.25e112Initial program 23.1%
Taylor expanded in y4 around inf 56.4%
Taylor expanded in c around inf 64.5%
if -1.25e112 < y4 < -8.99999999999999973e-22Initial program 26.1%
Taylor expanded in y1 around inf 41.7%
Taylor expanded in i around inf 48.8%
if -8.99999999999999973e-22 < y4 < -1.34999999999999994e-267Initial program 39.6%
Taylor expanded in y0 around inf 44.5%
Taylor expanded in c around inf 42.6%
*-commutative42.6%
Simplified42.6%
if -1.34999999999999994e-267 < y4 < 5.8000000000000003e-295Initial program 35.3%
Taylor expanded in y1 around inf 59.4%
Taylor expanded in i around inf 59.9%
if 5.8000000000000003e-295 < y4 < 1.64999999999999984e-216Initial program 36.7%
Taylor expanded in t around inf 59.1%
Taylor expanded in j around inf 53.7%
if 1.64999999999999984e-216 < y4 < 680Initial program 39.9%
Taylor expanded in y0 around inf 47.3%
Taylor expanded in b around inf 38.7%
*-commutative38.7%
Simplified38.7%
if 680 < y4 Initial program 27.2%
Taylor expanded in y4 around inf 51.4%
Taylor expanded in b around inf 50.2%
Final simplification49.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -7.8e+151)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -2.8e-167)
(* y2 (* x (- (* c y0) (* a y1))))
(if (<= y4 2.3e-300)
(* j (- (* y3 (- (* y0 y5) (* y1 y4))) (* x (- (* b y0) (* i y1)))))
(if (<= y4 9e+52)
(* a (+ (* x (- (* y b) (* y1 y2))) (* y5 (- (* t y2) (* y y3)))))
(* y4 (* t (- (* b j) (* c 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 (y4 <= -7.8e+151) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -2.8e-167) {
tmp = y2 * (x * ((c * y0) - (a * y1)));
} else if (y4 <= 2.3e-300) {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1))));
} else if (y4 <= 9e+52) {
tmp = a * ((x * ((y * b) - (y1 * y2))) + (y5 * ((t * y2) - (y * y3))));
} else {
tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= (-7.8d+151)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-2.8d-167)) then
tmp = y2 * (x * ((c * y0) - (a * y1)))
else if (y4 <= 2.3d-300) then
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1))))
else if (y4 <= 9d+52) then
tmp = a * ((x * ((y * b) - (y1 * y2))) + (y5 * ((t * y2) - (y * y3))))
else
tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= -7.8e+151) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -2.8e-167) {
tmp = y2 * (x * ((c * y0) - (a * y1)));
} else if (y4 <= 2.3e-300) {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1))));
} else if (y4 <= 9e+52) {
tmp = a * ((x * ((y * b) - (y1 * y2))) + (y5 * ((t * y2) - (y * y3))));
} else {
tmp = y4 * (t * ((b * j) - (c * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -7.8e+151: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -2.8e-167: tmp = y2 * (x * ((c * y0) - (a * y1))) elif y4 <= 2.3e-300: tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1)))) elif y4 <= 9e+52: tmp = a * ((x * ((y * b) - (y1 * y2))) + (y5 * ((t * y2) - (y * y3)))) else: tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= -7.8e+151) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -2.8e-167) tmp = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y4 <= 2.3e-300) tmp = Float64(j * Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) - Float64(x * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (y4 <= 9e+52) tmp = Float64(a * Float64(Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); else tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * 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 (y4 <= -7.8e+151) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -2.8e-167) tmp = y2 * (x * ((c * y0) - (a * y1))); elseif (y4 <= 2.3e-300) tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1)))); elseif (y4 <= 9e+52) tmp = a * ((x * ((y * b) - (y1 * y2))) + (y5 * ((t * y2) - (y * y3)))); else tmp = y4 * (t * ((b * j) - (c * 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[y4, -7.8e+151], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.8e-167], N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.3e-300], N[(j * N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 9e+52], N[(a * N[(N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -7.8 \cdot 10^{+151}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -2.8 \cdot 10^{-167}:\\
\;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y4 \leq 2.3 \cdot 10^{-300}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y4 \leq 9 \cdot 10^{+52}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\end{array}
\end{array}
if y4 < -7.79999999999999952e151Initial program 22.2%
Taylor expanded in y4 around inf 74.1%
Taylor expanded in c around inf 74.3%
if -7.79999999999999952e151 < y4 < -2.79999999999999986e-167Initial program 31.5%
Taylor expanded in y2 around inf 46.7%
Taylor expanded in x around inf 47.2%
if -2.79999999999999986e-167 < y4 < 2.30000000000000001e-300Initial program 32.3%
Taylor expanded in x around inf 41.4%
Taylor expanded in j around inf 47.5%
if 2.30000000000000001e-300 < y4 < 8.9999999999999999e52Initial program 40.7%
Taylor expanded in x around inf 35.7%
Taylor expanded in a around inf 43.9%
if 8.9999999999999999e52 < y4 Initial program 26.1%
Taylor expanded in y4 around inf 58.1%
Taylor expanded in t around inf 56.6%
Final simplification51.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(* j (- (* y3 (- (* y0 y5) (* y1 y4))) (* x (- (* b y0) (* i y1)))))))
(if (<= t -4.4e+78)
(* y4 (* t (- (* b j) (* c y2))))
(if (<= t -1.1e-10)
t_1
(if (<= t -1.4e-177)
(* y (+ (* x (- (* a b) (* c i))) (* y3 (- (* c y4) (* a y5)))))
(if (<= t 1.8e-15) t_1 (* y2 (* t (- (* a y5) (* c y4))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1))));
double tmp;
if (t <= -4.4e+78) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (t <= -1.1e-10) {
tmp = t_1;
} else if (t <= -1.4e-177) {
tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5))));
} else if (t <= 1.8e-15) {
tmp = t_1;
} else {
tmp = y2 * (t * ((a * y5) - (c * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1))))
if (t <= (-4.4d+78)) then
tmp = y4 * (t * ((b * j) - (c * y2)))
else if (t <= (-1.1d-10)) then
tmp = t_1
else if (t <= (-1.4d-177)) then
tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5))))
else if (t <= 1.8d-15) then
tmp = t_1
else
tmp = y2 * (t * ((a * y5) - (c * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1))));
double tmp;
if (t <= -4.4e+78) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (t <= -1.1e-10) {
tmp = t_1;
} else if (t <= -1.4e-177) {
tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5))));
} else if (t <= 1.8e-15) {
tmp = t_1;
} else {
tmp = y2 * (t * ((a * y5) - (c * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1)))) tmp = 0 if t <= -4.4e+78: tmp = y4 * (t * ((b * j) - (c * y2))) elif t <= -1.1e-10: tmp = t_1 elif t <= -1.4e-177: tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5)))) elif t <= 1.8e-15: tmp = t_1 else: tmp = y2 * (t * ((a * y5) - (c * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) - Float64(x * Float64(Float64(b * y0) - Float64(i * y1))))) tmp = 0.0 if (t <= -4.4e+78) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); elseif (t <= -1.1e-10) tmp = t_1; elseif (t <= -1.4e-177) tmp = Float64(y * Float64(Float64(x * Float64(Float64(a * b) - Float64(c * i))) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (t <= 1.8e-15) tmp = t_1; else tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * ((y3 * ((y0 * y5) - (y1 * y4))) - (x * ((b * y0) - (i * y1)))); tmp = 0.0; if (t <= -4.4e+78) tmp = y4 * (t * ((b * j) - (c * y2))); elseif (t <= -1.1e-10) tmp = t_1; elseif (t <= -1.4e-177) tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5)))); elseif (t <= 1.8e-15) tmp = t_1; else tmp = y2 * (t * ((a * y5) - (c * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -4.4e+78], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.1e-10], t$95$1, If[LessEqual[t, -1.4e-177], N[(y * N[(N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.8e-15], t$95$1, N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{if}\;t \leq -4.4 \cdot 10^{+78}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq -1.1 \cdot 10^{-10}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -1.4 \cdot 10^{-177}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 1.8 \cdot 10^{-15}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -4.40000000000000028e78Initial program 20.1%
Taylor expanded in y4 around inf 43.4%
Taylor expanded in t around inf 54.6%
if -4.40000000000000028e78 < t < -1.09999999999999995e-10 or -1.39999999999999993e-177 < t < 1.8000000000000001e-15Initial program 40.1%
Taylor expanded in x around inf 36.9%
Taylor expanded in j around inf 42.8%
if -1.09999999999999995e-10 < t < -1.39999999999999993e-177Initial program 27.9%
Taylor expanded in x around inf 33.5%
Taylor expanded in y around inf 58.7%
mul-1-neg58.7%
Simplified58.7%
if 1.8000000000000001e-15 < t Initial program 32.4%
Taylor expanded in y2 around inf 55.9%
Taylor expanded in t around inf 54.7%
Final simplification50.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y5) (* y1 y4))))
(if (or (<= y2 -9.2e+88) (not (<= y2 1.65e-102)))
(*
y2
(-
(* t (- (* a y5) (* c y4)))
(+ (* k t_1) (* x (- (* a y1) (* c y0))))))
(*
j
(+
(+ (* y3 t_1) (* t (- (* b y4) (* i y5))))
(* x (- (* i y1) (* b y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if ((y2 <= -9.2e+88) || !(y2 <= 1.65e-102)) {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0)))));
} else {
tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (y0 * y5) - (y1 * y4)
if ((y2 <= (-9.2d+88)) .or. (.not. (y2 <= 1.65d-102))) then
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0)))))
else
tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if ((y2 <= -9.2e+88) || !(y2 <= 1.65e-102)) {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0)))));
} else {
tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y0 * y5) - (y1 * y4) tmp = 0 if (y2 <= -9.2e+88) or not (y2 <= 1.65e-102): tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0))))) else: tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) tmp = 0.0 if ((y2 <= -9.2e+88) || !(y2 <= 1.65e-102)) tmp = Float64(y2 * Float64(Float64(t * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(k * t_1) + Float64(x * Float64(Float64(a * y1) - Float64(c * y0)))))); else tmp = Float64(j * Float64(Float64(Float64(y3 * t_1) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y0 * y5) - (y1 * y4); tmp = 0.0; if ((y2 <= -9.2e+88) || ~((y2 <= 1.65e-102))) tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * t_1) + (x * ((a * y1) - (c * y0))))); else tmp = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[y2, -9.2e+88], N[Not[LessEqual[y2, 1.65e-102]], $MachinePrecision]], N[(y2 * N[(N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * t$95$1), $MachinePrecision] + N[(x * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(N[(N[(y3 * t$95$1), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
\mathbf{if}\;y2 \leq -9.2 \cdot 10^{+88} \lor \neg \left(y2 \leq 1.65 \cdot 10^{-102}\right):\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(k \cdot t\_1 + x \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot t\_1 + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if y2 < -9.2000000000000007e88 or 1.65e-102 < y2 Initial program 24.1%
Taylor expanded in y2 around inf 56.8%
if -9.2000000000000007e88 < y2 < 1.65e-102Initial program 40.8%
Taylor expanded in j around inf 47.9%
Final simplification52.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y y3) (* t y2))))
(if (<= y4 -3.8e+71)
(* c (* y4 t_1))
(if (<= y4 8.4e+49)
(*
y2
(-
(* t (- (* a y5) (* c y4)))
(+ (* k (- (* y0 y5) (* y1 y4))) (* x (- (* a y1) (* c y0))))))
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double tmp;
if (y4 <= -3.8e+71) {
tmp = c * (y4 * t_1);
} else if (y4 <= 8.4e+49) {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))));
} else {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (y * y3) - (t * y2)
if (y4 <= (-3.8d+71)) then
tmp = c * (y4 * t_1)
else if (y4 <= 8.4d+49) then
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))))
else
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double tmp;
if (y4 <= -3.8e+71) {
tmp = c * (y4 * t_1);
} else if (y4 <= 8.4e+49) {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))));
} else {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * y3) - (t * y2) tmp = 0 if y4 <= -3.8e+71: tmp = c * (y4 * t_1) elif y4 <= 8.4e+49: tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0))))) else: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * y3) - Float64(t * y2)) tmp = 0.0 if (y4 <= -3.8e+71) tmp = Float64(c * Float64(y4 * t_1)); elseif (y4 <= 8.4e+49) tmp = Float64(y2 * Float64(Float64(t * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(k * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(x * Float64(Float64(a * y1) - Float64(c * y0)))))); else tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * 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 = (y * y3) - (t * y2); tmp = 0.0; if (y4 <= -3.8e+71) tmp = c * (y4 * t_1); elseif (y4 <= 8.4e+49) tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0))))); else tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3.8e+71], N[(c * N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8.4e+49], N[(y2 * N[(N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;y4 \leq -3.8 \cdot 10^{+71}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_1\right)\\
\mathbf{elif}\;y4 \leq 8.4 \cdot 10^{+49}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(k \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + x \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot t\_1\right)\\
\end{array}
\end{array}
if y4 < -3.8000000000000001e71Initial program 21.4%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in c around inf 61.5%
if -3.8000000000000001e71 < y4 < 8.40000000000000043e49Initial program 37.1%
Taylor expanded in y2 around inf 46.2%
if 8.40000000000000043e49 < y4 Initial program 27.5%
Taylor expanded in y4 around inf 57.0%
Final simplification51.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -4e+71)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 5.5e+49)
(*
y2
(-
(* t (- (* a y5) (* c y4)))
(+ (* k (- (* y0 y5) (* y1 y4))) (* x (- (* a y1) (* c y0))))))
(* y4 (* t (- (* b j) (* c 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 (y4 <= -4e+71) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= 5.5e+49) {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))));
} else {
tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= (-4d+71)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= 5.5d+49) then
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))))
else
tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= -4e+71) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= 5.5e+49) {
tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0)))));
} else {
tmp = y4 * (t * ((b * j) - (c * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -4e+71: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= 5.5e+49: tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0))))) else: tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= -4e+71) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= 5.5e+49) tmp = Float64(y2 * Float64(Float64(t * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(k * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(x * Float64(Float64(a * y1) - Float64(c * y0)))))); else tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * 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 (y4 <= -4e+71) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= 5.5e+49) tmp = y2 * ((t * ((a * y5) - (c * y4))) - ((k * ((y0 * y5) - (y1 * y4))) + (x * ((a * y1) - (c * y0))))); else tmp = y4 * (t * ((b * j) - (c * 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[y4, -4e+71], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.5e+49], N[(y2 * N[(N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -4 \cdot 10^{+71}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq 5.5 \cdot 10^{+49}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(k \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + x \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\end{array}
\end{array}
if y4 < -4.0000000000000002e71Initial program 21.4%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in c around inf 61.5%
if -4.0000000000000002e71 < y4 < 5.50000000000000042e49Initial program 37.1%
Taylor expanded in y2 around inf 46.2%
if 5.50000000000000042e49 < y4 Initial program 27.5%
Taylor expanded in y4 around inf 57.0%
Taylor expanded in t around inf 55.7%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -9.5e+152)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -6.5e-177)
(* y2 (* x (- (* c y0) (* a y1))))
(if (<= y4 6.8e-103)
(* i (* x (- (* j y1) (* y c))))
(if (<= y4 2.1e-5)
(* t (* z (- (* c i) (* a b))))
(if (<= y4 1.95e+142)
(* b (* y4 (- (* t j) (* y k))))
(* y4 (* t (- (* b j) (* c 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 (y4 <= -9.5e+152) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -6.5e-177) {
tmp = y2 * (x * ((c * y0) - (a * y1)));
} else if (y4 <= 6.8e-103) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (y4 <= 2.1e-5) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y4 <= 1.95e+142) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= (-9.5d+152)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-6.5d-177)) then
tmp = y2 * (x * ((c * y0) - (a * y1)))
else if (y4 <= 6.8d-103) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (y4 <= 2.1d-5) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y4 <= 1.95d+142) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= -9.5e+152) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -6.5e-177) {
tmp = y2 * (x * ((c * y0) - (a * y1)));
} else if (y4 <= 6.8e-103) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (y4 <= 2.1e-5) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y4 <= 1.95e+142) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = y4 * (t * ((b * j) - (c * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -9.5e+152: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -6.5e-177: tmp = y2 * (x * ((c * y0) - (a * y1))) elif y4 <= 6.8e-103: tmp = i * (x * ((j * y1) - (y * c))) elif y4 <= 2.1e-5: tmp = t * (z * ((c * i) - (a * b))) elif y4 <= 1.95e+142: tmp = b * (y4 * ((t * j) - (y * k))) else: tmp = y4 * (t * ((b * j) - (c * 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 (y4 <= -9.5e+152) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -6.5e-177) tmp = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y4 <= 6.8e-103) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (y4 <= 2.1e-5) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y4 <= 1.95e+142) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * 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 (y4 <= -9.5e+152) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -6.5e-177) tmp = y2 * (x * ((c * y0) - (a * y1))); elseif (y4 <= 6.8e-103) tmp = i * (x * ((j * y1) - (y * c))); elseif (y4 <= 2.1e-5) tmp = t * (z * ((c * i) - (a * b))); elseif (y4 <= 1.95e+142) tmp = b * (y4 * ((t * j) - (y * k))); else tmp = y4 * (t * ((b * j) - (c * 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[y4, -9.5e+152], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -6.5e-177], N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 6.8e-103], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.1e-5], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.95e+142], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -9.5 \cdot 10^{+152}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-177}:\\
\;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y4 \leq 6.8 \cdot 10^{-103}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;y4 \leq 2.1 \cdot 10^{-5}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y4 \leq 1.95 \cdot 10^{+142}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\end{array}
\end{array}
if y4 < -9.49999999999999916e152Initial program 22.2%
Taylor expanded in y4 around inf 74.1%
Taylor expanded in c around inf 74.3%
if -9.49999999999999916e152 < y4 < -6.4999999999999998e-177Initial program 32.0%
Taylor expanded in y2 around inf 46.7%
Taylor expanded in x around inf 47.3%
if -6.4999999999999998e-177 < y4 < 6.80000000000000006e-103Initial program 36.8%
Taylor expanded in x around inf 40.1%
Taylor expanded in i around -inf 39.6%
mul-1-neg39.6%
Simplified39.6%
if 6.80000000000000006e-103 < y4 < 2.09999999999999988e-5Initial program 44.9%
Taylor expanded in t around inf 59.6%
Taylor expanded in z around inf 48.7%
neg-mul-148.7%
distribute-rgt-neg-in48.7%
Simplified48.7%
if 2.09999999999999988e-5 < y4 < 1.95e142Initial program 28.0%
Taylor expanded in y4 around inf 37.1%
Taylor expanded in b around inf 53.2%
if 1.95e142 < y4 Initial program 25.3%
Taylor expanded in y4 around inf 57.8%
Taylor expanded in t around inf 61.1%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (* x (- (* c y0) (* a y1))))))
(if (<= y4 -7e+152)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -3.3e-171)
t_1
(if (<= y4 8.6e-50)
(* i (* x (- (* j y1) (* y c))))
(if (<= y4 1.6e+23)
t_1
(if (<= y4 2.1e+142)
(* b (* y4 (- (* t j) (* y k))))
(* y4 (* t (- (* b j) (* c y2)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * (x * ((c * y0) - (a * y1)));
double tmp;
if (y4 <= -7e+152) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -3.3e-171) {
tmp = t_1;
} else if (y4 <= 8.6e-50) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (y4 <= 1.6e+23) {
tmp = t_1;
} else if (y4 <= 2.1e+142) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = y4 * (t * ((b * j) - (c * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y2 * (x * ((c * y0) - (a * y1)))
if (y4 <= (-7d+152)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-3.3d-171)) then
tmp = t_1
else if (y4 <= 8.6d-50) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (y4 <= 1.6d+23) then
tmp = t_1
else if (y4 <= 2.1d+142) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = y4 * (t * ((b * j) - (c * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * (x * ((c * y0) - (a * y1)));
double tmp;
if (y4 <= -7e+152) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -3.3e-171) {
tmp = t_1;
} else if (y4 <= 8.6e-50) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (y4 <= 1.6e+23) {
tmp = t_1;
} else if (y4 <= 2.1e+142) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = y4 * (t * ((b * j) - (c * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * (x * ((c * y0) - (a * y1))) tmp = 0 if y4 <= -7e+152: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -3.3e-171: tmp = t_1 elif y4 <= 8.6e-50: tmp = i * (x * ((j * y1) - (y * c))) elif y4 <= 1.6e+23: tmp = t_1 elif y4 <= 2.1e+142: tmp = b * (y4 * ((t * j) - (y * k))) else: tmp = y4 * (t * ((b * j) - (c * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) tmp = 0.0 if (y4 <= -7e+152) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -3.3e-171) tmp = t_1; elseif (y4 <= 8.6e-50) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (y4 <= 1.6e+23) tmp = t_1; elseif (y4 <= 2.1e+142) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * (x * ((c * y0) - (a * y1))); tmp = 0.0; if (y4 <= -7e+152) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -3.3e-171) tmp = t_1; elseif (y4 <= 8.6e-50) tmp = i * (x * ((j * y1) - (y * c))); elseif (y4 <= 1.6e+23) tmp = t_1; elseif (y4 <= 2.1e+142) tmp = b * (y4 * ((t * j) - (y * k))); else tmp = y4 * (t * ((b * j) - (c * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -7e+152], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -3.3e-171], t$95$1, If[LessEqual[y4, 8.6e-50], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.6e+23], t$95$1, If[LessEqual[y4, 2.1e+142], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{if}\;y4 \leq -7 \cdot 10^{+152}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-171}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 8.6 \cdot 10^{-50}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;y4 \leq 1.6 \cdot 10^{+23}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 2.1 \cdot 10^{+142}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\end{array}
\end{array}
if y4 < -6.99999999999999963e152Initial program 22.2%
Taylor expanded in y4 around inf 74.1%
Taylor expanded in c around inf 74.3%
if -6.99999999999999963e152 < y4 < -3.3000000000000002e-171 or 8.59999999999999995e-50 < y4 < 1.6e23Initial program 32.8%
Taylor expanded in y2 around inf 53.2%
Taylor expanded in x around inf 48.2%
if -3.3000000000000002e-171 < y4 < 8.59999999999999995e-50Initial program 37.6%
Taylor expanded in x around inf 39.4%
Taylor expanded in i around -inf 37.6%
mul-1-neg37.6%
Simplified37.6%
if 1.6e23 < y4 < 2.1e142Initial program 35.0%
Taylor expanded in y4 around inf 46.3%
Taylor expanded in b around inf 61.3%
if 2.1e142 < y4 Initial program 25.3%
Taylor expanded in y4 around inf 57.8%
Taylor expanded in t around inf 61.1%
Final simplification50.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (* x (- (* c y0) (* a y1))))))
(if (<= x -2.55e+75)
t_1
(if (<= x -3.5e-84)
(* y1 (* z (- (* a y3) (* i k))))
(if (<= x 7.5e-102)
(* t (* j (- (* b y4) (* i y5))))
(if (<= x 7e+68) (* y2 (* t (- (* a y5) (* c y4)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * (x * ((c * y0) - (a * y1)));
double tmp;
if (x <= -2.55e+75) {
tmp = t_1;
} else if (x <= -3.5e-84) {
tmp = y1 * (z * ((a * y3) - (i * k)));
} else if (x <= 7.5e-102) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (x <= 7e+68) {
tmp = y2 * (t * ((a * y5) - (c * y4)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y2 * (x * ((c * y0) - (a * y1)))
if (x <= (-2.55d+75)) then
tmp = t_1
else if (x <= (-3.5d-84)) then
tmp = y1 * (z * ((a * y3) - (i * k)))
else if (x <= 7.5d-102) then
tmp = t * (j * ((b * y4) - (i * y5)))
else if (x <= 7d+68) then
tmp = y2 * (t * ((a * y5) - (c * y4)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * (x * ((c * y0) - (a * y1)));
double tmp;
if (x <= -2.55e+75) {
tmp = t_1;
} else if (x <= -3.5e-84) {
tmp = y1 * (z * ((a * y3) - (i * k)));
} else if (x <= 7.5e-102) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (x <= 7e+68) {
tmp = y2 * (t * ((a * y5) - (c * y4)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * (x * ((c * y0) - (a * y1))) tmp = 0 if x <= -2.55e+75: tmp = t_1 elif x <= -3.5e-84: tmp = y1 * (z * ((a * y3) - (i * k))) elif x <= 7.5e-102: tmp = t * (j * ((b * y4) - (i * y5))) elif x <= 7e+68: tmp = y2 * (t * ((a * y5) - (c * y4))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) tmp = 0.0 if (x <= -2.55e+75) tmp = t_1; elseif (x <= -3.5e-84) tmp = Float64(y1 * Float64(z * Float64(Float64(a * y3) - Float64(i * k)))); elseif (x <= 7.5e-102) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (x <= 7e+68) tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * (x * ((c * y0) - (a * y1))); tmp = 0.0; if (x <= -2.55e+75) tmp = t_1; elseif (x <= -3.5e-84) tmp = y1 * (z * ((a * y3) - (i * k))); elseif (x <= 7.5e-102) tmp = t * (j * ((b * y4) - (i * y5))); elseif (x <= 7e+68) tmp = y2 * (t * ((a * y5) - (c * y4))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.55e+75], t$95$1, If[LessEqual[x, -3.5e-84], N[(y1 * N[(z * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7.5e-102], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7e+68], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{if}\;x \leq -2.55 \cdot 10^{+75}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq -3.5 \cdot 10^{-84}:\\
\;\;\;\;y1 \cdot \left(z \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\mathbf{elif}\;x \leq 7.5 \cdot 10^{-102}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 7 \cdot 10^{+68}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -2.55000000000000018e75 or 6.99999999999999955e68 < x Initial program 25.4%
Taylor expanded in y2 around inf 51.8%
Taylor expanded in x around inf 60.2%
if -2.55000000000000018e75 < x < -3.5000000000000001e-84Initial program 31.4%
Taylor expanded in y1 around inf 53.3%
Taylor expanded in z around inf 44.7%
if -3.5000000000000001e-84 < x < 7.5000000000000008e-102Initial program 36.5%
Taylor expanded in t around inf 42.0%
Taylor expanded in j around inf 40.7%
if 7.5000000000000008e-102 < x < 6.99999999999999955e68Initial program 36.8%
Taylor expanded in y2 around inf 46.4%
Taylor expanded in t around inf 44.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -1.2e+112)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 3.1e-292)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y4 1.32e-216)
(* t (* j (- (* b y4) (* i y5))))
(if (<= y4 225.0)
(* b (* y0 (- (* z k) (* x j))))
(* b (* y4 (- (* t j) (* y k)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -1.2e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= 3.1e-292) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 1.32e-216) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y4 <= 225.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-1.2d+112)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= 3.1d-292) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y4 <= 1.32d-216) then
tmp = t * (j * ((b * y4) - (i * y5)))
else if (y4 <= 225.0d0) then
tmp = b * (y0 * ((z * k) - (x * j)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -1.2e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= 3.1e-292) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 1.32e-216) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y4 <= 225.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -1.2e+112: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= 3.1e-292: tmp = i * (y1 * ((x * j) - (z * k))) elif y4 <= 1.32e-216: tmp = t * (j * ((b * y4) - (i * y5))) elif y4 <= 225.0: tmp = b * (y0 * ((z * k) - (x * j))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -1.2e+112) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= 3.1e-292) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y4 <= 1.32e-216) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y4 <= 225.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -1.2e+112) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= 3.1e-292) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y4 <= 1.32e-216) tmp = t * (j * ((b * y4) - (i * y5))); elseif (y4 <= 225.0) tmp = b * (y0 * ((z * k) - (x * j))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -1.2e+112], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.1e-292], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.32e-216], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 225.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -1.2 \cdot 10^{+112}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq 3.1 \cdot 10^{-292}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y4 \leq 1.32 \cdot 10^{-216}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 225:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -1.2e112Initial program 23.1%
Taylor expanded in y4 around inf 56.4%
Taylor expanded in c around inf 64.5%
if -1.2e112 < y4 < 3.0999999999999999e-292Initial program 34.9%
Taylor expanded in y1 around inf 42.0%
Taylor expanded in i around inf 38.2%
if 3.0999999999999999e-292 < y4 < 1.31999999999999997e-216Initial program 36.7%
Taylor expanded in t around inf 59.1%
Taylor expanded in j around inf 53.7%
if 1.31999999999999997e-216 < y4 < 225Initial program 39.9%
Taylor expanded in y0 around inf 47.3%
Taylor expanded in b around inf 38.7%
*-commutative38.7%
Simplified38.7%
if 225 < y4 Initial program 27.2%
Taylor expanded in y4 around inf 51.4%
Taylor expanded in b around inf 50.2%
Final simplification46.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -1.15e+112)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -3e-276)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y4 8.5e-177)
(* b (* x (- (* y a) (* j y0))))
(if (<= y4 740.0)
(* t (* c (- (* z i) (* y2 y4))))
(* b (* y4 (- (* t j) (* y k)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -1.15e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -3e-276) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 8.5e-177) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y4 <= 740.0) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-1.15d+112)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-3d-276)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y4 <= 8.5d-177) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y4 <= 740.0d0) then
tmp = t * (c * ((z * i) - (y2 * y4)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -1.15e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -3e-276) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 8.5e-177) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y4 <= 740.0) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -1.15e+112: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -3e-276: tmp = i * (y1 * ((x * j) - (z * k))) elif y4 <= 8.5e-177: tmp = b * (x * ((y * a) - (j * y0))) elif y4 <= 740.0: tmp = t * (c * ((z * i) - (y2 * y4))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -1.15e+112) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -3e-276) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y4 <= 8.5e-177) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y4 <= 740.0) tmp = Float64(t * Float64(c * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -1.15e+112) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -3e-276) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y4 <= 8.5e-177) tmp = b * (x * ((y * a) - (j * y0))); elseif (y4 <= 740.0) tmp = t * (c * ((z * i) - (y2 * y4))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -1.15e+112], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -3e-276], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8.5e-177], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 740.0], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -1.15 \cdot 10^{+112}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -3 \cdot 10^{-276}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y4 \leq 8.5 \cdot 10^{-177}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 740:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -1.15e112Initial program 23.1%
Taylor expanded in y4 around inf 56.4%
Taylor expanded in c around inf 64.5%
if -1.15e112 < y4 < -2.99999999999999988e-276Initial program 33.0%
Taylor expanded in y1 around inf 40.0%
Taylor expanded in i around inf 37.8%
if -2.99999999999999988e-276 < y4 < 8.4999999999999993e-177Initial program 39.9%
Taylor expanded in x around inf 40.6%
Taylor expanded in b around inf 43.3%
if 8.4999999999999993e-177 < y4 < 740Initial program 39.4%
Taylor expanded in t around inf 53.1%
Taylor expanded in c around inf 39.6%
if 740 < y4 Initial program 27.6%
Taylor expanded in y4 around inf 52.2%
Taylor expanded in b around inf 51.0%
Final simplification46.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -2.15e-132)
(* y2 (* t (- (* a y5) (* c y4))))
(if (<= y5 1.8e+76)
(* c (+ (* x (- (* y0 y2) (* y i))) (* y4 (- (* y y3) (* t y2)))))
(* y0 (* y5 (- (* j y3) (* k y2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -2.15e-132) {
tmp = y2 * (t * ((a * y5) - (c * y4)));
} else if (y5 <= 1.8e+76) {
tmp = c * ((x * ((y0 * y2) - (y * i))) + (y4 * ((y * y3) - (t * y2))));
} else {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-2.15d-132)) then
tmp = y2 * (t * ((a * y5) - (c * y4)))
else if (y5 <= 1.8d+76) then
tmp = c * ((x * ((y0 * y2) - (y * i))) + (y4 * ((y * y3) - (t * y2))))
else
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -2.15e-132) {
tmp = y2 * (t * ((a * y5) - (c * y4)));
} else if (y5 <= 1.8e+76) {
tmp = c * ((x * ((y0 * y2) - (y * i))) + (y4 * ((y * y3) - (t * y2))));
} else {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -2.15e-132: tmp = y2 * (t * ((a * y5) - (c * y4))) elif y5 <= 1.8e+76: tmp = c * ((x * ((y0 * y2) - (y * i))) + (y4 * ((y * y3) - (t * y2)))) else: tmp = y0 * (y5 * ((j * y3) - (k * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -2.15e-132) tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y5 <= 1.8e+76) tmp = Float64(c * Float64(Float64(x * Float64(Float64(y0 * y2) - Float64(y * i))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); else tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -2.15e-132) tmp = y2 * (t * ((a * y5) - (c * y4))); elseif (y5 <= 1.8e+76) tmp = c * ((x * ((y0 * y2) - (y * i))) + (y4 * ((y * y3) - (t * y2)))); else tmp = y0 * (y5 * ((j * y3) - (k * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -2.15e-132], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.8e+76], N[(c * N[(N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -2.15 \cdot 10^{-132}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+76}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y5 < -2.1499999999999998e-132Initial program 26.3%
Taylor expanded in y2 around inf 41.2%
Taylor expanded in t around inf 40.4%
if -2.1499999999999998e-132 < y5 < 1.8000000000000001e76Initial program 37.4%
Taylor expanded in x around inf 38.1%
Taylor expanded in c around inf 48.4%
if 1.8000000000000001e76 < y5 Initial program 30.0%
Taylor expanded in x around inf 30.3%
Taylor expanded in y around inf 38.5%
Taylor expanded in y0 around inf 54.7%
associate-*r*54.7%
neg-mul-154.7%
Simplified54.7%
Final simplification46.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= t -0.13)
(* t (* j (- (* b y4) (* i y5))))
(if (<= t 4.5e-104)
(* y (+ (* x (- (* a b) (* c i))) (* y3 (- (* c y4) (* a y5)))))
(if (<= t 1e+25)
(* i (* x (- (* j y1) (* y c))))
(* y2 (* t (- (* a y5) (* c y4))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -0.13) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (t <= 4.5e-104) {
tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5))));
} else if (t <= 1e+25) {
tmp = i * (x * ((j * y1) - (y * c)));
} else {
tmp = y2 * (t * ((a * y5) - (c * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (t <= (-0.13d0)) then
tmp = t * (j * ((b * y4) - (i * y5)))
else if (t <= 4.5d-104) then
tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5))))
else if (t <= 1d+25) then
tmp = i * (x * ((j * y1) - (y * c)))
else
tmp = y2 * (t * ((a * y5) - (c * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -0.13) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (t <= 4.5e-104) {
tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5))));
} else if (t <= 1e+25) {
tmp = i * (x * ((j * y1) - (y * c)));
} else {
tmp = y2 * (t * ((a * y5) - (c * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if t <= -0.13: tmp = t * (j * ((b * y4) - (i * y5))) elif t <= 4.5e-104: tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5)))) elif t <= 1e+25: tmp = i * (x * ((j * y1) - (y * c))) else: tmp = y2 * (t * ((a * y5) - (c * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (t <= -0.13) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (t <= 4.5e-104) tmp = Float64(y * Float64(Float64(x * Float64(Float64(a * b) - Float64(c * i))) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (t <= 1e+25) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); else tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (t <= -0.13) tmp = t * (j * ((b * y4) - (i * y5))); elseif (t <= 4.5e-104) tmp = y * ((x * ((a * b) - (c * i))) + (y3 * ((c * y4) - (a * y5)))); elseif (t <= 1e+25) tmp = i * (x * ((j * y1) - (y * c))); else tmp = y2 * (t * ((a * y5) - (c * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -0.13], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.5e-104], N[(y * N[(N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1e+25], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -0.13:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 4.5 \cdot 10^{-104}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 10^{+25}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -0.13Initial program 28.0%
Taylor expanded in t around inf 52.3%
Taylor expanded in j around inf 46.3%
if -0.13 < t < 4.4999999999999997e-104Initial program 34.1%
Taylor expanded in x around inf 32.8%
Taylor expanded in y around inf 42.0%
mul-1-neg42.0%
Simplified42.0%
if 4.4999999999999997e-104 < t < 1.00000000000000009e25Initial program 50.6%
Taylor expanded in x around inf 45.3%
Taylor expanded in i around -inf 56.5%
mul-1-neg56.5%
Simplified56.5%
if 1.00000000000000009e25 < t Initial program 28.8%
Taylor expanded in y2 around inf 57.9%
Taylor expanded in t around inf 58.2%
Final simplification48.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -86000000000.0)
(* k (* y1 (* y2 y4)))
(if (<= y4 -4.35e-141)
(* a (* z (* y1 y3)))
(if (<= y4 1.6e-271)
(* i (* j (* x y1)))
(if (<= y4 4.6e+51) (* b (* x (* y a))) (* c (* y (* y3 y4))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -86000000000.0) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= -4.35e-141) {
tmp = a * (z * (y1 * y3));
} else if (y4 <= 1.6e-271) {
tmp = i * (j * (x * y1));
} else if (y4 <= 4.6e+51) {
tmp = b * (x * (y * a));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-86000000000.0d0)) then
tmp = k * (y1 * (y2 * y4))
else if (y4 <= (-4.35d-141)) then
tmp = a * (z * (y1 * y3))
else if (y4 <= 1.6d-271) then
tmp = i * (j * (x * y1))
else if (y4 <= 4.6d+51) then
tmp = b * (x * (y * a))
else
tmp = c * (y * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -86000000000.0) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= -4.35e-141) {
tmp = a * (z * (y1 * y3));
} else if (y4 <= 1.6e-271) {
tmp = i * (j * (x * y1));
} else if (y4 <= 4.6e+51) {
tmp = b * (x * (y * a));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -86000000000.0: tmp = k * (y1 * (y2 * y4)) elif y4 <= -4.35e-141: tmp = a * (z * (y1 * y3)) elif y4 <= 1.6e-271: tmp = i * (j * (x * y1)) elif y4 <= 4.6e+51: tmp = b * (x * (y * a)) else: tmp = c * (y * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -86000000000.0) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y4 <= -4.35e-141) tmp = Float64(a * Float64(z * Float64(y1 * y3))); elseif (y4 <= 1.6e-271) tmp = Float64(i * Float64(j * Float64(x * y1))); elseif (y4 <= 4.6e+51) tmp = Float64(b * Float64(x * Float64(y * a))); else tmp = Float64(c * Float64(y * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -86000000000.0) tmp = k * (y1 * (y2 * y4)); elseif (y4 <= -4.35e-141) tmp = a * (z * (y1 * y3)); elseif (y4 <= 1.6e-271) tmp = i * (j * (x * y1)); elseif (y4 <= 4.6e+51) tmp = b * (x * (y * a)); else tmp = c * (y * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -86000000000.0], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -4.35e-141], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.6e-271], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.6e+51], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -86000000000:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -4.35 \cdot 10^{-141}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{elif}\;y4 \leq 1.6 \cdot 10^{-271}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y4 \leq 4.6 \cdot 10^{+51}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y4 < -8.6e10Initial program 21.4%
Taylor expanded in y4 around inf 40.7%
Taylor expanded in y1 around inf 48.1%
Taylor expanded in k around inf 42.1%
if -8.6e10 < y4 < -4.35e-141Initial program 38.1%
Taylor expanded in y1 around inf 38.7%
Taylor expanded in a around inf 35.5%
mul-1-neg35.5%
Simplified35.5%
Taylor expanded in x around 0 32.3%
associate-*r*32.4%
Simplified32.4%
if -4.35e-141 < y4 < 1.59999999999999989e-271Initial program 39.1%
Taylor expanded in y1 around inf 44.0%
Taylor expanded in x around -inf 37.9%
mul-1-neg37.9%
Simplified37.9%
Taylor expanded in a around 0 29.5%
if 1.59999999999999989e-271 < y4 < 4.6000000000000001e51Initial program 39.6%
Taylor expanded in x around inf 33.8%
Taylor expanded in b around inf 28.4%
Taylor expanded in a around inf 22.4%
if 4.6000000000000001e51 < y4 Initial program 26.1%
Taylor expanded in x around inf 36.4%
Taylor expanded in y around inf 28.5%
mul-1-neg28.5%
Simplified28.5%
Taylor expanded in y4 around inf 31.1%
Final simplification31.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y (* y3 y4)))))
(if (<= y4 -1300000000.0)
t_1
(if (<= y4 -4.7e-140)
(* a (* z (* y1 y3)))
(if (<= y4 9.2e-272)
(* i (* j (* x y1)))
(if (<= y4 4.8e+50) (* b (* x (* y a))) 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 = c * (y * (y3 * y4));
double tmp;
if (y4 <= -1300000000.0) {
tmp = t_1;
} else if (y4 <= -4.7e-140) {
tmp = a * (z * (y1 * y3));
} else if (y4 <= 9.2e-272) {
tmp = i * (j * (x * y1));
} else if (y4 <= 4.8e+50) {
tmp = b * (x * (y * a));
} 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 = c * (y * (y3 * y4))
if (y4 <= (-1300000000.0d0)) then
tmp = t_1
else if (y4 <= (-4.7d-140)) then
tmp = a * (z * (y1 * y3))
else if (y4 <= 9.2d-272) then
tmp = i * (j * (x * y1))
else if (y4 <= 4.8d+50) then
tmp = b * (x * (y * a))
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 = c * (y * (y3 * y4));
double tmp;
if (y4 <= -1300000000.0) {
tmp = t_1;
} else if (y4 <= -4.7e-140) {
tmp = a * (z * (y1 * y3));
} else if (y4 <= 9.2e-272) {
tmp = i * (j * (x * y1));
} else if (y4 <= 4.8e+50) {
tmp = b * (x * (y * a));
} 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 = c * (y * (y3 * y4)) tmp = 0 if y4 <= -1300000000.0: tmp = t_1 elif y4 <= -4.7e-140: tmp = a * (z * (y1 * y3)) elif y4 <= 9.2e-272: tmp = i * (j * (x * y1)) elif y4 <= 4.8e+50: tmp = b * (x * (y * a)) 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(c * Float64(y * Float64(y3 * y4))) tmp = 0.0 if (y4 <= -1300000000.0) tmp = t_1; elseif (y4 <= -4.7e-140) tmp = Float64(a * Float64(z * Float64(y1 * y3))); elseif (y4 <= 9.2e-272) tmp = Float64(i * Float64(j * Float64(x * y1))); elseif (y4 <= 4.8e+50) tmp = Float64(b * Float64(x * Float64(y * a))); 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 = c * (y * (y3 * y4)); tmp = 0.0; if (y4 <= -1300000000.0) tmp = t_1; elseif (y4 <= -4.7e-140) tmp = a * (z * (y1 * y3)); elseif (y4 <= 9.2e-272) tmp = i * (j * (x * y1)); elseif (y4 <= 4.8e+50) tmp = b * (x * (y * a)); 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[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1300000000.0], t$95$1, If[LessEqual[y4, -4.7e-140], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 9.2e-272], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.8e+50], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;y4 \leq -1300000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -4.7 \cdot 10^{-140}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{elif}\;y4 \leq 9.2 \cdot 10^{-272}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y4 \leq 4.8 \cdot 10^{+50}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y4 < -1.3e9 or 4.8000000000000004e50 < y4 Initial program 23.6%
Taylor expanded in x around inf 32.8%
Taylor expanded in y around inf 31.3%
mul-1-neg31.3%
Simplified31.3%
Taylor expanded in y4 around inf 35.1%
if -1.3e9 < y4 < -4.70000000000000046e-140Initial program 38.1%
Taylor expanded in y1 around inf 38.7%
Taylor expanded in a around inf 35.5%
mul-1-neg35.5%
Simplified35.5%
Taylor expanded in x around 0 32.3%
associate-*r*32.4%
Simplified32.4%
if -4.70000000000000046e-140 < y4 < 9.19999999999999955e-272Initial program 39.1%
Taylor expanded in y1 around inf 44.0%
Taylor expanded in x around -inf 37.9%
mul-1-neg37.9%
Simplified37.9%
Taylor expanded in a around 0 29.5%
if 9.19999999999999955e-272 < y4 < 4.8000000000000004e50Initial program 39.6%
Taylor expanded in x around inf 33.8%
Taylor expanded in b around inf 28.4%
Taylor expanded in a around inf 22.4%
Final simplification30.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= t -4.3e-64)
(* t (* j (- (* b y4) (* i y5))))
(if (<= t -7e-103)
(* y0 (* c (- (* x y2) (* z y3))))
(if (<= t 1.25e+25)
(* b (* x (- (* y a) (* j y0))))
(* y2 (* t (- (* a y5) (* c y4))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -4.3e-64) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (t <= -7e-103) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (t <= 1.25e+25) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y2 * (t * ((a * y5) - (c * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (t <= (-4.3d-64)) then
tmp = t * (j * ((b * y4) - (i * y5)))
else if (t <= (-7d-103)) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else if (t <= 1.25d+25) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = y2 * (t * ((a * y5) - (c * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -4.3e-64) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (t <= -7e-103) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (t <= 1.25e+25) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y2 * (t * ((a * y5) - (c * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if t <= -4.3e-64: tmp = t * (j * ((b * y4) - (i * y5))) elif t <= -7e-103: tmp = y0 * (c * ((x * y2) - (z * y3))) elif t <= 1.25e+25: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = y2 * (t * ((a * y5) - (c * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (t <= -4.3e-64) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (t <= -7e-103) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (t <= 1.25e+25) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (t <= -4.3e-64) tmp = t * (j * ((b * y4) - (i * y5))); elseif (t <= -7e-103) tmp = y0 * (c * ((x * y2) - (z * y3))); elseif (t <= 1.25e+25) tmp = b * (x * ((y * a) - (j * y0))); else tmp = y2 * (t * ((a * y5) - (c * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -4.3e-64], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7e-103], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.25e+25], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.3 \cdot 10^{-64}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq -7 \cdot 10^{-103}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 1.25 \cdot 10^{+25}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -4.29999999999999973e-64Initial program 27.8%
Taylor expanded in t around inf 48.3%
Taylor expanded in j around inf 43.5%
if -4.29999999999999973e-64 < t < -7.00000000000000032e-103Initial program 0.0%
Taylor expanded in y0 around inf 33.3%
Taylor expanded in c around inf 88.9%
*-commutative88.9%
Simplified88.9%
if -7.00000000000000032e-103 < t < 1.25000000000000006e25Initial program 41.7%
Taylor expanded in x around inf 40.4%
Taylor expanded in b around inf 36.1%
if 1.25000000000000006e25 < t Initial program 28.8%
Taylor expanded in y2 around inf 57.9%
Taylor expanded in t around inf 58.2%
Final simplification45.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -7.5e+112)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -8e-16)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y4 4.5e-267)
(* y0 (* c (- (* x y2) (* z y3))))
(* b (* y4 (- (* t j) (* y k))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -7.5e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -8e-16) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 4.5e-267) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-7.5d+112)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-8d-16)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y4 <= 4.5d-267) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -7.5e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -8e-16) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 4.5e-267) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -7.5e+112: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -8e-16: tmp = i * (y1 * ((x * j) - (z * k))) elif y4 <= 4.5e-267: tmp = y0 * (c * ((x * y2) - (z * y3))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -7.5e+112) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -8e-16) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y4 <= 4.5e-267) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -7.5e+112) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -8e-16) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y4 <= 4.5e-267) tmp = y0 * (c * ((x * y2) - (z * y3))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -7.5e+112], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -8e-16], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.5e-267], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -7.5 \cdot 10^{+112}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -8 \cdot 10^{-16}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y4 \leq 4.5 \cdot 10^{-267}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -7.5e112Initial program 23.1%
Taylor expanded in y4 around inf 56.4%
Taylor expanded in c around inf 64.5%
if -7.5e112 < y4 < -7.9999999999999998e-16Initial program 26.1%
Taylor expanded in y1 around inf 41.7%
Taylor expanded in i around inf 48.8%
if -7.9999999999999998e-16 < y4 < 4.4999999999999999e-267Initial program 37.5%
Taylor expanded in y0 around inf 42.3%
Taylor expanded in c around inf 41.2%
*-commutative41.2%
Simplified41.2%
if 4.4999999999999999e-267 < y4 Initial program 33.3%
Taylor expanded in y4 around inf 41.5%
Taylor expanded in b around inf 40.0%
Final simplification45.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -7.2e+112)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -6.2e-291)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y4 260.0)
(* b (* y0 (- (* z k) (* x j))))
(* b (* y4 (- (* t j) (* y k))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -7.2e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -6.2e-291) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 260.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-7.2d+112)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-6.2d-291)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y4 <= 260.0d0) then
tmp = b * (y0 * ((z * k) - (x * j)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -7.2e+112) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -6.2e-291) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y4 <= 260.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -7.2e+112: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -6.2e-291: tmp = i * (y1 * ((x * j) - (z * k))) elif y4 <= 260.0: tmp = b * (y0 * ((z * k) - (x * j))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -7.2e+112) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -6.2e-291) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y4 <= 260.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -7.2e+112) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -6.2e-291) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y4 <= 260.0) tmp = b * (y0 * ((z * k) - (x * j))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -7.2e+112], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -6.2e-291], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 260.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -7.2 \cdot 10^{+112}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -6.2 \cdot 10^{-291}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y4 \leq 260:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -7.20000000000000001e112Initial program 23.1%
Taylor expanded in y4 around inf 56.4%
Taylor expanded in c around inf 64.5%
if -7.20000000000000001e112 < y4 < -6.20000000000000023e-291Initial program 33.8%
Taylor expanded in y1 around inf 40.5%
Taylor expanded in i around inf 38.5%
if -6.20000000000000023e-291 < y4 < 260Initial program 39.6%
Taylor expanded in y0 around inf 42.9%
Taylor expanded in b around inf 35.2%
*-commutative35.2%
Simplified35.2%
if 260 < y4 Initial program 27.2%
Taylor expanded in y4 around inf 51.4%
Taylor expanded in b around inf 50.2%
Final simplification44.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -1.05e+75)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y4 -1.3e-30)
(* a (* y2 (* x (- y1))))
(if (<= y4 1.7e-175)
(* b (* x (- (* y a) (* j y0))))
(* b (* y4 (- (* t j) (* y k))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -1.05e+75) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -1.3e-30) {
tmp = a * (y2 * (x * -y1));
} else if (y4 <= 1.7e-175) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-1.05d+75)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y4 <= (-1.3d-30)) then
tmp = a * (y2 * (x * -y1))
else if (y4 <= 1.7d-175) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -1.05e+75) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y4 <= -1.3e-30) {
tmp = a * (y2 * (x * -y1));
} else if (y4 <= 1.7e-175) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -1.05e+75: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y4 <= -1.3e-30: tmp = a * (y2 * (x * -y1)) elif y4 <= 1.7e-175: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -1.05e+75) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y4 <= -1.3e-30) tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))); elseif (y4 <= 1.7e-175) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -1.05e+75) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y4 <= -1.3e-30) tmp = a * (y2 * (x * -y1)); elseif (y4 <= 1.7e-175) tmp = b * (x * ((y * a) - (j * y0))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -1.05e+75], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.3e-30], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.7e-175], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -1.05 \cdot 10^{+75}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -1.3 \cdot 10^{-30}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;y4 \leq 1.7 \cdot 10^{-175}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -1.04999999999999999e75Initial program 21.9%
Taylor expanded in y4 around inf 51.6%
Taylor expanded in c around inf 62.8%
if -1.04999999999999999e75 < y4 < -1.29999999999999993e-30Initial program 31.8%
Taylor expanded in y1 around inf 41.5%
Taylor expanded in x around -inf 33.1%
mul-1-neg33.1%
Simplified33.1%
Taylor expanded in a around inf 42.1%
Taylor expanded in x around 0 42.1%
associate-*r*42.2%
Simplified42.2%
if -1.29999999999999993e-30 < y4 < 1.7e-175Initial program 37.7%
Taylor expanded in x around inf 40.5%
Taylor expanded in b around inf 33.5%
if 1.7e-175 < y4 Initial program 31.9%
Taylor expanded in y4 around inf 42.7%
Taylor expanded in b around inf 40.9%
Final simplification42.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -5.2e+123)
(* k (* y1 (* y2 y4)))
(if (<= y4 -2.4e-29)
(* x (* y1 (* a (- y2))))
(if (<= y4 2.2e+127)
(* b (* x (- (* y a) (* j y0))))
(* y1 (* j (* y3 (- y4))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -5.2e+123) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= -2.4e-29) {
tmp = x * (y1 * (a * -y2));
} else if (y4 <= 2.2e+127) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y1 * (j * (y3 * -y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-5.2d+123)) then
tmp = k * (y1 * (y2 * y4))
else if (y4 <= (-2.4d-29)) then
tmp = x * (y1 * (a * -y2))
else if (y4 <= 2.2d+127) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = y1 * (j * (y3 * -y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -5.2e+123) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= -2.4e-29) {
tmp = x * (y1 * (a * -y2));
} else if (y4 <= 2.2e+127) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y1 * (j * (y3 * -y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -5.2e+123: tmp = k * (y1 * (y2 * y4)) elif y4 <= -2.4e-29: tmp = x * (y1 * (a * -y2)) elif y4 <= 2.2e+127: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = y1 * (j * (y3 * -y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -5.2e+123) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y4 <= -2.4e-29) tmp = Float64(x * Float64(y1 * Float64(a * Float64(-y2)))); elseif (y4 <= 2.2e+127) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(y1 * Float64(j * Float64(y3 * Float64(-y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -5.2e+123) tmp = k * (y1 * (y2 * y4)); elseif (y4 <= -2.4e-29) tmp = x * (y1 * (a * -y2)); elseif (y4 <= 2.2e+127) tmp = b * (x * ((y * a) - (j * y0))); else tmp = y1 * (j * (y3 * -y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -5.2e+123], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.4e-29], N[(x * N[(y1 * N[(a * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.2e+127], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(j * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -5.2 \cdot 10^{+123}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -2.4 \cdot 10^{-29}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(a \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+127}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(j \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\end{array}
\end{array}
if y4 < -5.19999999999999971e123Initial program 23.5%
Taylor expanded in y4 around inf 61.8%
Taylor expanded in y1 around inf 65.2%
Taylor expanded in k around inf 57.0%
if -5.19999999999999971e123 < y4 < -2.39999999999999992e-29Initial program 26.6%
Taylor expanded in y1 around inf 36.2%
Taylor expanded in x around -inf 36.8%
mul-1-neg36.8%
Simplified36.8%
Taylor expanded in a around inf 36.8%
if -2.39999999999999992e-29 < y4 < 2.2000000000000002e127Initial program 37.8%
Taylor expanded in x around inf 38.5%
Taylor expanded in b around inf 30.1%
if 2.2000000000000002e127 < y4 Initial program 24.1%
Taylor expanded in y4 around inf 55.0%
Taylor expanded in y1 around inf 46.1%
Taylor expanded in k around 0 39.7%
mul-1-neg39.7%
Simplified39.7%
Final simplification36.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -4.1e-163)
(* x (* y1 (* a (- y2))))
(if (<= y1 4.5e-222)
(* c (* (* x y) (- i)))
(if (<= y1 1.05e+137)
(* b (* x (* j (- y0))))
(* (- j) (* y1 (* y3 y4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -4.1e-163) {
tmp = x * (y1 * (a * -y2));
} else if (y1 <= 4.5e-222) {
tmp = c * ((x * y) * -i);
} else if (y1 <= 1.05e+137) {
tmp = b * (x * (j * -y0));
} else {
tmp = -j * (y1 * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-4.1d-163)) then
tmp = x * (y1 * (a * -y2))
else if (y1 <= 4.5d-222) then
tmp = c * ((x * y) * -i)
else if (y1 <= 1.05d+137) then
tmp = b * (x * (j * -y0))
else
tmp = -j * (y1 * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -4.1e-163) {
tmp = x * (y1 * (a * -y2));
} else if (y1 <= 4.5e-222) {
tmp = c * ((x * y) * -i);
} else if (y1 <= 1.05e+137) {
tmp = b * (x * (j * -y0));
} else {
tmp = -j * (y1 * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -4.1e-163: tmp = x * (y1 * (a * -y2)) elif y1 <= 4.5e-222: tmp = c * ((x * y) * -i) elif y1 <= 1.05e+137: tmp = b * (x * (j * -y0)) else: tmp = -j * (y1 * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -4.1e-163) tmp = Float64(x * Float64(y1 * Float64(a * Float64(-y2)))); elseif (y1 <= 4.5e-222) tmp = Float64(c * Float64(Float64(x * y) * Float64(-i))); elseif (y1 <= 1.05e+137) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(Float64(-j) * Float64(y1 * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -4.1e-163) tmp = x * (y1 * (a * -y2)); elseif (y1 <= 4.5e-222) tmp = c * ((x * y) * -i); elseif (y1 <= 1.05e+137) tmp = b * (x * (j * -y0)); else tmp = -j * (y1 * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -4.1e-163], N[(x * N[(y1 * N[(a * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.5e-222], N[(c * N[(N[(x * y), $MachinePrecision] * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.05e+137], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[((-j) * N[(y1 * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -4.1 \cdot 10^{-163}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(a \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 4.5 \cdot 10^{-222}:\\
\;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y1 \leq 1.05 \cdot 10^{+137}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-j\right) \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -4.09999999999999982e-163Initial program 34.6%
Taylor expanded in y1 around inf 51.4%
Taylor expanded in x around -inf 34.5%
mul-1-neg34.5%
Simplified34.5%
Taylor expanded in a around inf 32.2%
if -4.09999999999999982e-163 < y1 < 4.50000000000000014e-222Initial program 30.6%
Taylor expanded in x around inf 30.6%
Taylor expanded in y around inf 35.1%
Taylor expanded in i around inf 27.7%
mul-1-neg27.7%
*-commutative27.7%
Simplified27.7%
if 4.50000000000000014e-222 < y1 < 1.05e137Initial program 31.0%
Taylor expanded in x around inf 34.6%
Taylor expanded in b around inf 30.7%
Taylor expanded in a around 0 28.5%
neg-mul-128.5%
distribute-rgt-neg-in28.5%
Simplified28.5%
if 1.05e137 < y1 Initial program 31.0%
Taylor expanded in y4 around inf 34.3%
Taylor expanded in y1 around inf 48.7%
Taylor expanded in k around 0 51.0%
associate-*r*51.0%
neg-mul-151.0%
Simplified51.0%
Final simplification33.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y1 (* a (- y2))))))
(if (<= y2 -1.6e+55)
t_1
(if (<= y2 -2.55e-122)
(* b (* x (* j (- y0))))
(if (<= y2 9e-78) (* c (* y (* y3 y4))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y1 * (a * -y2));
double tmp;
if (y2 <= -1.6e+55) {
tmp = t_1;
} else if (y2 <= -2.55e-122) {
tmp = b * (x * (j * -y0));
} else if (y2 <= 9e-78) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (y1 * (a * -y2))
if (y2 <= (-1.6d+55)) then
tmp = t_1
else if (y2 <= (-2.55d-122)) then
tmp = b * (x * (j * -y0))
else if (y2 <= 9d-78) then
tmp = c * (y * (y3 * y4))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y1 * (a * -y2));
double tmp;
if (y2 <= -1.6e+55) {
tmp = t_1;
} else if (y2 <= -2.55e-122) {
tmp = b * (x * (j * -y0));
} else if (y2 <= 9e-78) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y1 * (a * -y2)) tmp = 0 if y2 <= -1.6e+55: tmp = t_1 elif y2 <= -2.55e-122: tmp = b * (x * (j * -y0)) elif y2 <= 9e-78: tmp = c * (y * (y3 * y4)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y1 * Float64(a * Float64(-y2)))) tmp = 0.0 if (y2 <= -1.6e+55) tmp = t_1; elseif (y2 <= -2.55e-122) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); elseif (y2 <= 9e-78) tmp = Float64(c * Float64(y * Float64(y3 * y4))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y1 * (a * -y2)); tmp = 0.0; if (y2 <= -1.6e+55) tmp = t_1; elseif (y2 <= -2.55e-122) tmp = b * (x * (j * -y0)); elseif (y2 <= 9e-78) tmp = c * (y * (y3 * y4)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y1 * N[(a * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.6e+55], t$95$1, If[LessEqual[y2, -2.55e-122], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9e-78], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y1 \cdot \left(a \cdot \left(-y2\right)\right)\right)\\
\mathbf{if}\;y2 \leq -1.6 \cdot 10^{+55}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -2.55 \cdot 10^{-122}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 9 \cdot 10^{-78}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -1.6000000000000001e55 or 9e-78 < y2 Initial program 22.3%
Taylor expanded in y1 around inf 43.3%
Taylor expanded in x around -inf 39.4%
mul-1-neg39.4%
Simplified39.4%
Taylor expanded in a around inf 37.4%
if -1.6000000000000001e55 < y2 < -2.5500000000000001e-122Initial program 31.7%
Taylor expanded in x around inf 40.6%
Taylor expanded in b around inf 30.3%
Taylor expanded in a around 0 35.8%
neg-mul-135.8%
distribute-rgt-neg-in35.8%
Simplified35.8%
if -2.5500000000000001e-122 < y2 < 9e-78Initial program 48.4%
Taylor expanded in x around inf 36.9%
Taylor expanded in y around inf 33.6%
mul-1-neg33.6%
Simplified33.6%
Taylor expanded in y4 around inf 22.1%
Final simplification32.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y1 (* a (- y2))))))
(if (<= y2 -3.5e+54)
t_1
(if (<= y2 -3.5e-215)
(* (* b j) (* x (- y0)))
(if (<= y2 1.5e-80) (* c (* y (* y3 y4))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y1 * (a * -y2));
double tmp;
if (y2 <= -3.5e+54) {
tmp = t_1;
} else if (y2 <= -3.5e-215) {
tmp = (b * j) * (x * -y0);
} else if (y2 <= 1.5e-80) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (y1 * (a * -y2))
if (y2 <= (-3.5d+54)) then
tmp = t_1
else if (y2 <= (-3.5d-215)) then
tmp = (b * j) * (x * -y0)
else if (y2 <= 1.5d-80) then
tmp = c * (y * (y3 * y4))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y1 * (a * -y2));
double tmp;
if (y2 <= -3.5e+54) {
tmp = t_1;
} else if (y2 <= -3.5e-215) {
tmp = (b * j) * (x * -y0);
} else if (y2 <= 1.5e-80) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y1 * (a * -y2)) tmp = 0 if y2 <= -3.5e+54: tmp = t_1 elif y2 <= -3.5e-215: tmp = (b * j) * (x * -y0) elif y2 <= 1.5e-80: tmp = c * (y * (y3 * y4)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y1 * Float64(a * Float64(-y2)))) tmp = 0.0 if (y2 <= -3.5e+54) tmp = t_1; elseif (y2 <= -3.5e-215) tmp = Float64(Float64(b * j) * Float64(x * Float64(-y0))); elseif (y2 <= 1.5e-80) tmp = Float64(c * Float64(y * Float64(y3 * y4))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y1 * (a * -y2)); tmp = 0.0; if (y2 <= -3.5e+54) tmp = t_1; elseif (y2 <= -3.5e-215) tmp = (b * j) * (x * -y0); elseif (y2 <= 1.5e-80) tmp = c * (y * (y3 * y4)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y1 * N[(a * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.5e+54], t$95$1, If[LessEqual[y2, -3.5e-215], N[(N[(b * j), $MachinePrecision] * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.5e-80], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y1 \cdot \left(a \cdot \left(-y2\right)\right)\right)\\
\mathbf{if}\;y2 \leq -3.5 \cdot 10^{+54}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -3.5 \cdot 10^{-215}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(x \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.5 \cdot 10^{-80}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -3.5000000000000001e54 or 1.50000000000000004e-80 < y2 Initial program 22.3%
Taylor expanded in y1 around inf 43.3%
Taylor expanded in x around -inf 39.4%
mul-1-neg39.4%
Simplified39.4%
Taylor expanded in a around inf 37.4%
if -3.5000000000000001e54 < y2 < -3.5000000000000002e-215Initial program 37.1%
Taylor expanded in x around inf 38.0%
Taylor expanded in b around inf 25.7%
Taylor expanded in a around 0 22.4%
mul-1-neg22.4%
associate-*r*27.6%
Simplified27.6%
if -3.5000000000000002e-215 < y2 < 1.50000000000000004e-80Initial program 48.1%
Taylor expanded in x around inf 38.1%
Taylor expanded in y around inf 35.3%
mul-1-neg35.3%
Simplified35.3%
Taylor expanded in y4 around inf 25.3%
Final simplification32.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y (* y3 y4)))))
(if (<= y4 -0.04)
t_1
(if (<= y4 -9e-142)
(* a (* z (* y1 y3)))
(if (<= y4 3.9e-39) (* a (* (* x y) b)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y * (y3 * y4));
double tmp;
if (y4 <= -0.04) {
tmp = t_1;
} else if (y4 <= -9e-142) {
tmp = a * (z * (y1 * y3));
} else if (y4 <= 3.9e-39) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (y * (y3 * y4))
if (y4 <= (-0.04d0)) then
tmp = t_1
else if (y4 <= (-9d-142)) then
tmp = a * (z * (y1 * y3))
else if (y4 <= 3.9d-39) then
tmp = a * ((x * y) * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y * (y3 * y4));
double tmp;
if (y4 <= -0.04) {
tmp = t_1;
} else if (y4 <= -9e-142) {
tmp = a * (z * (y1 * y3));
} else if (y4 <= 3.9e-39) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y * (y3 * y4)) tmp = 0 if y4 <= -0.04: tmp = t_1 elif y4 <= -9e-142: tmp = a * (z * (y1 * y3)) elif y4 <= 3.9e-39: tmp = a * ((x * y) * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y * Float64(y3 * y4))) tmp = 0.0 if (y4 <= -0.04) tmp = t_1; elseif (y4 <= -9e-142) tmp = Float64(a * Float64(z * Float64(y1 * y3))); elseif (y4 <= 3.9e-39) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y * (y3 * y4)); tmp = 0.0; if (y4 <= -0.04) tmp = t_1; elseif (y4 <= -9e-142) tmp = a * (z * (y1 * y3)); elseif (y4 <= 3.9e-39) tmp = a * ((x * y) * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -0.04], t$95$1, If[LessEqual[y4, -9e-142], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.9e-39], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;y4 \leq -0.04:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -9 \cdot 10^{-142}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{elif}\;y4 \leq 3.9 \cdot 10^{-39}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y4 < -0.0400000000000000008 or 3.9000000000000003e-39 < y4 Initial program 25.5%
Taylor expanded in x around inf 32.4%
Taylor expanded in y around inf 30.5%
mul-1-neg30.5%
Simplified30.5%
Taylor expanded in y4 around inf 30.9%
if -0.0400000000000000008 < y4 < -9.00000000000000037e-142Initial program 38.1%
Taylor expanded in y1 around inf 38.7%
Taylor expanded in a around inf 35.5%
mul-1-neg35.5%
Simplified35.5%
Taylor expanded in x around 0 32.3%
associate-*r*32.4%
Simplified32.4%
if -9.00000000000000037e-142 < y4 < 3.9000000000000003e-39Initial program 40.5%
Taylor expanded in x around inf 39.9%
Taylor expanded in b around inf 32.5%
Taylor expanded in a around inf 19.2%
Final simplification27.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= x -2.85e+47) (not (<= x 2.3e+49))) (* b (* x (- (* y a) (* j y0)))) (* b (* y4 (- (* t j) (* y k))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -2.85e+47) || !(x <= 2.3e+49)) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((x <= (-2.85d+47)) .or. (.not. (x <= 2.3d+49))) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -2.85e+47) || !(x <= 2.3e+49)) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (x <= -2.85e+47) or not (x <= 2.3e+49): tmp = b * (x * ((y * a) - (j * y0))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((x <= -2.85e+47) || !(x <= 2.3e+49)) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((x <= -2.85e+47) || ~((x <= 2.3e+49))) tmp = b * (x * ((y * a) - (j * y0))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[x, -2.85e+47], N[Not[LessEqual[x, 2.3e+49]], $MachinePrecision]], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.85 \cdot 10^{+47} \lor \neg \left(x \leq 2.3 \cdot 10^{+49}\right):\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if x < -2.8499999999999998e47 or 2.30000000000000002e49 < x Initial program 26.8%
Taylor expanded in x around inf 43.6%
Taylor expanded in b around inf 47.5%
if -2.8499999999999998e47 < x < 2.30000000000000002e49Initial program 35.6%
Taylor expanded in y4 around inf 37.5%
Taylor expanded in b around inf 32.6%
Final simplification38.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -2.3e+116)
(* x (* y1 (* a (- y2))))
(if (<= y1 4.05e+133)
(* b (* y0 (- (* z k) (* x j))))
(* (- j) (* y1 (* y3 y4))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -2.3e+116) {
tmp = x * (y1 * (a * -y2));
} else if (y1 <= 4.05e+133) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = -j * (y1 * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-2.3d+116)) then
tmp = x * (y1 * (a * -y2))
else if (y1 <= 4.05d+133) then
tmp = b * (y0 * ((z * k) - (x * j)))
else
tmp = -j * (y1 * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -2.3e+116) {
tmp = x * (y1 * (a * -y2));
} else if (y1 <= 4.05e+133) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = -j * (y1 * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -2.3e+116: tmp = x * (y1 * (a * -y2)) elif y1 <= 4.05e+133: tmp = b * (y0 * ((z * k) - (x * j))) else: tmp = -j * (y1 * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -2.3e+116) tmp = Float64(x * Float64(y1 * Float64(a * Float64(-y2)))); elseif (y1 <= 4.05e+133) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(Float64(-j) * Float64(y1 * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -2.3e+116) tmp = x * (y1 * (a * -y2)); elseif (y1 <= 4.05e+133) tmp = b * (y0 * ((z * k) - (x * j))); else tmp = -j * (y1 * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -2.3e+116], N[(x * N[(y1 * N[(a * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.05e+133], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[((-j) * N[(y1 * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -2.3 \cdot 10^{+116}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(a \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 4.05 \cdot 10^{+133}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-j\right) \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -2.29999999999999995e116Initial program 27.2%
Taylor expanded in y1 around inf 72.6%
Taylor expanded in x around -inf 55.3%
mul-1-neg55.3%
Simplified55.3%
Taylor expanded in a around inf 49.1%
if -2.29999999999999995e116 < y1 < 4.0499999999999998e133Initial program 33.3%
Taylor expanded in y0 around inf 40.2%
Taylor expanded in b around inf 30.6%
*-commutative30.6%
Simplified30.6%
if 4.0499999999999998e133 < y1 Initial program 31.0%
Taylor expanded in y4 around inf 34.3%
Taylor expanded in y1 around inf 48.7%
Taylor expanded in k around 0 51.0%
associate-*r*51.0%
neg-mul-151.0%
Simplified51.0%
Final simplification36.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y4 -3.8e+123) (* k (* y1 (* y2 y4))) (if (<= y4 6.3e+140) (* x (* y1 (* a (- y2)))) (* y1 (* j (* y3 (- y4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -3.8e+123) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= 6.3e+140) {
tmp = x * (y1 * (a * -y2));
} else {
tmp = y1 * (j * (y3 * -y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-3.8d+123)) then
tmp = k * (y1 * (y2 * y4))
else if (y4 <= 6.3d+140) then
tmp = x * (y1 * (a * -y2))
else
tmp = y1 * (j * (y3 * -y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -3.8e+123) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= 6.3e+140) {
tmp = x * (y1 * (a * -y2));
} else {
tmp = y1 * (j * (y3 * -y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -3.8e+123: tmp = k * (y1 * (y2 * y4)) elif y4 <= 6.3e+140: tmp = x * (y1 * (a * -y2)) else: tmp = y1 * (j * (y3 * -y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -3.8e+123) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y4 <= 6.3e+140) tmp = Float64(x * Float64(y1 * Float64(a * Float64(-y2)))); else tmp = Float64(y1 * Float64(j * Float64(y3 * Float64(-y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -3.8e+123) tmp = k * (y1 * (y2 * y4)); elseif (y4 <= 6.3e+140) tmp = x * (y1 * (a * -y2)); else tmp = y1 * (j * (y3 * -y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -3.8e+123], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 6.3e+140], N[(x * N[(y1 * N[(a * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(j * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -3.8 \cdot 10^{+123}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq 6.3 \cdot 10^{+140}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(a \cdot \left(-y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(j \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\end{array}
\end{array}
if y4 < -3.79999999999999994e123Initial program 23.5%
Taylor expanded in y4 around inf 61.8%
Taylor expanded in y1 around inf 65.2%
Taylor expanded in k around inf 57.0%
if -3.79999999999999994e123 < y4 < 6.29999999999999972e140Initial program 35.3%
Taylor expanded in y1 around inf 36.9%
Taylor expanded in x around -inf 31.4%
mul-1-neg31.4%
Simplified31.4%
Taylor expanded in a around inf 24.5%
if 6.29999999999999972e140 < y4 Initial program 25.3%
Taylor expanded in y4 around inf 57.8%
Taylor expanded in y1 around inf 45.9%
Taylor expanded in k around 0 39.2%
mul-1-neg39.2%
Simplified39.2%
Final simplification31.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y4 -8.5e+123) (* k (* y1 (* y2 y4))) (if (<= y4 1.8e+135) (* x (* y1 (* a (- y2)))) (* c (* y (* y3 y4))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -8.5e+123) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= 1.8e+135) {
tmp = x * (y1 * (a * -y2));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-8.5d+123)) then
tmp = k * (y1 * (y2 * y4))
else if (y4 <= 1.8d+135) then
tmp = x * (y1 * (a * -y2))
else
tmp = c * (y * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -8.5e+123) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= 1.8e+135) {
tmp = x * (y1 * (a * -y2));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -8.5e+123: tmp = k * (y1 * (y2 * y4)) elif y4 <= 1.8e+135: tmp = x * (y1 * (a * -y2)) else: tmp = c * (y * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -8.5e+123) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y4 <= 1.8e+135) tmp = Float64(x * Float64(y1 * Float64(a * Float64(-y2)))); else tmp = Float64(c * Float64(y * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -8.5e+123) tmp = k * (y1 * (y2 * y4)); elseif (y4 <= 1.8e+135) tmp = x * (y1 * (a * -y2)); else tmp = c * (y * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -8.5e+123], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.8e+135], N[(x * N[(y1 * N[(a * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -8.5 \cdot 10^{+123}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq 1.8 \cdot 10^{+135}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(a \cdot \left(-y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y4 < -8.5e123Initial program 23.5%
Taylor expanded in y4 around inf 61.8%
Taylor expanded in y1 around inf 65.2%
Taylor expanded in k around inf 57.0%
if -8.5e123 < y4 < 1.7999999999999999e135Initial program 35.5%
Taylor expanded in y1 around inf 36.6%
Taylor expanded in x around -inf 31.1%
mul-1-neg31.1%
Simplified31.1%
Taylor expanded in a around inf 24.1%
if 1.7999999999999999e135 < y4 Initial program 24.7%
Taylor expanded in x around inf 37.0%
Taylor expanded in y around inf 34.6%
mul-1-neg34.6%
Simplified34.6%
Taylor expanded in y4 around inf 35.2%
Final simplification30.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y4 -2.4e+124) (* k (* y1 (* y2 y4))) (if (<= y4 3e+136) (* a (* y2 (* x (- y1)))) (* c (* y (* y3 y4))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -2.4e+124) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= 3e+136) {
tmp = a * (y2 * (x * -y1));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-2.4d+124)) then
tmp = k * (y1 * (y2 * y4))
else if (y4 <= 3d+136) then
tmp = a * (y2 * (x * -y1))
else
tmp = c * (y * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -2.4e+124) {
tmp = k * (y1 * (y2 * y4));
} else if (y4 <= 3e+136) {
tmp = a * (y2 * (x * -y1));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -2.4e+124: tmp = k * (y1 * (y2 * y4)) elif y4 <= 3e+136: tmp = a * (y2 * (x * -y1)) else: tmp = c * (y * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -2.4e+124) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y4 <= 3e+136) tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))); else tmp = Float64(c * Float64(y * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -2.4e+124) tmp = k * (y1 * (y2 * y4)); elseif (y4 <= 3e+136) tmp = a * (y2 * (x * -y1)); else tmp = c * (y * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -2.4e+124], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3e+136], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -2.4 \cdot 10^{+124}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq 3 \cdot 10^{+136}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y4 < -2.40000000000000006e124Initial program 23.5%
Taylor expanded in y4 around inf 61.8%
Taylor expanded in y1 around inf 65.2%
Taylor expanded in k around inf 57.0%
if -2.40000000000000006e124 < y4 < 2.99999999999999979e136Initial program 35.5%
Taylor expanded in y1 around inf 36.6%
Taylor expanded in x around -inf 31.1%
mul-1-neg31.1%
Simplified31.1%
Taylor expanded in a around inf 24.1%
Taylor expanded in x around 0 23.0%
associate-*r*23.0%
Simplified23.0%
if 2.99999999999999979e136 < y4 Initial program 24.7%
Taylor expanded in x around inf 37.0%
Taylor expanded in y around inf 34.6%
mul-1-neg34.6%
Simplified34.6%
Taylor expanded in y4 around inf 35.2%
Final simplification29.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= x -3.2e+73) (not (<= x 2.4e-67))) (* a (* (* x y) b)) (* a (* z (* y1 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 ((x <= -3.2e+73) || !(x <= 2.4e-67)) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (z * (y1 * 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 ((x <= (-3.2d+73)) .or. (.not. (x <= 2.4d-67))) then
tmp = a * ((x * y) * b)
else
tmp = a * (z * (y1 * 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 ((x <= -3.2e+73) || !(x <= 2.4e-67)) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (z * (y1 * y3));
}
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+73) or not (x <= 2.4e-67): tmp = a * ((x * y) * b) else: tmp = a * (z * (y1 * 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 ((x <= -3.2e+73) || !(x <= 2.4e-67)) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(a * Float64(z * Float64(y1 * 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 ((x <= -3.2e+73) || ~((x <= 2.4e-67))) tmp = a * ((x * y) * b); else tmp = a * (z * (y1 * y3)); 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[x, -3.2e+73], N[Not[LessEqual[x, 2.4e-67]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.2 \cdot 10^{+73} \lor \neg \left(x \leq 2.4 \cdot 10^{-67}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\end{array}
\end{array}
if x < -3.19999999999999982e73 or 2.4e-67 < x Initial program 27.7%
Taylor expanded in x around inf 40.3%
Taylor expanded in b around inf 39.3%
Taylor expanded in a around inf 23.9%
if -3.19999999999999982e73 < x < 2.4e-67Initial program 36.3%
Taylor expanded in y1 around inf 40.4%
Taylor expanded in a around inf 21.0%
mul-1-neg21.0%
Simplified21.0%
Taylor expanded in x around 0 18.9%
associate-*r*21.0%
Simplified21.0%
Final simplification22.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= x -3.2e+73) (not (<= x 1.86e-66))) (* a (* (* x y) b)) (* a (* y1 (* z y3)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -3.2e+73) || !(x <= 1.86e-66)) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (y1 * (z * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((x <= (-3.2d+73)) .or. (.not. (x <= 1.86d-66))) then
tmp = a * ((x * y) * b)
else
tmp = a * (y1 * (z * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -3.2e+73) || !(x <= 1.86e-66)) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (y1 * (z * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (x <= -3.2e+73) or not (x <= 1.86e-66): tmp = a * ((x * y) * b) else: tmp = a * (y1 * (z * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((x <= -3.2e+73) || !(x <= 1.86e-66)) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(a * Float64(y1 * Float64(z * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((x <= -3.2e+73) || ~((x <= 1.86e-66))) tmp = a * ((x * y) * b); else tmp = a * (y1 * (z * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[x, -3.2e+73], N[Not[LessEqual[x, 1.86e-66]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.2 \cdot 10^{+73} \lor \neg \left(x \leq 1.86 \cdot 10^{-66}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\end{array}
\end{array}
if x < -3.19999999999999982e73 or 1.8599999999999999e-66 < x Initial program 27.7%
Taylor expanded in x around inf 40.3%
Taylor expanded in b around inf 39.3%
Taylor expanded in a around inf 23.9%
if -3.19999999999999982e73 < x < 1.8599999999999999e-66Initial program 36.3%
Taylor expanded in y1 around inf 40.4%
Taylor expanded in a around inf 21.0%
mul-1-neg21.0%
Simplified21.0%
Taylor expanded in x around 0 18.9%
Final simplification21.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= x -4.2e+73) (* b (* x (* y a))) (if (<= x 2.6e-67) (* a (* z (* y1 y3))) (* a (* (* x y) b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -4.2e+73) {
tmp = b * (x * (y * a));
} else if (x <= 2.6e-67) {
tmp = a * (z * (y1 * y3));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-4.2d+73)) then
tmp = b * (x * (y * a))
else if (x <= 2.6d-67) then
tmp = a * (z * (y1 * y3))
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -4.2e+73) {
tmp = b * (x * (y * a));
} else if (x <= 2.6e-67) {
tmp = a * (z * (y1 * y3));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -4.2e+73: tmp = b * (x * (y * a)) elif x <= 2.6e-67: tmp = a * (z * (y1 * y3)) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -4.2e+73) tmp = Float64(b * Float64(x * Float64(y * a))); elseif (x <= 2.6e-67) tmp = Float64(a * Float64(z * Float64(y1 * y3))); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -4.2e+73) tmp = b * (x * (y * a)); elseif (x <= 2.6e-67) tmp = a * (z * (y1 * y3)); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -4.2e+73], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.6e-67], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4.2 \cdot 10^{+73}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{elif}\;x \leq 2.6 \cdot 10^{-67}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if x < -4.2000000000000003e73Initial program 32.5%
Taylor expanded in x around inf 44.2%
Taylor expanded in b around inf 40.4%
Taylor expanded in a around inf 22.3%
if -4.2000000000000003e73 < x < 2.5999999999999999e-67Initial program 36.3%
Taylor expanded in y1 around inf 40.4%
Taylor expanded in a around inf 21.0%
mul-1-neg21.0%
Simplified21.0%
Taylor expanded in x around 0 18.9%
associate-*r*21.0%
Simplified21.0%
if 2.5999999999999999e-67 < x Initial program 25.1%
Taylor expanded in x around inf 38.2%
Taylor expanded in b around inf 38.8%
Taylor expanded in a around inf 24.8%
Final simplification22.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= x -3.1e+59) (* b (* (* x y) a)) (if (<= x 1.6e-66) (* a (* z (* y1 y3))) (* a (* (* x y) b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.1e+59) {
tmp = b * ((x * y) * a);
} else if (x <= 1.6e-66) {
tmp = a * (z * (y1 * y3));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-3.1d+59)) then
tmp = b * ((x * y) * a)
else if (x <= 1.6d-66) then
tmp = a * (z * (y1 * y3))
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.1e+59) {
tmp = b * ((x * y) * a);
} else if (x <= 1.6e-66) {
tmp = a * (z * (y1 * y3));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -3.1e+59: tmp = b * ((x * y) * a) elif x <= 1.6e-66: tmp = a * (z * (y1 * y3)) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -3.1e+59) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (x <= 1.6e-66) tmp = Float64(a * Float64(z * Float64(y1 * y3))); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -3.1e+59) tmp = b * ((x * y) * a); elseif (x <= 1.6e-66) tmp = a * (z * (y1 * y3)); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -3.1e+59], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.6e-66], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.1 \cdot 10^{+59}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{-66}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if x < -3.10000000000000015e59Initial program 32.6%
Taylor expanded in x around inf 45.7%
Taylor expanded in b around inf 44.2%
Taylor expanded in a around inf 23.1%
if -3.10000000000000015e59 < x < 1.59999999999999991e-66Initial program 36.3%
Taylor expanded in y1 around inf 39.8%
Taylor expanded in a around inf 20.7%
mul-1-neg20.7%
Simplified20.7%
Taylor expanded in x around 0 18.5%
associate-*r*20.7%
Simplified20.7%
if 1.59999999999999991e-66 < x Initial program 25.1%
Taylor expanded in x around inf 38.2%
Taylor expanded in b around inf 38.8%
Taylor expanded in a around inf 24.8%
Final simplification22.4%
(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.2%
Taylor expanded in x around inf 35.7%
Taylor expanded in b around inf 26.3%
Taylor expanded in a around inf 13.9%
Final simplification13.9%
(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 2024185
(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)))))