
(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 28 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y4) (* a y5)))
(t_2
(-
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(+
(* (- (* t y2) (* y y3)) t_1)
(+
(* (- (* b y4) (* i y5)) (- (* y k) (* t j)))
(+
(* (- (* c y0) (* a y1)) (- (* z y3) (* x y2)))
(+
(* (- (* x j) (* z k)) (- (* b y0) (* i y1)))
(* (- (* a b) (* c i)) (- (* z t) (* x y))))))))))
(if (<= t_2 INFINITY)
t_2
(* y3 (+ (* z (- (* a y1) (* c y0))) (* y 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 * y4) - (a * y5);
double t_2 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * t_1) + ((((b * y4) - (i * y5)) * ((y * k) - (t * j))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((x * j) - (z * k)) * ((b * y0) - (i * y1))) + (((a * b) - (c * i)) * ((z * t) - (x * y)))))));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * t_1));
}
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 = (c * y4) - (a * y5);
double t_2 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * t_1) + ((((b * y4) - (i * y5)) * ((y * k) - (t * j))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((x * j) - (z * k)) * ((b * y0) - (i * y1))) + (((a * b) - (c * i)) * ((z * t) - (x * y)))))));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * 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 * y4) - (a * y5) t_2 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * t_1) + ((((b * y4) - (i * y5)) * ((y * k) - (t * j))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((x * j) - (z * k)) * ((b * y0) - (i * y1))) + (((a * b) - (c * i)) * ((z * t) - (x * y))))))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * 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(c * y4) - Float64(a * y5)) t_2 = 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)) * t_1) + Float64(Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(y * k) - Float64(t * j))) + Float64(Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(z * t) - Float64(x * y)))))))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(y3 * Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(y * 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 * y4) - (a * y5); t_2 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - ((((t * y2) - (y * y3)) * t_1) + ((((b * y4) - (i * y5)) * ((y * k) - (t * j))) + ((((c * y0) - (a * y1)) * ((z * y3) - (x * y2))) + ((((x * j) - (z * k)) * ((b * y0) - (i * y1))) + (((a * b) - (c * i)) * ((z * t) - (x * y))))))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * 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[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = 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] * t$95$1), $MachinePrecision] + N[(N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $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[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $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$2, Infinity], t$95$2, N[(y3 * N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y4 - a \cdot y5\\
t_2 := \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 t\_1 + \left(\left(b \cdot y4 - i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right) + \left(\left(c \cdot y0 - a \cdot y1\right) \cdot \left(z \cdot y3 - x \cdot y2\right) + \left(\left(x \cdot j - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\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\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + y \cdot t\_1\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.3%
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 y3 around -inf 34.2%
Taylor expanded in j around 0 42.8%
Final simplification59.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t y2) (* y y3))))
(if (<= y5 -6.2e+73)
(*
y5
(+ (* a t_1) (+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2))))))
(if (<= y5 -5.4e-121)
(*
a
(-
(* y5 t_1)
(- (* y1 (- (* x y2) (* z y3))) (* b (- (* x y) (* z t))))))
(if (<= y5 -3.5e-278)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* z (- (* a y1) (* c y0))) (* j (- (* y1 y4) (* y0 y5))))))
(if (<= y5 8.5e-182)
(*
y1
(+
(+ (* a (- (* z y3) (* x y2))) (* y4 (- (* k y2) (* j y3))))
(* i (- (* x j) (* z k)))))
(*
t
(-
(* y2 (- (* a y5) (* c y4)))
(+ (* z (- (* a b) (* c i))) (* j (- (* i y5) (* b y4))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double tmp;
if (y5 <= -6.2e+73) {
tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y5 <= -5.4e-121) {
tmp = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t)))));
} else if (y5 <= -3.5e-278) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5)))));
} else if (y5 <= 8.5e-182) {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))));
} else {
tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (t * y2) - (y * y3)
if (y5 <= (-6.2d+73)) then
tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
else if (y5 <= (-5.4d-121)) then
tmp = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t)))))
else if (y5 <= (-3.5d-278)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5)))))
else if (y5 <= 8.5d-182) then
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))))
else
tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double tmp;
if (y5 <= -6.2e+73) {
tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y5 <= -5.4e-121) {
tmp = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t)))));
} else if (y5 <= -3.5e-278) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5)))));
} else if (y5 <= 8.5e-182) {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))));
} else {
tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * y2) - (y * y3) tmp = 0 if y5 <= -6.2e+73: tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) elif y5 <= -5.4e-121: tmp = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t))))) elif y5 <= -3.5e-278: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5))))) elif y5 <= 8.5e-182: tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k)))) else: tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (y5 <= -6.2e+73) tmp = Float64(y5 * Float64(Float64(a * t_1) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); elseif (y5 <= -5.4e-121) tmp = Float64(a * Float64(Float64(y5 * t_1) - Float64(Float64(y1 * Float64(Float64(x * y2) - Float64(z * y3))) - Float64(b * Float64(Float64(x * y) - Float64(z * t)))))); elseif (y5 <= -3.5e-278) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(j * Float64(Float64(y1 * y4) - Float64(y0 * y5)))))); elseif (y5 <= 8.5e-182) tmp = Float64(y1 * Float64(Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(i * Float64(Float64(x * j) - Float64(z * k))))); else tmp = Float64(t * Float64(Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(z * Float64(Float64(a * b) - Float64(c * i))) + Float64(j * Float64(Float64(i * y5) - Float64(b * y4)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * y2) - (y * y3); tmp = 0.0; if (y5 <= -6.2e+73) tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); elseif (y5 <= -5.4e-121) tmp = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t))))); elseif (y5 <= -3.5e-278) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5))))); elseif (y5 <= 8.5e-182) tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k)))); else tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * 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[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -6.2e+73], N[(y5 * N[(N[(a * t$95$1), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.4e-121], N[(a * N[(N[(y5 * t$95$1), $MachinePrecision] - N[(N[(y1 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.5e-278], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 8.5e-182], N[(y1 * N[(N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(z * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y5 \leq -6.2 \cdot 10^{+73}:\\
\;\;\;\;y5 \cdot \left(a \cdot t\_1 + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -5.4 \cdot 10^{-121}:\\
\;\;\;\;a \cdot \left(y5 \cdot t\_1 - \left(y1 \cdot \left(x \cdot y2 - z \cdot y3\right) - b \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -3.5 \cdot 10^{-278}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) - j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-182}:\\
\;\;\;\;y1 \cdot \left(\left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(z \cdot \left(a \cdot b - c \cdot i\right) + j \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\right)\\
\end{array}
\end{array}
if y5 < -6.1999999999999999e73Initial program 31.2%
Taylor expanded in y5 around -inf 61.5%
if -6.1999999999999999e73 < y5 < -5.4000000000000004e-121Initial program 33.3%
Taylor expanded in a around inf 57.4%
if -5.4000000000000004e-121 < y5 < -3.4999999999999997e-278Initial program 25.7%
Taylor expanded in y3 around -inf 63.0%
if -3.4999999999999997e-278 < y5 < 8.5000000000000001e-182Initial program 36.4%
Taylor expanded in y1 around inf 60.8%
if 8.5000000000000001e-182 < y5 Initial program 30.2%
Taylor expanded in t around inf 50.3%
Final simplification57.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t y2) (* y y3)))
(t_2
(*
a
(-
(* y5 t_1)
(- (* y1 (- (* x y2) (* z y3))) (* b (- (* x y) (* z t))))))))
(if (<= y5 -4e+72)
(*
y5
(+ (* a t_1) (+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2))))))
(if (<= y5 -1.25e-121)
t_2
(if (<= y5 -8.5e-279)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* z (- (* a y1) (* c y0))) (* j (- (* y1 y4) (* y0 y5))))))
(if (<= y5 3.4e-96)
t_2
(*
t
(-
(* y2 (- (* a y5) (* c y4)))
(+ (* z (- (* a b) (* c i))) (* j (- (* i y5) (* b y4))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double t_2 = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t)))));
double tmp;
if (y5 <= -4e+72) {
tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y5 <= -1.25e-121) {
tmp = t_2;
} else if (y5 <= -8.5e-279) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5)))));
} else if (y5 <= 3.4e-96) {
tmp = t_2;
} else {
tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (t * y2) - (y * y3)
t_2 = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t)))))
if (y5 <= (-4d+72)) then
tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
else if (y5 <= (-1.25d-121)) then
tmp = t_2
else if (y5 <= (-8.5d-279)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5)))))
else if (y5 <= 3.4d-96) then
tmp = t_2
else
tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double t_2 = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t)))));
double tmp;
if (y5 <= -4e+72) {
tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y5 <= -1.25e-121) {
tmp = t_2;
} else if (y5 <= -8.5e-279) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5)))));
} else if (y5 <= 3.4e-96) {
tmp = t_2;
} else {
tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * y2) - (y * y3) t_2 = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t))))) tmp = 0 if y5 <= -4e+72: tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) elif y5 <= -1.25e-121: tmp = t_2 elif y5 <= -8.5e-279: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5))))) elif y5 <= 3.4e-96: tmp = t_2 else: tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * y4))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * y2) - Float64(y * y3)) t_2 = Float64(a * Float64(Float64(y5 * t_1) - Float64(Float64(y1 * Float64(Float64(x * y2) - Float64(z * y3))) - Float64(b * Float64(Float64(x * y) - Float64(z * t)))))) tmp = 0.0 if (y5 <= -4e+72) tmp = Float64(y5 * Float64(Float64(a * t_1) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); elseif (y5 <= -1.25e-121) tmp = t_2; elseif (y5 <= -8.5e-279) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(j * Float64(Float64(y1 * y4) - Float64(y0 * y5)))))); elseif (y5 <= 3.4e-96) tmp = t_2; else tmp = Float64(t * Float64(Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(z * Float64(Float64(a * b) - Float64(c * i))) + Float64(j * Float64(Float64(i * y5) - Float64(b * y4)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * y2) - (y * y3); t_2 = a * ((y5 * t_1) - ((y1 * ((x * y2) - (z * y3))) - (b * ((x * y) - (z * t))))); tmp = 0.0; if (y5 <= -4e+72) tmp = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); elseif (y5 <= -1.25e-121) tmp = t_2; elseif (y5 <= -8.5e-279) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * ((y1 * y4) - (y0 * y5))))); elseif (y5 <= 3.4e-96) tmp = t_2; else tmp = t * ((y2 * ((a * y5) - (c * y4))) - ((z * ((a * b) - (c * i))) + (j * ((i * y5) - (b * 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[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(y5 * t$95$1), $MachinePrecision] - N[(N[(y1 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -4e+72], N[(y5 * N[(N[(a * t$95$1), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.25e-121], t$95$2, If[LessEqual[y5, -8.5e-279], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.4e-96], t$95$2, N[(t * N[(N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(z * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot y2 - y \cdot y3\\
t_2 := a \cdot \left(y5 \cdot t\_1 - \left(y1 \cdot \left(x \cdot y2 - z \cdot y3\right) - b \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
\mathbf{if}\;y5 \leq -4 \cdot 10^{+72}:\\
\;\;\;\;y5 \cdot \left(a \cdot t\_1 + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -1.25 \cdot 10^{-121}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y5 \leq -8.5 \cdot 10^{-279}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) - j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 3.4 \cdot 10^{-96}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(z \cdot \left(a \cdot b - c \cdot i\right) + j \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\right)\\
\end{array}
\end{array}
if y5 < -3.99999999999999978e72Initial program 31.2%
Taylor expanded in y5 around -inf 61.5%
if -3.99999999999999978e72 < y5 < -1.24999999999999997e-121 or -8.5000000000000002e-279 < y5 < 3.4000000000000001e-96Initial program 34.5%
Taylor expanded in a around inf 56.6%
if -1.24999999999999997e-121 < y5 < -8.5000000000000002e-279Initial program 28.7%
Taylor expanded in y3 around -inf 60.5%
if 3.4000000000000001e-96 < y5 Initial program 28.5%
Taylor expanded in t around inf 52.5%
Final simplification57.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))
(if (<= x -1.32e+73)
t_1
(if (<= x -4.2e-162)
(* y3 (+ (* z (- (* a y1) (* c y0))) (* y (- (* c y4) (* a y5)))))
(if (<= x -1.15e-286)
(* (* y2 y5) (- (* t a) (* k y0)))
(if (<= x 6.5e+114) (* j (* t (* y4 (- b (* i (/ y5 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 * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (x <= -1.32e+73) {
tmp = t_1;
} else if (x <= -4.2e-162) {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))));
} else if (x <= -1.15e-286) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 6.5e+114) {
tmp = j * (t * (y4 * (b - (i * (y5 / 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 * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
if (x <= (-1.32d+73)) then
tmp = t_1
else if (x <= (-4.2d-162)) then
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))))
else if (x <= (-1.15d-286)) then
tmp = (y2 * y5) * ((t * a) - (k * y0))
else if (x <= 6.5d+114) then
tmp = j * (t * (y4 * (b - (i * (y5 / 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 * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (x <= -1.32e+73) {
tmp = t_1;
} else if (x <= -4.2e-162) {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))));
} else if (x <= -1.15e-286) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 6.5e+114) {
tmp = j * (t * (y4 * (b - (i * (y5 / 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 * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) tmp = 0 if x <= -1.32e+73: tmp = t_1 elif x <= -4.2e-162: tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5)))) elif x <= -1.15e-286: tmp = (y2 * y5) * ((t * a) - (k * y0)) elif x <= 6.5e+114: tmp = j * (t * (y4 * (b - (i * (y5 / 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(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (x <= -1.32e+73) tmp = t_1; elseif (x <= -4.2e-162) tmp = Float64(y3 * Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(y * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (x <= -1.15e-286) tmp = Float64(Float64(y2 * y5) * Float64(Float64(t * a) - Float64(k * y0))); elseif (x <= 6.5e+114) tmp = Float64(j * Float64(t * Float64(y4 * Float64(b - Float64(i * Float64(y5 / 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 * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (x <= -1.32e+73) tmp = t_1; elseif (x <= -4.2e-162) tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5)))); elseif (x <= -1.15e-286) tmp = (y2 * y5) * ((t * a) - (k * y0)); elseif (x <= 6.5e+114) tmp = j * (t * (y4 * (b - (i * (y5 / 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[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.32e+73], t$95$1, If[LessEqual[x, -4.2e-162], N[(y3 * N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.15e-286], N[(N[(y2 * y5), $MachinePrecision] * N[(N[(t * a), $MachinePrecision] - N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.5e+114], N[(j * N[(t * N[(y4 * N[(b - N[(i * N[(y5 / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;x \leq -1.32 \cdot 10^{+73}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq -4.2 \cdot 10^{-162}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -1.15 \cdot 10^{-286}:\\
\;\;\;\;\left(y2 \cdot y5\right) \cdot \left(t \cdot a - k \cdot y0\right)\\
\mathbf{elif}\;x \leq 6.5 \cdot 10^{+114}:\\
\;\;\;\;j \cdot \left(t \cdot \left(y4 \cdot \left(b - i \cdot \frac{y5}{y4}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -1.32e73 or 6.5000000000000001e114 < x Initial program 23.4%
Taylor expanded in x around inf 58.0%
if -1.32e73 < x < -4.2e-162Initial program 32.6%
Taylor expanded in y3 around -inf 52.7%
Taylor expanded in j around 0 61.5%
if -4.2e-162 < x < -1.1500000000000001e-286Initial program 45.3%
Taylor expanded in y5 around -inf 55.5%
Taylor expanded in y2 around inf 51.6%
associate-*r*56.2%
*-commutative56.2%
Simplified56.2%
if -1.1500000000000001e-286 < x < 6.5000000000000001e114Initial program 36.5%
Taylor expanded in j around inf 43.6%
Taylor expanded in t around inf 40.8%
Taylor expanded in y4 around inf 45.9%
mul-1-neg45.9%
unsub-neg45.9%
associate-/l*48.2%
Simplified48.2%
Final simplification55.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -7.2e-41)
(* a (* y1 (- (* z y3) (* x y2))))
(if (<= z -3.3e-236)
(* j (* t (- (* b y4) (* i y5))))
(if (<= z 5.2e-232)
(* y3 (* y4 (* y c)))
(if (<= z 4.5e-109)
(* y (* i (- (* k y5) (* x c))))
(if (<= z 9e-22)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= z 2.5e+89)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= z 2.6e+177)
(* y1 (* k (- (* y2 y4) (* z i))))
(* b (* y0 (- (* z k) (* x j))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -7.2e-41) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (z <= -3.3e-236) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= 5.2e-232) {
tmp = y3 * (y4 * (y * c));
} else if (z <= 4.5e-109) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (z <= 9e-22) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (z <= 2.5e+89) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 2.6e+177) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else {
tmp = b * (y0 * ((z * k) - (x * j)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-7.2d-41)) then
tmp = a * (y1 * ((z * y3) - (x * y2)))
else if (z <= (-3.3d-236)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (z <= 5.2d-232) then
tmp = y3 * (y4 * (y * c))
else if (z <= 4.5d-109) then
tmp = y * (i * ((k * y5) - (x * c)))
else if (z <= 9d-22) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (z <= 2.5d+89) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (z <= 2.6d+177) then
tmp = y1 * (k * ((y2 * y4) - (z * i)))
else
tmp = b * (y0 * ((z * k) - (x * j)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -7.2e-41) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (z <= -3.3e-236) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= 5.2e-232) {
tmp = y3 * (y4 * (y * c));
} else if (z <= 4.5e-109) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (z <= 9e-22) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (z <= 2.5e+89) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 2.6e+177) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else {
tmp = b * (y0 * ((z * k) - (x * j)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -7.2e-41: tmp = a * (y1 * ((z * y3) - (x * y2))) elif z <= -3.3e-236: tmp = j * (t * ((b * y4) - (i * y5))) elif z <= 5.2e-232: tmp = y3 * (y4 * (y * c)) elif z <= 4.5e-109: tmp = y * (i * ((k * y5) - (x * c))) elif z <= 9e-22: tmp = a * (y * ((x * b) - (y3 * y5))) elif z <= 2.5e+89: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif z <= 2.6e+177: tmp = y1 * (k * ((y2 * y4) - (z * i))) else: tmp = b * (y0 * ((z * k) - (x * j))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -7.2e-41) tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); elseif (z <= -3.3e-236) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (z <= 5.2e-232) tmp = Float64(y3 * Float64(y4 * Float64(y * c))); elseif (z <= 4.5e-109) tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); elseif (z <= 9e-22) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (z <= 2.5e+89) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (z <= 2.6e+177) tmp = Float64(y1 * Float64(k * Float64(Float64(y2 * y4) - Float64(z * i)))); else tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -7.2e-41) tmp = a * (y1 * ((z * y3) - (x * y2))); elseif (z <= -3.3e-236) tmp = j * (t * ((b * y4) - (i * y5))); elseif (z <= 5.2e-232) tmp = y3 * (y4 * (y * c)); elseif (z <= 4.5e-109) tmp = y * (i * ((k * y5) - (x * c))); elseif (z <= 9e-22) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (z <= 2.5e+89) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (z <= 2.6e+177) tmp = y1 * (k * ((y2 * y4) - (z * i))); else tmp = b * (y0 * ((z * k) - (x * j))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -7.2e-41], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.3e-236], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.2e-232], N[(y3 * N[(y4 * N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.5e-109], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9e-22], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.5e+89], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.6e+177], N[(y1 * N[(k * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7.2 \cdot 10^{-41}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq -3.3 \cdot 10^{-236}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq 5.2 \cdot 10^{-232}:\\
\;\;\;\;y3 \cdot \left(y4 \cdot \left(y \cdot c\right)\right)\\
\mathbf{elif}\;z \leq 4.5 \cdot 10^{-109}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;z \leq 9 \cdot 10^{-22}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq 2.5 \cdot 10^{+89}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;z \leq 2.6 \cdot 10^{+177}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if z < -7.2e-41Initial program 35.2%
Taylor expanded in a around inf 49.6%
Taylor expanded in y1 around inf 53.0%
associate-*r*53.0%
neg-mul-153.0%
Simplified53.0%
if -7.2e-41 < z < -3.3000000000000001e-236Initial program 29.6%
Taylor expanded in j around inf 51.0%
Taylor expanded in t around inf 38.1%
if -3.3000000000000001e-236 < z < 5.19999999999999992e-232Initial program 39.9%
Taylor expanded in y3 around -inf 48.6%
Taylor expanded in y4 around inf 48.9%
Taylor expanded in j around 0 52.8%
neg-mul-152.8%
distribute-rgt-neg-in52.8%
Simplified52.8%
if 5.19999999999999992e-232 < z < 4.5000000000000001e-109Initial program 38.9%
Taylor expanded in y around inf 61.5%
Taylor expanded in i around inf 47.2%
+-commutative47.2%
mul-1-neg47.2%
unsub-neg47.2%
Simplified47.2%
if 4.5000000000000001e-109 < z < 8.99999999999999973e-22Initial program 28.6%
Taylor expanded in a around inf 38.5%
Taylor expanded in y around inf 62.9%
if 8.99999999999999973e-22 < z < 2.49999999999999992e89Initial program 23.1%
Taylor expanded in j around inf 23.4%
Taylor expanded in y0 around inf 54.5%
if 2.49999999999999992e89 < z < 2.59999999999999979e177Initial program 15.0%
Taylor expanded in y1 around inf 45.4%
Taylor expanded in k around inf 70.4%
if 2.59999999999999979e177 < z Initial program 25.8%
Taylor expanded in b around inf 45.4%
Taylor expanded in y0 around inf 58.8%
Final simplification53.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))
(if (<= x -7.5e+73)
t_1
(if (<= x -1.56e-172)
(* y3 (+ (* z (- (* a y1) (* c y0))) (* y (- (* c y4) (* a y5)))))
(if (<= x 1.35e+115)
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2))))))
t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (x <= -7.5e+73) {
tmp = t_1;
} else if (x <= -1.56e-172) {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))));
} else if (x <= 1.35e+115) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
if (x <= (-7.5d+73)) then
tmp = t_1
else if (x <= (-1.56d-172)) then
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))))
else if (x <= 1.35d+115) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (x <= -7.5e+73) {
tmp = t_1;
} else if (x <= -1.56e-172) {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))));
} else if (x <= 1.35e+115) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) tmp = 0 if x <= -7.5e+73: tmp = t_1 elif x <= -1.56e-172: tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5)))) elif x <= 1.35e+115: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (x <= -7.5e+73) tmp = t_1; elseif (x <= -1.56e-172) tmp = Float64(y3 * Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(y * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (x <= 1.35e+115) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); 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 * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (x <= -7.5e+73) tmp = t_1; elseif (x <= -1.56e-172) tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5)))); elseif (x <= 1.35e+115) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -7.5e+73], t$95$1, If[LessEqual[x, -1.56e-172], N[(y3 * N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.35e+115], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;x \leq -7.5 \cdot 10^{+73}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq -1.56 \cdot 10^{-172}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 1.35 \cdot 10^{+115}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -7.5e73 or 1.35000000000000002e115 < x Initial program 23.4%
Taylor expanded in x around inf 58.0%
if -7.5e73 < x < -1.55999999999999995e-172Initial program 31.4%
Taylor expanded in y3 around -inf 50.6%
Taylor expanded in j around 0 61.1%
if -1.55999999999999995e-172 < x < 1.35000000000000002e115Initial program 38.7%
Taylor expanded in y5 around -inf 49.5%
Final simplification55.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y0 (- (* y3 y5) (* x b))))))
(if (<= y0 -4.2e+147)
t_1
(if (<= y0 -1.6e-201)
(* x (* y (- (* a b) (* c i))))
(if (<= y0 1.8e-217)
(* y1 (* k (- (* y2 y4) (* z i))))
(if (<= y0 1.65e-132)
(* y (* y5 (- (* i k) (* a y3))))
(if (<= y0 1.25e-82)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= y0 1.8e+99) (* j (* t (- (* b y4) (* i y5)))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * ((y3 * y5) - (x * b)));
double tmp;
if (y0 <= -4.2e+147) {
tmp = t_1;
} else if (y0 <= -1.6e-201) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y0 <= 1.8e-217) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else if (y0 <= 1.65e-132) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (y0 <= 1.25e-82) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y0 <= 1.8e+99) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (y0 * ((y3 * y5) - (x * b)))
if (y0 <= (-4.2d+147)) then
tmp = t_1
else if (y0 <= (-1.6d-201)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (y0 <= 1.8d-217) then
tmp = y1 * (k * ((y2 * y4) - (z * i)))
else if (y0 <= 1.65d-132) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else if (y0 <= 1.25d-82) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (y0 <= 1.8d+99) then
tmp = j * (t * ((b * y4) - (i * y5)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * ((y3 * y5) - (x * b)));
double tmp;
if (y0 <= -4.2e+147) {
tmp = t_1;
} else if (y0 <= -1.6e-201) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y0 <= 1.8e-217) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else if (y0 <= 1.65e-132) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (y0 <= 1.25e-82) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y0 <= 1.8e+99) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (y0 * ((y3 * y5) - (x * b))) tmp = 0 if y0 <= -4.2e+147: tmp = t_1 elif y0 <= -1.6e-201: tmp = x * (y * ((a * b) - (c * i))) elif y0 <= 1.8e-217: tmp = y1 * (k * ((y2 * y4) - (z * i))) elif y0 <= 1.65e-132: tmp = y * (y5 * ((i * k) - (a * y3))) elif y0 <= 1.25e-82: tmp = a * (y * ((x * b) - (y3 * y5))) elif y0 <= 1.8e+99: tmp = j * (t * ((b * y4) - (i * y5))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))) tmp = 0.0 if (y0 <= -4.2e+147) tmp = t_1; elseif (y0 <= -1.6e-201) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (y0 <= 1.8e-217) tmp = Float64(y1 * Float64(k * Float64(Float64(y2 * y4) - Float64(z * i)))); elseif (y0 <= 1.65e-132) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); elseif (y0 <= 1.25e-82) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (y0 <= 1.8e+99) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (y0 * ((y3 * y5) - (x * b))); tmp = 0.0; if (y0 <= -4.2e+147) tmp = t_1; elseif (y0 <= -1.6e-201) tmp = x * (y * ((a * b) - (c * i))); elseif (y0 <= 1.8e-217) tmp = y1 * (k * ((y2 * y4) - (z * i))); elseif (y0 <= 1.65e-132) tmp = y * (y5 * ((i * k) - (a * y3))); elseif (y0 <= 1.25e-82) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (y0 <= 1.8e+99) tmp = j * (t * ((b * y4) - (i * y5))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.2e+147], t$95$1, If[LessEqual[y0, -1.6e-201], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.8e-217], N[(y1 * N[(k * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.65e-132], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.25e-82], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.8e+99], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{if}\;y0 \leq -4.2 \cdot 10^{+147}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.6 \cdot 10^{-201}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{-217}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{elif}\;y0 \leq 1.65 \cdot 10^{-132}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 1.25 \cdot 10^{-82}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+99}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -4.20000000000000012e147 or 1.8000000000000001e99 < y0 Initial program 21.3%
Taylor expanded in j around inf 35.7%
Taylor expanded in y0 around inf 55.9%
if -4.20000000000000012e147 < y0 < -1.6000000000000001e-201Initial program 35.6%
Taylor expanded in y around inf 45.2%
Taylor expanded in x around inf 45.5%
*-commutative45.5%
*-commutative45.5%
Simplified45.5%
if -1.6000000000000001e-201 < y0 < 1.79999999999999991e-217Initial program 32.5%
Taylor expanded in y1 around inf 47.9%
Taylor expanded in k around inf 48.6%
if 1.79999999999999991e-217 < y0 < 1.6499999999999999e-132Initial program 60.1%
Taylor expanded in y around inf 47.4%
Taylor expanded in y5 around inf 55.7%
if 1.6499999999999999e-132 < y0 < 1.25e-82Initial program 29.0%
Taylor expanded in a around inf 56.9%
Taylor expanded in y around inf 65.3%
if 1.25e-82 < y0 < 1.8000000000000001e99Initial program 35.4%
Taylor expanded in j around inf 49.2%
Taylor expanded in t around inf 44.4%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -2.2e+234)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= x -3.5e+20)
(* a (* b (- (* x y) (* z t))))
(if (<= x -2e-166)
(* y3 (+ (* z (- (* a y1) (* c y0))) (* y (- (* c y4) (* a y5)))))
(if (<= x -5.2e-289)
(* (* y2 y5) (- (* t a) (* k y0)))
(if (<= x 1.5e+153)
(* j (* t (* y4 (- b (* i (/ y5 y4))))))
(* y3 (* y4 (* y (- c (* j (/ y1 y))))))))))))
double code(double x, double y, double z, double t, double 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.2e+234) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -3.5e+20) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= -2e-166) {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))));
} else if (x <= -5.2e-289) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 1.5e+153) {
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))));
} else {
tmp = y3 * (y4 * (y * (c - (j * (y1 / y)))));
}
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.2d+234)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (x <= (-3.5d+20)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (x <= (-2d-166)) then
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))))
else if (x <= (-5.2d-289)) then
tmp = (y2 * y5) * ((t * a) - (k * y0))
else if (x <= 1.5d+153) then
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))))
else
tmp = y3 * (y4 * (y * (c - (j * (y1 / y)))))
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.2e+234) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -3.5e+20) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= -2e-166) {
tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5))));
} else if (x <= -5.2e-289) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 1.5e+153) {
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))));
} else {
tmp = y3 * (y4 * (y * (c - (j * (y1 / y)))));
}
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.2e+234: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif x <= -3.5e+20: tmp = a * (b * ((x * y) - (z * t))) elif x <= -2e-166: tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5)))) elif x <= -5.2e-289: tmp = (y2 * y5) * ((t * a) - (k * y0)) elif x <= 1.5e+153: tmp = j * (t * (y4 * (b - (i * (y5 / y4))))) else: tmp = y3 * (y4 * (y * (c - (j * (y1 / y))))) 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.2e+234) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (x <= -3.5e+20) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (x <= -2e-166) tmp = Float64(y3 * Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(y * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (x <= -5.2e-289) tmp = Float64(Float64(y2 * y5) * Float64(Float64(t * a) - Float64(k * y0))); elseif (x <= 1.5e+153) tmp = Float64(j * Float64(t * Float64(y4 * Float64(b - Float64(i * Float64(y5 / y4)))))); else tmp = Float64(y3 * Float64(y4 * Float64(y * Float64(c - Float64(j * Float64(y1 / y)))))); 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.2e+234) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (x <= -3.5e+20) tmp = a * (b * ((x * y) - (z * t))); elseif (x <= -2e-166) tmp = y3 * ((z * ((a * y1) - (c * y0))) + (y * ((c * y4) - (a * y5)))); elseif (x <= -5.2e-289) tmp = (y2 * y5) * ((t * a) - (k * y0)); elseif (x <= 1.5e+153) tmp = j * (t * (y4 * (b - (i * (y5 / y4))))); else tmp = y3 * (y4 * (y * (c - (j * (y1 / y))))); 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, -2.2e+234], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.5e+20], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2e-166], N[(y3 * N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.2e-289], N[(N[(y2 * y5), $MachinePrecision] * N[(N[(t * a), $MachinePrecision] - N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.5e+153], N[(j * N[(t * N[(y4 * N[(b - N[(i * N[(y5 / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y3 * N[(y4 * N[(y * N[(c - N[(j * N[(y1 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.2 \cdot 10^{+234}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;x \leq -3.5 \cdot 10^{+20}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;x \leq -2 \cdot 10^{-166}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -5.2 \cdot 10^{-289}:\\
\;\;\;\;\left(y2 \cdot y5\right) \cdot \left(t \cdot a - k \cdot y0\right)\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{+153}:\\
\;\;\;\;j \cdot \left(t \cdot \left(y4 \cdot \left(b - i \cdot \frac{y5}{y4}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(y4 \cdot \left(y \cdot \left(c - j \cdot \frac{y1}{y}\right)\right)\right)\\
\end{array}
\end{array}
if x < -2.20000000000000007e234Initial program 16.2%
Taylor expanded in j around inf 21.8%
Taylor expanded in y0 around inf 64.0%
if -2.20000000000000007e234 < x < -3.5e20Initial program 34.9%
Taylor expanded in a around inf 58.3%
Taylor expanded in b around inf 56.4%
if -3.5e20 < x < -2.00000000000000008e-166Initial program 35.0%
Taylor expanded in y3 around -inf 58.0%
Taylor expanded in j around 0 68.1%
if -2.00000000000000008e-166 < x < -5.1999999999999998e-289Initial program 45.3%
Taylor expanded in y5 around -inf 55.5%
Taylor expanded in y2 around inf 51.6%
associate-*r*56.2%
*-commutative56.2%
Simplified56.2%
if -5.1999999999999998e-289 < x < 1.50000000000000009e153Initial program 35.2%
Taylor expanded in j around inf 43.0%
Taylor expanded in t around inf 40.4%
Taylor expanded in y4 around inf 45.2%
mul-1-neg45.2%
unsub-neg45.2%
associate-/l*47.3%
Simplified47.3%
if 1.50000000000000009e153 < x Initial program 13.7%
Taylor expanded in y3 around -inf 25.1%
Taylor expanded in y4 around inf 41.6%
Taylor expanded in y around inf 44.2%
associate-/l*49.5%
Simplified49.5%
Final simplification54.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -3.8e+234)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= x -1.26e+28)
(* a (* b (- (* x y) (* z t))))
(if (<= x -6.8e-161)
(* y3 (* c (- (* y y4) (* z y0))))
(if (<= x -5.6e-286)
(* (* y2 y5) (- (* t a) (* k y0)))
(if (<= x 2.6e+153)
(* j (* t (* y4 (- b (* i (/ y5 y4))))))
(* y3 (* y4 (* y (- c (* j (/ y1 y))))))))))))
double code(double x, double y, double z, double t, double 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.8e+234) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -1.26e+28) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= -6.8e-161) {
tmp = y3 * (c * ((y * y4) - (z * y0)));
} else if (x <= -5.6e-286) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 2.6e+153) {
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))));
} else {
tmp = y3 * (y4 * (y * (c - (j * (y1 / y)))));
}
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.8d+234)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (x <= (-1.26d+28)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (x <= (-6.8d-161)) then
tmp = y3 * (c * ((y * y4) - (z * y0)))
else if (x <= (-5.6d-286)) then
tmp = (y2 * y5) * ((t * a) - (k * y0))
else if (x <= 2.6d+153) then
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))))
else
tmp = y3 * (y4 * (y * (c - (j * (y1 / y)))))
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.8e+234) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -1.26e+28) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= -6.8e-161) {
tmp = y3 * (c * ((y * y4) - (z * y0)));
} else if (x <= -5.6e-286) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 2.6e+153) {
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))));
} else {
tmp = y3 * (y4 * (y * (c - (j * (y1 / y)))));
}
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.8e+234: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif x <= -1.26e+28: tmp = a * (b * ((x * y) - (z * t))) elif x <= -6.8e-161: tmp = y3 * (c * ((y * y4) - (z * y0))) elif x <= -5.6e-286: tmp = (y2 * y5) * ((t * a) - (k * y0)) elif x <= 2.6e+153: tmp = j * (t * (y4 * (b - (i * (y5 / y4))))) else: tmp = y3 * (y4 * (y * (c - (j * (y1 / y))))) 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.8e+234) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (x <= -1.26e+28) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (x <= -6.8e-161) tmp = Float64(y3 * Float64(c * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (x <= -5.6e-286) tmp = Float64(Float64(y2 * y5) * Float64(Float64(t * a) - Float64(k * y0))); elseif (x <= 2.6e+153) tmp = Float64(j * Float64(t * Float64(y4 * Float64(b - Float64(i * Float64(y5 / y4)))))); else tmp = Float64(y3 * Float64(y4 * Float64(y * Float64(c - Float64(j * Float64(y1 / y)))))); 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.8e+234) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (x <= -1.26e+28) tmp = a * (b * ((x * y) - (z * t))); elseif (x <= -6.8e-161) tmp = y3 * (c * ((y * y4) - (z * y0))); elseif (x <= -5.6e-286) tmp = (y2 * y5) * ((t * a) - (k * y0)); elseif (x <= 2.6e+153) tmp = j * (t * (y4 * (b - (i * (y5 / y4))))); else tmp = y3 * (y4 * (y * (c - (j * (y1 / y))))); 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.8e+234], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.26e+28], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -6.8e-161], N[(y3 * N[(c * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.6e-286], N[(N[(y2 * y5), $MachinePrecision] * N[(N[(t * a), $MachinePrecision] - N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.6e+153], N[(j * N[(t * N[(y4 * N[(b - N[(i * N[(y5 / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y3 * N[(y4 * N[(y * N[(c - N[(j * N[(y1 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.8 \cdot 10^{+234}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;x \leq -1.26 \cdot 10^{+28}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;x \leq -6.8 \cdot 10^{-161}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -5.6 \cdot 10^{-286}:\\
\;\;\;\;\left(y2 \cdot y5\right) \cdot \left(t \cdot a - k \cdot y0\right)\\
\mathbf{elif}\;x \leq 2.6 \cdot 10^{+153}:\\
\;\;\;\;j \cdot \left(t \cdot \left(y4 \cdot \left(b - i \cdot \frac{y5}{y4}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(y4 \cdot \left(y \cdot \left(c - j \cdot \frac{y1}{y}\right)\right)\right)\\
\end{array}
\end{array}
if x < -3.8e234Initial program 16.2%
Taylor expanded in j around inf 21.8%
Taylor expanded in y0 around inf 64.0%
if -3.8e234 < x < -1.26e28Initial program 34.9%
Taylor expanded in a around inf 58.3%
Taylor expanded in b around inf 56.4%
if -1.26e28 < x < -6.79999999999999964e-161Initial program 35.0%
Taylor expanded in y3 around -inf 58.0%
Taylor expanded in c around inf 53.3%
if -6.79999999999999964e-161 < x < -5.6e-286Initial program 45.3%
Taylor expanded in y5 around -inf 55.5%
Taylor expanded in y2 around inf 51.6%
associate-*r*56.2%
*-commutative56.2%
Simplified56.2%
if -5.6e-286 < x < 2.5999999999999999e153Initial program 35.2%
Taylor expanded in j around inf 43.0%
Taylor expanded in t around inf 40.4%
Taylor expanded in y4 around inf 45.2%
mul-1-neg45.2%
unsub-neg45.2%
associate-/l*47.3%
Simplified47.3%
if 2.5999999999999999e153 < x Initial program 13.7%
Taylor expanded in y3 around -inf 25.1%
Taylor expanded in y4 around inf 41.6%
Taylor expanded in y around inf 44.2%
associate-/l*49.5%
Simplified49.5%
Final simplification52.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -2.6e+234)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= x -5e+27)
(* a (* b (- (* x y) (* z t))))
(if (<= x -9.2e-163)
(* y3 (* c (- (* y y4) (* z y0))))
(if (<= x -1.4e-288)
(* (* y2 y5) (- (* t a) (* k y0)))
(if (<= x 4.8e+143)
(* j (* t (* y4 (- b (* i (/ y5 y4))))))
(* j (* 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 tmp;
if (x <= -2.6e+234) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -5e+27) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= -9.2e-163) {
tmp = y3 * (c * ((y * y4) - (z * y0)));
} else if (x <= -1.4e-288) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 4.8e+143) {
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))));
} else {
tmp = j * (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) :: tmp
if (x <= (-2.6d+234)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (x <= (-5d+27)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (x <= (-9.2d-163)) then
tmp = y3 * (c * ((y * y4) - (z * y0)))
else if (x <= (-1.4d-288)) then
tmp = (y2 * y5) * ((t * a) - (k * y0))
else if (x <= 4.8d+143) then
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))))
else
tmp = j * (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 tmp;
if (x <= -2.6e+234) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -5e+27) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= -9.2e-163) {
tmp = y3 * (c * ((y * y4) - (z * y0)));
} else if (x <= -1.4e-288) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (x <= 4.8e+143) {
tmp = j * (t * (y4 * (b - (i * (y5 / y4)))));
} else {
tmp = j * (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): tmp = 0 if x <= -2.6e+234: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif x <= -5e+27: tmp = a * (b * ((x * y) - (z * t))) elif x <= -9.2e-163: tmp = y3 * (c * ((y * y4) - (z * y0))) elif x <= -1.4e-288: tmp = (y2 * y5) * ((t * a) - (k * y0)) elif x <= 4.8e+143: tmp = j * (t * (y4 * (b - (i * (y5 / y4))))) else: tmp = j * (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) tmp = 0.0 if (x <= -2.6e+234) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (x <= -5e+27) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (x <= -9.2e-163) tmp = Float64(y3 * Float64(c * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (x <= -1.4e-288) tmp = Float64(Float64(y2 * y5) * Float64(Float64(t * a) - Float64(k * y0))); elseif (x <= 4.8e+143) tmp = Float64(j * Float64(t * Float64(y4 * Float64(b - Float64(i * Float64(y5 / y4)))))); else tmp = Float64(j * 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) tmp = 0.0; if (x <= -2.6e+234) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (x <= -5e+27) tmp = a * (b * ((x * y) - (z * t))); elseif (x <= -9.2e-163) tmp = y3 * (c * ((y * y4) - (z * y0))); elseif (x <= -1.4e-288) tmp = (y2 * y5) * ((t * a) - (k * y0)); elseif (x <= 4.8e+143) tmp = j * (t * (y4 * (b - (i * (y5 / y4))))); else tmp = j * (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_] := If[LessEqual[x, -2.6e+234], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5e+27], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -9.2e-163], N[(y3 * N[(c * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.4e-288], N[(N[(y2 * y5), $MachinePrecision] * N[(N[(t * a), $MachinePrecision] - N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.8e+143], N[(j * N[(t * N[(y4 * N[(b - N[(i * N[(y5 / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.6 \cdot 10^{+234}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;x \leq -5 \cdot 10^{+27}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;x \leq -9.2 \cdot 10^{-163}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -1.4 \cdot 10^{-288}:\\
\;\;\;\;\left(y2 \cdot y5\right) \cdot \left(t \cdot a - k \cdot y0\right)\\
\mathbf{elif}\;x \leq 4.8 \cdot 10^{+143}:\\
\;\;\;\;j \cdot \left(t \cdot \left(y4 \cdot \left(b - i \cdot \frac{y5}{y4}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if x < -2.60000000000000015e234Initial program 16.2%
Taylor expanded in j around inf 21.8%
Taylor expanded in y0 around inf 64.0%
if -2.60000000000000015e234 < x < -4.99999999999999979e27Initial program 34.9%
Taylor expanded in a around inf 58.3%
Taylor expanded in b around inf 56.4%
if -4.99999999999999979e27 < x < -9.1999999999999997e-163Initial program 35.0%
Taylor expanded in y3 around -inf 58.0%
Taylor expanded in c around inf 53.3%
if -9.1999999999999997e-163 < x < -1.4e-288Initial program 45.3%
Taylor expanded in y5 around -inf 55.5%
Taylor expanded in y2 around inf 51.6%
associate-*r*56.2%
*-commutative56.2%
Simplified56.2%
if -1.4e-288 < x < 4.79999999999999959e143Initial program 34.9%
Taylor expanded in j around inf 42.8%
Taylor expanded in t around inf 41.2%
Taylor expanded in y4 around inf 46.1%
mul-1-neg46.1%
unsub-neg46.1%
associate-/l*48.3%
Simplified48.3%
if 4.79999999999999959e143 < x Initial program 15.6%
Taylor expanded in j around inf 33.6%
Taylor expanded in x around inf 46.6%
Final simplification51.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -4e+98)
(* c (* (* z y3) (- y0)))
(if (<= y3 -3.9e-212)
(* a (* (* x y) b))
(if (<= y3 -4.3e-294)
(* j (* i (* t (- y5))))
(if (<= y3 1.05e-145)
(* (* a b) (* t (- z)))
(if (<= y3 4.5e+22) (* a (* y5 (* t y2))) (* 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 (y3 <= -4e+98) {
tmp = c * ((z * y3) * -y0);
} else if (y3 <= -3.9e-212) {
tmp = a * ((x * y) * b);
} else if (y3 <= -4.3e-294) {
tmp = j * (i * (t * -y5));
} else if (y3 <= 1.05e-145) {
tmp = (a * b) * (t * -z);
} else if (y3 <= 4.5e+22) {
tmp = a * (y5 * (t * y2));
} 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 (y3 <= (-4d+98)) then
tmp = c * ((z * y3) * -y0)
else if (y3 <= (-3.9d-212)) then
tmp = a * ((x * y) * b)
else if (y3 <= (-4.3d-294)) then
tmp = j * (i * (t * -y5))
else if (y3 <= 1.05d-145) then
tmp = (a * b) * (t * -z)
else if (y3 <= 4.5d+22) then
tmp = a * (y5 * (t * y2))
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 (y3 <= -4e+98) {
tmp = c * ((z * y3) * -y0);
} else if (y3 <= -3.9e-212) {
tmp = a * ((x * y) * b);
} else if (y3 <= -4.3e-294) {
tmp = j * (i * (t * -y5));
} else if (y3 <= 1.05e-145) {
tmp = (a * b) * (t * -z);
} else if (y3 <= 4.5e+22) {
tmp = a * (y5 * (t * y2));
} 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 y3 <= -4e+98: tmp = c * ((z * y3) * -y0) elif y3 <= -3.9e-212: tmp = a * ((x * y) * b) elif y3 <= -4.3e-294: tmp = j * (i * (t * -y5)) elif y3 <= 1.05e-145: tmp = (a * b) * (t * -z) elif y3 <= 4.5e+22: tmp = a * (y5 * (t * y2)) 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 (y3 <= -4e+98) tmp = Float64(c * Float64(Float64(z * y3) * Float64(-y0))); elseif (y3 <= -3.9e-212) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (y3 <= -4.3e-294) tmp = Float64(j * Float64(i * Float64(t * Float64(-y5)))); elseif (y3 <= 1.05e-145) tmp = Float64(Float64(a * b) * Float64(t * Float64(-z))); elseif (y3 <= 4.5e+22) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 (y3 <= -4e+98) tmp = c * ((z * y3) * -y0); elseif (y3 <= -3.9e-212) tmp = a * ((x * y) * b); elseif (y3 <= -4.3e-294) tmp = j * (i * (t * -y5)); elseif (y3 <= 1.05e-145) tmp = (a * b) * (t * -z); elseif (y3 <= 4.5e+22) tmp = a * (y5 * (t * y2)); 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[LessEqual[y3, -4e+98], N[(c * N[(N[(z * y3), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.9e-212], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4.3e-294], N[(j * N[(i * N[(t * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.05e-145], N[(N[(a * b), $MachinePrecision] * N[(t * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.5e+22], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -4 \cdot 10^{+98}:\\
\;\;\;\;c \cdot \left(\left(z \cdot y3\right) \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;y3 \leq -3.9 \cdot 10^{-212}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;y3 \leq -4.3 \cdot 10^{-294}:\\
\;\;\;\;j \cdot \left(i \cdot \left(t \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 1.05 \cdot 10^{-145}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(t \cdot \left(-z\right)\right)\\
\mathbf{elif}\;y3 \leq 4.5 \cdot 10^{+22}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -3.99999999999999999e98Initial program 25.8%
Taylor expanded in y3 around -inf 58.6%
Taylor expanded in z around inf 46.1%
Taylor expanded in c around inf 44.2%
mul-1-neg44.2%
distribute-rgt-neg-in44.2%
*-commutative44.2%
distribute-rgt-neg-in44.2%
*-commutative44.2%
Simplified44.2%
if -3.99999999999999999e98 < y3 < -3.9e-212Initial program 36.9%
Taylor expanded in a around inf 44.5%
Taylor expanded in b around inf 40.9%
Taylor expanded in x around inf 35.6%
if -3.9e-212 < y3 < -4.30000000000000019e-294Initial program 58.6%
Taylor expanded in j around inf 46.2%
Taylor expanded in t around inf 47.0%
Taylor expanded in b around 0 42.5%
associate-*r*42.5%
mul-1-neg42.5%
Simplified42.5%
if -4.30000000000000019e-294 < y3 < 1.04999999999999996e-145Initial program 41.8%
Taylor expanded in a around inf 48.0%
Taylor expanded in b around inf 43.4%
Taylor expanded in x around 0 39.9%
mul-1-neg39.9%
associate-*r*39.9%
distribute-rgt-neg-in39.9%
distribute-rgt-neg-in39.9%
Simplified39.9%
if 1.04999999999999996e-145 < y3 < 4.4999999999999998e22Initial program 26.7%
Taylor expanded in a around inf 43.8%
Taylor expanded in y5 around inf 38.3%
Taylor expanded in t around inf 34.7%
associate-*r*34.7%
*-commutative34.7%
Simplified34.7%
if 4.4999999999999998e22 < y3 Initial program 16.2%
Taylor expanded in a around inf 41.3%
Taylor expanded in y1 around inf 43.6%
associate-*r*43.6%
neg-mul-143.6%
Simplified43.6%
Taylor expanded in x around 0 40.4%
*-commutative40.4%
Simplified40.4%
Final simplification39.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -7.5e+97)
(* c (* (* z y3) (- y0)))
(if (<= y3 -8.2e-210)
(* a (* (* x y) b))
(if (<= y3 -2.55e-298)
(* j (* i (* t (- y5))))
(if (<= y3 7e-146)
(* a (* b (* t (- z))))
(if (<= y3 9.6e+25) (* a (* y5 (* t y2))) (* 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 (y3 <= -7.5e+97) {
tmp = c * ((z * y3) * -y0);
} else if (y3 <= -8.2e-210) {
tmp = a * ((x * y) * b);
} else if (y3 <= -2.55e-298) {
tmp = j * (i * (t * -y5));
} else if (y3 <= 7e-146) {
tmp = a * (b * (t * -z));
} else if (y3 <= 9.6e+25) {
tmp = a * (y5 * (t * y2));
} 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 (y3 <= (-7.5d+97)) then
tmp = c * ((z * y3) * -y0)
else if (y3 <= (-8.2d-210)) then
tmp = a * ((x * y) * b)
else if (y3 <= (-2.55d-298)) then
tmp = j * (i * (t * -y5))
else if (y3 <= 7d-146) then
tmp = a * (b * (t * -z))
else if (y3 <= 9.6d+25) then
tmp = a * (y5 * (t * y2))
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 (y3 <= -7.5e+97) {
tmp = c * ((z * y3) * -y0);
} else if (y3 <= -8.2e-210) {
tmp = a * ((x * y) * b);
} else if (y3 <= -2.55e-298) {
tmp = j * (i * (t * -y5));
} else if (y3 <= 7e-146) {
tmp = a * (b * (t * -z));
} else if (y3 <= 9.6e+25) {
tmp = a * (y5 * (t * y2));
} 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 y3 <= -7.5e+97: tmp = c * ((z * y3) * -y0) elif y3 <= -8.2e-210: tmp = a * ((x * y) * b) elif y3 <= -2.55e-298: tmp = j * (i * (t * -y5)) elif y3 <= 7e-146: tmp = a * (b * (t * -z)) elif y3 <= 9.6e+25: tmp = a * (y5 * (t * y2)) 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 (y3 <= -7.5e+97) tmp = Float64(c * Float64(Float64(z * y3) * Float64(-y0))); elseif (y3 <= -8.2e-210) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (y3 <= -2.55e-298) tmp = Float64(j * Float64(i * Float64(t * Float64(-y5)))); elseif (y3 <= 7e-146) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (y3 <= 9.6e+25) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 (y3 <= -7.5e+97) tmp = c * ((z * y3) * -y0); elseif (y3 <= -8.2e-210) tmp = a * ((x * y) * b); elseif (y3 <= -2.55e-298) tmp = j * (i * (t * -y5)); elseif (y3 <= 7e-146) tmp = a * (b * (t * -z)); elseif (y3 <= 9.6e+25) tmp = a * (y5 * (t * y2)); 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[LessEqual[y3, -7.5e+97], N[(c * N[(N[(z * y3), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -8.2e-210], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.55e-298], N[(j * N[(i * N[(t * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 7e-146], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9.6e+25], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -7.5 \cdot 10^{+97}:\\
\;\;\;\;c \cdot \left(\left(z \cdot y3\right) \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;y3 \leq -8.2 \cdot 10^{-210}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;y3 \leq -2.55 \cdot 10^{-298}:\\
\;\;\;\;j \cdot \left(i \cdot \left(t \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 7 \cdot 10^{-146}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 9.6 \cdot 10^{+25}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -7.5000000000000004e97Initial program 25.8%
Taylor expanded in y3 around -inf 58.6%
Taylor expanded in z around inf 46.1%
Taylor expanded in c around inf 44.2%
mul-1-neg44.2%
distribute-rgt-neg-in44.2%
*-commutative44.2%
distribute-rgt-neg-in44.2%
*-commutative44.2%
Simplified44.2%
if -7.5000000000000004e97 < y3 < -8.19999999999999982e-210Initial program 36.9%
Taylor expanded in a around inf 44.5%
Taylor expanded in b around inf 40.9%
Taylor expanded in x around inf 35.6%
if -8.19999999999999982e-210 < y3 < -2.5500000000000002e-298Initial program 58.6%
Taylor expanded in j around inf 46.2%
Taylor expanded in t around inf 47.0%
Taylor expanded in b around 0 42.5%
associate-*r*42.5%
mul-1-neg42.5%
Simplified42.5%
if -2.5500000000000002e-298 < y3 < 7.0000000000000003e-146Initial program 41.8%
Taylor expanded in a around inf 48.0%
Taylor expanded in b around inf 43.4%
Taylor expanded in x around 0 39.9%
associate-*r*39.9%
neg-mul-139.9%
Simplified39.9%
if 7.0000000000000003e-146 < y3 < 9.59999999999999984e25Initial program 26.7%
Taylor expanded in a around inf 43.8%
Taylor expanded in y5 around inf 38.3%
Taylor expanded in t around inf 34.7%
associate-*r*34.7%
*-commutative34.7%
Simplified34.7%
if 9.59999999999999984e25 < y3 Initial program 16.2%
Taylor expanded in a around inf 41.3%
Taylor expanded in y1 around inf 43.6%
associate-*r*43.6%
neg-mul-143.6%
Simplified43.6%
Taylor expanded in x around 0 40.4%
*-commutative40.4%
Simplified40.4%
Final simplification39.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y0 (- (* y3 y5) (* x b))))))
(if (<= y0 -2.35e+149)
t_1
(if (<= y0 -1.35e-212)
(* x (* y (- (* a b) (* c i))))
(if (<= y0 1.06e-91)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y0 4.2e+102) (* j (* t (- (* b y4) (* i y5)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * ((y3 * y5) - (x * b)));
double tmp;
if (y0 <= -2.35e+149) {
tmp = t_1;
} else if (y0 <= -1.35e-212) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y0 <= 1.06e-91) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y0 <= 4.2e+102) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (y0 * ((y3 * y5) - (x * b)))
if (y0 <= (-2.35d+149)) then
tmp = t_1
else if (y0 <= (-1.35d-212)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (y0 <= 1.06d-91) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y0 <= 4.2d+102) then
tmp = j * (t * ((b * y4) - (i * y5)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * ((y3 * y5) - (x * b)));
double tmp;
if (y0 <= -2.35e+149) {
tmp = t_1;
} else if (y0 <= -1.35e-212) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y0 <= 1.06e-91) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y0 <= 4.2e+102) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (y0 * ((y3 * y5) - (x * b))) tmp = 0 if y0 <= -2.35e+149: tmp = t_1 elif y0 <= -1.35e-212: tmp = x * (y * ((a * b) - (c * i))) elif y0 <= 1.06e-91: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y0 <= 4.2e+102: tmp = j * (t * ((b * y4) - (i * y5))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))) tmp = 0.0 if (y0 <= -2.35e+149) tmp = t_1; elseif (y0 <= -1.35e-212) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (y0 <= 1.06e-91) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y0 <= 4.2e+102) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (y0 * ((y3 * y5) - (x * b))); tmp = 0.0; if (y0 <= -2.35e+149) tmp = t_1; elseif (y0 <= -1.35e-212) tmp = x * (y * ((a * b) - (c * i))); elseif (y0 <= 1.06e-91) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y0 <= 4.2e+102) tmp = j * (t * ((b * y4) - (i * y5))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.35e+149], t$95$1, If[LessEqual[y0, -1.35e-212], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.06e-91], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.2e+102], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{if}\;y0 \leq -2.35 \cdot 10^{+149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.35 \cdot 10^{-212}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y0 \leq 1.06 \cdot 10^{-91}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 4.2 \cdot 10^{+102}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -2.3500000000000002e149 or 4.20000000000000003e102 < y0 Initial program 21.3%
Taylor expanded in j around inf 35.7%
Taylor expanded in y0 around inf 55.9%
if -2.3500000000000002e149 < y0 < -1.34999999999999991e-212Initial program 37.0%
Taylor expanded in y around inf 44.7%
Taylor expanded in x around inf 46.4%
*-commutative46.4%
*-commutative46.4%
Simplified46.4%
if -1.34999999999999991e-212 < y0 < 1.06000000000000006e-91Initial program 37.6%
Taylor expanded in a around inf 45.8%
Taylor expanded in y5 around inf 38.5%
if 1.06000000000000006e-91 < y0 < 4.20000000000000003e102Initial program 33.5%
Taylor expanded in j around inf 46.7%
Taylor expanded in t around inf 42.1%
Final simplification46.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (- (* x y) (* z t))))))
(if (<= y2 -6.6e+140)
(* a (* y1 (* x (- y2))))
(if (<= y2 -1.15e-79)
t_1
(if (<= y2 4.7e-175)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 6.6e+61) t_1 (* a (* y5 (- (* t y2) (* y 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 t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y2 <= -6.6e+140) {
tmp = a * (y1 * (x * -y2));
} else if (y2 <= -1.15e-79) {
tmp = t_1;
} else if (y2 <= 4.7e-175) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 6.6e+61) {
tmp = t_1;
} else {
tmp = a * (y5 * ((t * y2) - (y * 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) :: t_1
real(8) :: tmp
t_1 = a * (b * ((x * y) - (z * t)))
if (y2 <= (-6.6d+140)) then
tmp = a * (y1 * (x * -y2))
else if (y2 <= (-1.15d-79)) then
tmp = t_1
else if (y2 <= 4.7d-175) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 6.6d+61) then
tmp = t_1
else
tmp = a * (y5 * ((t * y2) - (y * 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 t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y2 <= -6.6e+140) {
tmp = a * (y1 * (x * -y2));
} else if (y2 <= -1.15e-79) {
tmp = t_1;
} else if (y2 <= 4.7e-175) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 6.6e+61) {
tmp = t_1;
} else {
tmp = a * (y5 * ((t * y2) - (y * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if y2 <= -6.6e+140: tmp = a * (y1 * (x * -y2)) elif y2 <= -1.15e-79: tmp = t_1 elif y2 <= 4.7e-175: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 6.6e+61: tmp = t_1 else: tmp = a * (y5 * ((t * y2) - (y * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y2 <= -6.6e+140) tmp = Float64(a * Float64(y1 * Float64(x * Float64(-y2)))); elseif (y2 <= -1.15e-79) tmp = t_1; elseif (y2 <= 4.7e-175) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 6.6e+61) tmp = t_1; else tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * 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) t_1 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (y2 <= -6.6e+140) tmp = a * (y1 * (x * -y2)); elseif (y2 <= -1.15e-79) tmp = t_1; elseif (y2 <= 4.7e-175) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 6.6e+61) tmp = t_1; else tmp = a * (y5 * ((t * y2) - (y * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -6.6e+140], N[(a * N[(y1 * N[(x * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.15e-79], t$95$1, If[LessEqual[y2, 4.7e-175], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.6e+61], t$95$1, N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y2 \leq -6.6 \cdot 10^{+140}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(x \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-79}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 4.7 \cdot 10^{-175}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 6.6 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y2 < -6.6000000000000003e140Initial program 14.6%
Taylor expanded in a around inf 39.2%
Taylor expanded in y1 around inf 49.3%
associate-*r*49.3%
neg-mul-149.3%
Simplified49.3%
Taylor expanded in x around inf 49.4%
if -6.6000000000000003e140 < y2 < -1.15000000000000006e-79 or 4.69999999999999998e-175 < y2 < 6.5999999999999995e61Initial program 37.7%
Taylor expanded in a around inf 42.1%
Taylor expanded in b around inf 40.6%
if -1.15000000000000006e-79 < y2 < 4.69999999999999998e-175Initial program 34.0%
Taylor expanded in j around inf 44.7%
Taylor expanded in t around inf 47.5%
if 6.5999999999999995e61 < y2 Initial program 28.6%
Taylor expanded in a around inf 47.9%
Taylor expanded in y5 around inf 55.2%
Final simplification46.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (- (* x y) (* z t))))))
(if (<= y2 -9.4e+139)
(* a (* y1 (* x (- y2))))
(if (<= y2 -9.6e-77)
t_1
(if (<= y2 2e-96)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y2 5.6e+60) t_1 (* a (* y5 (- (* t y2) (* y 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 t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y2 <= -9.4e+139) {
tmp = a * (y1 * (x * -y2));
} else if (y2 <= -9.6e-77) {
tmp = t_1;
} else if (y2 <= 2e-96) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 5.6e+60) {
tmp = t_1;
} else {
tmp = a * (y5 * ((t * y2) - (y * 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) :: t_1
real(8) :: tmp
t_1 = a * (b * ((x * y) - (z * t)))
if (y2 <= (-9.4d+139)) then
tmp = a * (y1 * (x * -y2))
else if (y2 <= (-9.6d-77)) then
tmp = t_1
else if (y2 <= 2d-96) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y2 <= 5.6d+60) then
tmp = t_1
else
tmp = a * (y5 * ((t * y2) - (y * 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 t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y2 <= -9.4e+139) {
tmp = a * (y1 * (x * -y2));
} else if (y2 <= -9.6e-77) {
tmp = t_1;
} else if (y2 <= 2e-96) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 5.6e+60) {
tmp = t_1;
} else {
tmp = a * (y5 * ((t * y2) - (y * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if y2 <= -9.4e+139: tmp = a * (y1 * (x * -y2)) elif y2 <= -9.6e-77: tmp = t_1 elif y2 <= 2e-96: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y2 <= 5.6e+60: tmp = t_1 else: tmp = a * (y5 * ((t * y2) - (y * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y2 <= -9.4e+139) tmp = Float64(a * Float64(y1 * Float64(x * Float64(-y2)))); elseif (y2 <= -9.6e-77) tmp = t_1; elseif (y2 <= 2e-96) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y2 <= 5.6e+60) tmp = t_1; else tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * 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) t_1 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (y2 <= -9.4e+139) tmp = a * (y1 * (x * -y2)); elseif (y2 <= -9.6e-77) tmp = t_1; elseif (y2 <= 2e-96) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y2 <= 5.6e+60) tmp = t_1; else tmp = a * (y5 * ((t * y2) - (y * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -9.4e+139], N[(a * N[(y1 * N[(x * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -9.6e-77], t$95$1, If[LessEqual[y2, 2e-96], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.6e+60], t$95$1, N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y2 \leq -9.4 \cdot 10^{+139}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(x \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -9.6 \cdot 10^{-77}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2 \cdot 10^{-96}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 5.6 \cdot 10^{+60}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y2 < -9.4000000000000002e139Initial program 14.6%
Taylor expanded in a around inf 39.2%
Taylor expanded in y1 around inf 49.3%
associate-*r*49.3%
neg-mul-149.3%
Simplified49.3%
Taylor expanded in x around inf 49.4%
if -9.4000000000000002e139 < y2 < -9.59999999999999961e-77 or 1.9999999999999998e-96 < y2 < 5.6e60Initial program 36.0%
Taylor expanded in a around inf 41.4%
Taylor expanded in b around inf 42.1%
if -9.59999999999999961e-77 < y2 < 1.9999999999999998e-96Initial program 36.1%
Taylor expanded in a around inf 38.6%
Taylor expanded in y3 around inf 40.2%
if 5.6e60 < y2 Initial program 28.6%
Taylor expanded in a around inf 47.9%
Taylor expanded in y5 around inf 55.2%
Final simplification44.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= b -1.3e+52)
(* a (* (* t b) (- z)))
(if (<= b 1.66e-268)
(* y3 (* y4 (* y c)))
(if (<= b 1.7e+108)
(* a (* y1 (* z y3)))
(if (<= b 2.35e+216) (* c (* (* z y3) (- y0))) (* 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 (b <= -1.3e+52) {
tmp = a * ((t * b) * -z);
} else if (b <= 1.66e-268) {
tmp = y3 * (y4 * (y * c));
} else if (b <= 1.7e+108) {
tmp = a * (y1 * (z * y3));
} else if (b <= 2.35e+216) {
tmp = c * ((z * y3) * -y0);
} 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 (b <= (-1.3d+52)) then
tmp = a * ((t * b) * -z)
else if (b <= 1.66d-268) then
tmp = y3 * (y4 * (y * c))
else if (b <= 1.7d+108) then
tmp = a * (y1 * (z * y3))
else if (b <= 2.35d+216) then
tmp = c * ((z * y3) * -y0)
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 (b <= -1.3e+52) {
tmp = a * ((t * b) * -z);
} else if (b <= 1.66e-268) {
tmp = y3 * (y4 * (y * c));
} else if (b <= 1.7e+108) {
tmp = a * (y1 * (z * y3));
} else if (b <= 2.35e+216) {
tmp = c * ((z * y3) * -y0);
} 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 b <= -1.3e+52: tmp = a * ((t * b) * -z) elif b <= 1.66e-268: tmp = y3 * (y4 * (y * c)) elif b <= 1.7e+108: tmp = a * (y1 * (z * y3)) elif b <= 2.35e+216: tmp = c * ((z * y3) * -y0) 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 (b <= -1.3e+52) tmp = Float64(a * Float64(Float64(t * b) * Float64(-z))); elseif (b <= 1.66e-268) tmp = Float64(y3 * Float64(y4 * Float64(y * c))); elseif (b <= 1.7e+108) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (b <= 2.35e+216) tmp = Float64(c * Float64(Float64(z * y3) * Float64(-y0))); 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 (b <= -1.3e+52) tmp = a * ((t * b) * -z); elseif (b <= 1.66e-268) tmp = y3 * (y4 * (y * c)); elseif (b <= 1.7e+108) tmp = a * (y1 * (z * y3)); elseif (b <= 2.35e+216) tmp = c * ((z * y3) * -y0); 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[b, -1.3e+52], N[(a * N[(N[(t * b), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.66e-268], N[(y3 * N[(y4 * N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.7e+108], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.35e+216], N[(c * N[(N[(z * y3), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.3 \cdot 10^{+52}:\\
\;\;\;\;a \cdot \left(\left(t \cdot b\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;b \leq 1.66 \cdot 10^{-268}:\\
\;\;\;\;y3 \cdot \left(y4 \cdot \left(y \cdot c\right)\right)\\
\mathbf{elif}\;b \leq 1.7 \cdot 10^{+108}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 2.35 \cdot 10^{+216}:\\
\;\;\;\;c \cdot \left(\left(z \cdot y3\right) \cdot \left(-y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if b < -1.3e52Initial program 31.8%
Taylor expanded in a around inf 52.6%
Taylor expanded in b around inf 48.2%
Taylor expanded in x around 0 31.4%
mul-1-neg31.4%
associate-*r*42.2%
Simplified42.2%
if -1.3e52 < b < 1.6600000000000001e-268Initial program 34.0%
Taylor expanded in y3 around -inf 35.8%
Taylor expanded in y4 around inf 28.2%
Taylor expanded in j around 0 31.0%
neg-mul-131.0%
distribute-rgt-neg-in31.0%
Simplified31.0%
if 1.6600000000000001e-268 < b < 1.69999999999999998e108Initial program 28.1%
Taylor expanded in a around inf 41.3%
Taylor expanded in y1 around inf 39.2%
associate-*r*39.2%
neg-mul-139.2%
Simplified39.2%
Taylor expanded in x around 0 34.5%
*-commutative34.5%
Simplified34.5%
if 1.69999999999999998e108 < b < 2.3500000000000001e216Initial program 22.2%
Taylor expanded in y3 around -inf 37.5%
Taylor expanded in z around inf 38.3%
Taylor expanded in c around inf 49.4%
mul-1-neg49.4%
distribute-rgt-neg-in49.4%
*-commutative49.4%
distribute-rgt-neg-in49.4%
*-commutative49.4%
Simplified49.4%
if 2.3500000000000001e216 < b Initial program 39.2%
Taylor expanded in a around inf 43.4%
Taylor expanded in b around inf 57.7%
Taylor expanded in x around inf 47.2%
Final simplification38.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -2.55e+98)
(* c (* (* z y3) (- y0)))
(if (<= y3 -1.05e-205)
(* a (* (* x y) b))
(if (<= y3 1.3e-224)
(* j (* i (* t (- y5))))
(if (<= y3 2.45e+31) (* a (* y5 (* t y2))) (* 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 (y3 <= -2.55e+98) {
tmp = c * ((z * y3) * -y0);
} else if (y3 <= -1.05e-205) {
tmp = a * ((x * y) * b);
} else if (y3 <= 1.3e-224) {
tmp = j * (i * (t * -y5));
} else if (y3 <= 2.45e+31) {
tmp = a * (y5 * (t * y2));
} 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 (y3 <= (-2.55d+98)) then
tmp = c * ((z * y3) * -y0)
else if (y3 <= (-1.05d-205)) then
tmp = a * ((x * y) * b)
else if (y3 <= 1.3d-224) then
tmp = j * (i * (t * -y5))
else if (y3 <= 2.45d+31) then
tmp = a * (y5 * (t * y2))
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 (y3 <= -2.55e+98) {
tmp = c * ((z * y3) * -y0);
} else if (y3 <= -1.05e-205) {
tmp = a * ((x * y) * b);
} else if (y3 <= 1.3e-224) {
tmp = j * (i * (t * -y5));
} else if (y3 <= 2.45e+31) {
tmp = a * (y5 * (t * y2));
} 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 y3 <= -2.55e+98: tmp = c * ((z * y3) * -y0) elif y3 <= -1.05e-205: tmp = a * ((x * y) * b) elif y3 <= 1.3e-224: tmp = j * (i * (t * -y5)) elif y3 <= 2.45e+31: tmp = a * (y5 * (t * y2)) 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 (y3 <= -2.55e+98) tmp = Float64(c * Float64(Float64(z * y3) * Float64(-y0))); elseif (y3 <= -1.05e-205) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (y3 <= 1.3e-224) tmp = Float64(j * Float64(i * Float64(t * Float64(-y5)))); elseif (y3 <= 2.45e+31) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 (y3 <= -2.55e+98) tmp = c * ((z * y3) * -y0); elseif (y3 <= -1.05e-205) tmp = a * ((x * y) * b); elseif (y3 <= 1.3e-224) tmp = j * (i * (t * -y5)); elseif (y3 <= 2.45e+31) tmp = a * (y5 * (t * y2)); 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[LessEqual[y3, -2.55e+98], N[(c * N[(N[(z * y3), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.05e-205], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.3e-224], N[(j * N[(i * N[(t * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.45e+31], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -2.55 \cdot 10^{+98}:\\
\;\;\;\;c \cdot \left(\left(z \cdot y3\right) \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;y3 \leq -1.05 \cdot 10^{-205}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;y3 \leq 1.3 \cdot 10^{-224}:\\
\;\;\;\;j \cdot \left(i \cdot \left(t \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 2.45 \cdot 10^{+31}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -2.54999999999999994e98Initial program 25.8%
Taylor expanded in y3 around -inf 58.6%
Taylor expanded in z around inf 46.1%
Taylor expanded in c around inf 44.2%
mul-1-neg44.2%
distribute-rgt-neg-in44.2%
*-commutative44.2%
distribute-rgt-neg-in44.2%
*-commutative44.2%
Simplified44.2%
if -2.54999999999999994e98 < y3 < -1.04999999999999991e-205Initial program 36.9%
Taylor expanded in a around inf 44.5%
Taylor expanded in b around inf 40.9%
Taylor expanded in x around inf 35.6%
if -1.04999999999999991e-205 < y3 < 1.3000000000000001e-224Initial program 50.1%
Taylor expanded in j around inf 42.1%
Taylor expanded in t around inf 38.4%
Taylor expanded in b around 0 36.0%
associate-*r*36.0%
mul-1-neg36.0%
Simplified36.0%
if 1.3000000000000001e-224 < y3 < 2.44999999999999998e31Initial program 32.0%
Taylor expanded in a around inf 41.6%
Taylor expanded in y5 around inf 31.2%
Taylor expanded in t around inf 26.5%
associate-*r*28.6%
*-commutative28.6%
Simplified28.6%
if 2.44999999999999998e31 < y3 Initial program 16.2%
Taylor expanded in a around inf 41.3%
Taylor expanded in y1 around inf 43.6%
associate-*r*43.6%
neg-mul-143.6%
Simplified43.6%
Taylor expanded in x around 0 40.4%
*-commutative40.4%
Simplified40.4%
Final simplification37.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= t -8e+159)
(* a (* (* t b) (- z)))
(if (<= t -1.55e+64)
(* j (* t (* i (- y5))))
(if (<= t -2.8e-182)
(* c (* y (* y3 y4)))
(if (<= t 5.2e+85) (* a (* (* x y) b)) (* a (* y5 (* t y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -8e+159) {
tmp = a * ((t * b) * -z);
} else if (t <= -1.55e+64) {
tmp = j * (t * (i * -y5));
} else if (t <= -2.8e-182) {
tmp = c * (y * (y3 * y4));
} else if (t <= 5.2e+85) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (t <= (-8d+159)) then
tmp = a * ((t * b) * -z)
else if (t <= (-1.55d+64)) then
tmp = j * (t * (i * -y5))
else if (t <= (-2.8d-182)) then
tmp = c * (y * (y3 * y4))
else if (t <= 5.2d+85) then
tmp = a * ((x * y) * b)
else
tmp = a * (y5 * (t * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -8e+159) {
tmp = a * ((t * b) * -z);
} else if (t <= -1.55e+64) {
tmp = j * (t * (i * -y5));
} else if (t <= -2.8e-182) {
tmp = c * (y * (y3 * y4));
} else if (t <= 5.2e+85) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if t <= -8e+159: tmp = a * ((t * b) * -z) elif t <= -1.55e+64: tmp = j * (t * (i * -y5)) elif t <= -2.8e-182: tmp = c * (y * (y3 * y4)) elif t <= 5.2e+85: tmp = a * ((x * y) * b) else: tmp = a * (y5 * (t * 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 (t <= -8e+159) tmp = Float64(a * Float64(Float64(t * b) * Float64(-z))); elseif (t <= -1.55e+64) tmp = Float64(j * Float64(t * Float64(i * Float64(-y5)))); elseif (t <= -2.8e-182) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (t <= 5.2e+85) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(a * Float64(y5 * Float64(t * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (t <= -8e+159) tmp = a * ((t * b) * -z); elseif (t <= -1.55e+64) tmp = j * (t * (i * -y5)); elseif (t <= -2.8e-182) tmp = c * (y * (y3 * y4)); elseif (t <= 5.2e+85) tmp = a * ((x * y) * b); else tmp = a * (y5 * (t * 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[t, -8e+159], N[(a * N[(N[(t * b), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.55e+64], N[(j * N[(t * N[(i * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.8e-182], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.2e+85], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -8 \cdot 10^{+159}:\\
\;\;\;\;a \cdot \left(\left(t \cdot b\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;t \leq -1.55 \cdot 10^{+64}:\\
\;\;\;\;j \cdot \left(t \cdot \left(i \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;t \leq -2.8 \cdot 10^{-182}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{+85}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\end{array}
\end{array}
if t < -7.9999999999999994e159Initial program 20.2%
Taylor expanded in a around inf 34.8%
Taylor expanded in b around inf 37.9%
Taylor expanded in x around 0 38.1%
mul-1-neg38.1%
associate-*r*46.4%
Simplified46.4%
if -7.9999999999999994e159 < t < -1.55e64Initial program 27.8%
Taylor expanded in j around inf 33.7%
Taylor expanded in t around inf 61.8%
Taylor expanded in b around 0 51.3%
neg-mul-151.3%
distribute-rgt-neg-in51.3%
Simplified51.3%
if -1.55e64 < t < -2.79999999999999993e-182Initial program 34.1%
Taylor expanded in y3 around -inf 48.7%
Taylor expanded in y4 around inf 35.0%
Taylor expanded in j around 0 35.3%
*-commutative35.3%
*-commutative35.3%
Simplified35.3%
if -2.79999999999999993e-182 < t < 5.20000000000000021e85Initial program 39.5%
Taylor expanded in a around inf 44.6%
Taylor expanded in b around inf 34.3%
Taylor expanded in x around inf 30.4%
if 5.20000000000000021e85 < t Initial program 21.5%
Taylor expanded in a around inf 43.2%
Taylor expanded in y5 around inf 43.9%
Taylor expanded in t around inf 40.1%
associate-*r*42.0%
*-commutative42.0%
Simplified42.0%
Final simplification37.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (* t y2)))))
(if (<= t -1.9e+116)
(* a (* (* t b) (- z)))
(if (<= t -7.2e+57)
t_1
(if (<= t -2.35e-179)
(* c (* y (* y3 y4)))
(if (<= t 1.32e+84) (* 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 = a * (y5 * (t * y2));
double tmp;
if (t <= -1.9e+116) {
tmp = a * ((t * b) * -z);
} else if (t <= -7.2e+57) {
tmp = t_1;
} else if (t <= -2.35e-179) {
tmp = c * (y * (y3 * y4));
} else if (t <= 1.32e+84) {
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 = a * (y5 * (t * y2))
if (t <= (-1.9d+116)) then
tmp = a * ((t * b) * -z)
else if (t <= (-7.2d+57)) then
tmp = t_1
else if (t <= (-2.35d-179)) then
tmp = c * (y * (y3 * y4))
else if (t <= 1.32d+84) 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 = a * (y5 * (t * y2));
double tmp;
if (t <= -1.9e+116) {
tmp = a * ((t * b) * -z);
} else if (t <= -7.2e+57) {
tmp = t_1;
} else if (t <= -2.35e-179) {
tmp = c * (y * (y3 * y4));
} else if (t <= 1.32e+84) {
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 = a * (y5 * (t * y2)) tmp = 0 if t <= -1.9e+116: tmp = a * ((t * b) * -z) elif t <= -7.2e+57: tmp = t_1 elif t <= -2.35e-179: tmp = c * (y * (y3 * y4)) elif t <= 1.32e+84: 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(a * Float64(y5 * Float64(t * y2))) tmp = 0.0 if (t <= -1.9e+116) tmp = Float64(a * Float64(Float64(t * b) * Float64(-z))); elseif (t <= -7.2e+57) tmp = t_1; elseif (t <= -2.35e-179) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (t <= 1.32e+84) 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 = a * (y5 * (t * y2)); tmp = 0.0; if (t <= -1.9e+116) tmp = a * ((t * b) * -z); elseif (t <= -7.2e+57) tmp = t_1; elseif (t <= -2.35e-179) tmp = c * (y * (y3 * y4)); elseif (t <= 1.32e+84) 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[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.9e+116], N[(a * N[(N[(t * b), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7.2e+57], t$95$1, If[LessEqual[t, -2.35e-179], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.32e+84], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{if}\;t \leq -1.9 \cdot 10^{+116}:\\
\;\;\;\;a \cdot \left(\left(t \cdot b\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;t \leq -7.2 \cdot 10^{+57}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -2.35 \cdot 10^{-179}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 1.32 \cdot 10^{+84}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.8999999999999999e116Initial program 21.6%
Taylor expanded in a around inf 36.2%
Taylor expanded in b around inf 38.7%
Taylor expanded in x around 0 34.3%
mul-1-neg34.3%
associate-*r*45.8%
Simplified45.8%
if -1.8999999999999999e116 < t < -7.2000000000000005e57 or 1.31999999999999994e84 < t Initial program 23.4%
Taylor expanded in a around inf 39.1%
Taylor expanded in y5 around inf 44.5%
Taylor expanded in t around inf 40.2%
associate-*r*43.2%
*-commutative43.2%
Simplified43.2%
if -7.2000000000000005e57 < t < -2.3500000000000001e-179Initial program 33.5%
Taylor expanded in y3 around -inf 48.6%
Taylor expanded in y4 around inf 36.4%
Taylor expanded in j around 0 36.7%
*-commutative36.7%
*-commutative36.7%
Simplified36.7%
if -2.3500000000000001e-179 < t < 1.31999999999999994e84Initial program 39.5%
Taylor expanded in a around inf 44.6%
Taylor expanded in b around inf 34.3%
Taylor expanded in x around inf 30.4%
Final simplification37.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -3.7e-19)
(* y1 (* k (- (* y2 y4) (* z i))))
(if (<= y1 6e-284)
(* (* y2 y5) (- (* t a) (* k y0)))
(if (<= y1 1.35e+45)
(* j (* y0 (- (* y3 y5) (* x b))))
(* x (* y1 (- (* i j) (* a 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 (y1 <= -3.7e-19) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else if (y1 <= 6e-284) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (y1 <= 1.35e+45) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = x * (y1 * ((i * j) - (a * 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 (y1 <= (-3.7d-19)) then
tmp = y1 * (k * ((y2 * y4) - (z * i)))
else if (y1 <= 6d-284) then
tmp = (y2 * y5) * ((t * a) - (k * y0))
else if (y1 <= 1.35d+45) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = x * (y1 * ((i * j) - (a * 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 (y1 <= -3.7e-19) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else if (y1 <= 6e-284) {
tmp = (y2 * y5) * ((t * a) - (k * y0));
} else if (y1 <= 1.35e+45) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = x * (y1 * ((i * j) - (a * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -3.7e-19: tmp = y1 * (k * ((y2 * y4) - (z * i))) elif y1 <= 6e-284: tmp = (y2 * y5) * ((t * a) - (k * y0)) elif y1 <= 1.35e+45: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = x * (y1 * ((i * j) - (a * 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 (y1 <= -3.7e-19) tmp = Float64(y1 * Float64(k * Float64(Float64(y2 * y4) - Float64(z * i)))); elseif (y1 <= 6e-284) tmp = Float64(Float64(y2 * y5) * Float64(Float64(t * a) - Float64(k * y0))); elseif (y1 <= 1.35e+45) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * 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 (y1 <= -3.7e-19) tmp = y1 * (k * ((y2 * y4) - (z * i))); elseif (y1 <= 6e-284) tmp = (y2 * y5) * ((t * a) - (k * y0)); elseif (y1 <= 1.35e+45) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = x * (y1 * ((i * j) - (a * 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[y1, -3.7e-19], N[(y1 * N[(k * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6e-284], N[(N[(y2 * y5), $MachinePrecision] * N[(N[(t * a), $MachinePrecision] - N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.35e+45], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -3.7 \cdot 10^{-19}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{elif}\;y1 \leq 6 \cdot 10^{-284}:\\
\;\;\;\;\left(y2 \cdot y5\right) \cdot \left(t \cdot a - k \cdot y0\right)\\
\mathbf{elif}\;y1 \leq 1.35 \cdot 10^{+45}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\end{array}
\end{array}
if y1 < -3.70000000000000005e-19Initial program 26.5%
Taylor expanded in y1 around inf 43.1%
Taylor expanded in k around inf 49.9%
if -3.70000000000000005e-19 < y1 < 5.9999999999999999e-284Initial program 35.8%
Taylor expanded in y5 around -inf 50.3%
Taylor expanded in y2 around inf 50.8%
associate-*r*48.1%
*-commutative48.1%
Simplified48.1%
if 5.9999999999999999e-284 < y1 < 1.34999999999999992e45Initial program 36.2%
Taylor expanded in j around inf 47.4%
Taylor expanded in y0 around inf 46.5%
if 1.34999999999999992e45 < y1 Initial program 24.1%
Taylor expanded in y1 around inf 60.6%
Taylor expanded in x around -inf 48.6%
associate-*r*48.6%
mul-1-neg48.6%
Simplified48.6%
Final simplification48.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -2.4e+38)
(* j (* t (- (* b y4) (* i y5))))
(if (<= c -1.7e-280)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= c 2.7e-9)
(* y1 (* k (- (* y2 y4) (* z i))))
(* y3 (* c (- (* y y4) (* z y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -2.4e+38) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (c <= -1.7e-280) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (c <= 2.7e-9) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else {
tmp = y3 * (c * ((y * y4) - (z * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (c <= (-2.4d+38)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (c <= (-1.7d-280)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (c <= 2.7d-9) then
tmp = y1 * (k * ((y2 * y4) - (z * i)))
else
tmp = y3 * (c * ((y * y4) - (z * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -2.4e+38) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (c <= -1.7e-280) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (c <= 2.7e-9) {
tmp = y1 * (k * ((y2 * y4) - (z * i)));
} else {
tmp = y3 * (c * ((y * y4) - (z * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if c <= -2.4e+38: tmp = j * (t * ((b * y4) - (i * y5))) elif c <= -1.7e-280: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif c <= 2.7e-9: tmp = y1 * (k * ((y2 * y4) - (z * i))) else: tmp = y3 * (c * ((y * y4) - (z * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -2.4e+38) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (c <= -1.7e-280) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (c <= 2.7e-9) tmp = Float64(y1 * Float64(k * Float64(Float64(y2 * y4) - Float64(z * i)))); else tmp = Float64(y3 * Float64(c * Float64(Float64(y * y4) - Float64(z * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (c <= -2.4e+38) tmp = j * (t * ((b * y4) - (i * y5))); elseif (c <= -1.7e-280) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (c <= 2.7e-9) tmp = y1 * (k * ((y2 * y4) - (z * i))); else tmp = y3 * (c * ((y * y4) - (z * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -2.4e+38], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.7e-280], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.7e-9], N[(y1 * N[(k * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y3 * N[(c * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.4 \cdot 10^{+38}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;c \leq -1.7 \cdot 10^{-280}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 2.7 \cdot 10^{-9}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\end{array}
\end{array}
if c < -2.40000000000000017e38Initial program 23.1%
Taylor expanded in j around inf 39.2%
Taylor expanded in t around inf 42.8%
if -2.40000000000000017e38 < c < -1.6999999999999999e-280Initial program 47.5%
Taylor expanded in j around inf 44.7%
Taylor expanded in y0 around inf 46.7%
if -1.6999999999999999e-280 < c < 2.7000000000000002e-9Initial program 32.2%
Taylor expanded in y1 around inf 40.5%
Taylor expanded in k around inf 42.0%
if 2.7000000000000002e-9 < c Initial program 23.5%
Taylor expanded in y3 around -inf 38.0%
Taylor expanded in c around inf 61.3%
Final simplification48.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (- (* x y) (* z t))))))
(if (<= b -1e+55)
t_1
(if (<= b -7.5e-270)
(* y3 (* y4 (* y c)))
(if (<= b 2.9e+195) (* a (* y3 (- (* z y1) (* y y5)))) 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 = a * (b * ((x * y) - (z * t)));
double tmp;
if (b <= -1e+55) {
tmp = t_1;
} else if (b <= -7.5e-270) {
tmp = y3 * (y4 * (y * c));
} else if (b <= 2.9e+195) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} 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 = a * (b * ((x * y) - (z * t)))
if (b <= (-1d+55)) then
tmp = t_1
else if (b <= (-7.5d-270)) then
tmp = y3 * (y4 * (y * c))
else if (b <= 2.9d+195) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
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 = a * (b * ((x * y) - (z * t)));
double tmp;
if (b <= -1e+55) {
tmp = t_1;
} else if (b <= -7.5e-270) {
tmp = y3 * (y4 * (y * c));
} else if (b <= 2.9e+195) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} 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 = a * (b * ((x * y) - (z * t))) tmp = 0 if b <= -1e+55: tmp = t_1 elif b <= -7.5e-270: tmp = y3 * (y4 * (y * c)) elif b <= 2.9e+195: tmp = a * (y3 * ((z * y1) - (y * y5))) 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(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (b <= -1e+55) tmp = t_1; elseif (b <= -7.5e-270) tmp = Float64(y3 * Float64(y4 * Float64(y * c))); elseif (b <= 2.9e+195) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); 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 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (b <= -1e+55) tmp = t_1; elseif (b <= -7.5e-270) tmp = y3 * (y4 * (y * c)); elseif (b <= 2.9e+195) tmp = a * (y3 * ((z * y1) - (y * y5))); 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[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1e+55], t$95$1, If[LessEqual[b, -7.5e-270], N[(y3 * N[(y4 * N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.9e+195], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;b \leq -1 \cdot 10^{+55}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -7.5 \cdot 10^{-270}:\\
\;\;\;\;y3 \cdot \left(y4 \cdot \left(y \cdot c\right)\right)\\
\mathbf{elif}\;b \leq 2.9 \cdot 10^{+195}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -1.00000000000000001e55 or 2.89999999999999992e195 < b Initial program 33.4%
Taylor expanded in a around inf 49.8%
Taylor expanded in b around inf 51.1%
if -1.00000000000000001e55 < b < -7.4999999999999997e-270Initial program 31.0%
Taylor expanded in y3 around -inf 36.1%
Taylor expanded in y4 around inf 30.0%
Taylor expanded in j around 0 33.4%
neg-mul-133.4%
distribute-rgt-neg-in33.4%
Simplified33.4%
if -7.4999999999999997e-270 < b < 2.89999999999999992e195Initial program 29.6%
Taylor expanded in a around inf 38.5%
Taylor expanded in y3 around inf 39.1%
Final simplification42.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y3 (* y4 (* y c)))))
(if (<= c -2.1e+163)
t_1
(if (<= c -1.08e+55)
(* j (* i (* t (- y5))))
(if (<= c 2e+69) (* a (* b (- (* x y) (* z t)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (y4 * (y * c));
double tmp;
if (c <= -2.1e+163) {
tmp = t_1;
} else if (c <= -1.08e+55) {
tmp = j * (i * (t * -y5));
} else if (c <= 2e+69) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y3 * (y4 * (y * c))
if (c <= (-2.1d+163)) then
tmp = t_1
else if (c <= (-1.08d+55)) then
tmp = j * (i * (t * -y5))
else if (c <= 2d+69) then
tmp = a * (b * ((x * y) - (z * t)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (y4 * (y * c));
double tmp;
if (c <= -2.1e+163) {
tmp = t_1;
} else if (c <= -1.08e+55) {
tmp = j * (i * (t * -y5));
} else if (c <= 2e+69) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * (y4 * (y * c)) tmp = 0 if c <= -2.1e+163: tmp = t_1 elif c <= -1.08e+55: tmp = j * (i * (t * -y5)) elif c <= 2e+69: tmp = a * (b * ((x * y) - (z * t))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y3 * Float64(y4 * Float64(y * c))) tmp = 0.0 if (c <= -2.1e+163) tmp = t_1; elseif (c <= -1.08e+55) tmp = Float64(j * Float64(i * Float64(t * Float64(-y5)))); elseif (c <= 2e+69) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y3 * (y4 * (y * c)); tmp = 0.0; if (c <= -2.1e+163) tmp = t_1; elseif (c <= -1.08e+55) tmp = j * (i * (t * -y5)); elseif (c <= 2e+69) tmp = a * (b * ((x * y) - (z * t))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y3 * N[(y4 * N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.1e+163], t$95$1, If[LessEqual[c, -1.08e+55], N[(j * N[(i * N[(t * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2e+69], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(y4 \cdot \left(y \cdot c\right)\right)\\
\mathbf{if}\;c \leq -2.1 \cdot 10^{+163}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -1.08 \cdot 10^{+55}:\\
\;\;\;\;j \cdot \left(i \cdot \left(t \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;c \leq 2 \cdot 10^{+69}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -2.1e163 or 2.0000000000000001e69 < c Initial program 18.9%
Taylor expanded in y3 around -inf 36.9%
Taylor expanded in y4 around inf 43.0%
Taylor expanded in j around 0 45.5%
neg-mul-145.5%
distribute-rgt-neg-in45.5%
Simplified45.5%
if -2.1e163 < c < -1.08000000000000004e55Initial program 29.9%
Taylor expanded in j around inf 41.3%
Taylor expanded in t around inf 48.8%
Taylor expanded in b around 0 41.4%
associate-*r*41.4%
mul-1-neg41.4%
Simplified41.4%
if -1.08000000000000004e55 < c < 2.0000000000000001e69Initial program 39.1%
Taylor expanded in a around inf 46.3%
Taylor expanded in b around inf 37.9%
Final simplification40.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= t -8.5e+167)
(* b (* j (* t y4)))
(if (or (<= t -1.6e+28) (not (<= t 6.5e+84)))
(* a (* y5 (* t y2)))
(* 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 (t <= -8.5e+167) {
tmp = b * (j * (t * y4));
} else if ((t <= -1.6e+28) || !(t <= 6.5e+84)) {
tmp = a * (y5 * (t * y2));
} 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 (t <= (-8.5d+167)) then
tmp = b * (j * (t * y4))
else if ((t <= (-1.6d+28)) .or. (.not. (t <= 6.5d+84))) then
tmp = a * (y5 * (t * y2))
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 (t <= -8.5e+167) {
tmp = b * (j * (t * y4));
} else if ((t <= -1.6e+28) || !(t <= 6.5e+84)) {
tmp = a * (y5 * (t * y2));
} 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 t <= -8.5e+167: tmp = b * (j * (t * y4)) elif (t <= -1.6e+28) or not (t <= 6.5e+84): tmp = a * (y5 * (t * y2)) 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 (t <= -8.5e+167) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif ((t <= -1.6e+28) || !(t <= 6.5e+84)) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 (t <= -8.5e+167) tmp = b * (j * (t * y4)); elseif ((t <= -1.6e+28) || ~((t <= 6.5e+84))) tmp = a * (y5 * (t * y2)); 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[t, -8.5e+167], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[t, -1.6e+28], N[Not[LessEqual[t, 6.5e+84]], $MachinePrecision]], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -8.5 \cdot 10^{+167}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -1.6 \cdot 10^{+28} \lor \neg \left(t \leq 6.5 \cdot 10^{+84}\right):\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if t < -8.50000000000000007e167Initial program 16.4%
Taylor expanded in j around inf 29.4%
Taylor expanded in t around inf 42.3%
Taylor expanded in b around inf 42.6%
if -8.50000000000000007e167 < t < -1.6e28 or 6.50000000000000027e84 < t Initial program 25.6%
Taylor expanded in a around inf 42.7%
Taylor expanded in y5 around inf 43.5%
Taylor expanded in t around inf 37.7%
associate-*r*41.2%
*-commutative41.2%
Simplified41.2%
if -1.6e28 < t < 6.50000000000000027e84Initial program 38.0%
Taylor expanded in a around inf 42.6%
Taylor expanded in b around inf 31.8%
Taylor expanded in x around inf 27.6%
Final simplification33.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= t -1.9e+81)
(* b (* j (* t y4)))
(if (<= t -1.65e-179)
(* c (* y (* y3 y4)))
(if (<= t 7.5e+80) (* a (* (* x y) b)) (* a (* y5 (* t y2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -1.9e+81) {
tmp = b * (j * (t * y4));
} else if (t <= -1.65e-179) {
tmp = c * (y * (y3 * y4));
} else if (t <= 7.5e+80) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (t <= (-1.9d+81)) then
tmp = b * (j * (t * y4))
else if (t <= (-1.65d-179)) then
tmp = c * (y * (y3 * y4))
else if (t <= 7.5d+80) then
tmp = a * ((x * y) * b)
else
tmp = a * (y5 * (t * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -1.9e+81) {
tmp = b * (j * (t * y4));
} else if (t <= -1.65e-179) {
tmp = c * (y * (y3 * y4));
} else if (t <= 7.5e+80) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if t <= -1.9e+81: tmp = b * (j * (t * y4)) elif t <= -1.65e-179: tmp = c * (y * (y3 * y4)) elif t <= 7.5e+80: tmp = a * ((x * y) * b) else: tmp = a * (y5 * (t * 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 (t <= -1.9e+81) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (t <= -1.65e-179) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (t <= 7.5e+80) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(a * Float64(y5 * Float64(t * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (t <= -1.9e+81) tmp = b * (j * (t * y4)); elseif (t <= -1.65e-179) tmp = c * (y * (y3 * y4)); elseif (t <= 7.5e+80) tmp = a * ((x * y) * b); else tmp = a * (y5 * (t * 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[t, -1.9e+81], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.65e-179], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7.5e+80], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.9 \cdot 10^{+81}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -1.65 \cdot 10^{-179}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 7.5 \cdot 10^{+80}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\end{array}
\end{array}
if t < -1.9e81Initial program 22.6%
Taylor expanded in j around inf 28.9%
Taylor expanded in t around inf 47.3%
Taylor expanded in b around inf 35.7%
if -1.9e81 < t < -1.6499999999999999e-179Initial program 33.5%
Taylor expanded in y3 around -inf 48.9%
Taylor expanded in y4 around inf 34.5%
Taylor expanded in j around 0 34.7%
*-commutative34.7%
*-commutative34.7%
Simplified34.7%
if -1.6499999999999999e-179 < t < 7.49999999999999994e80Initial program 39.5%
Taylor expanded in a around inf 44.6%
Taylor expanded in b around inf 34.3%
Taylor expanded in x around inf 30.4%
if 7.49999999999999994e80 < t Initial program 21.5%
Taylor expanded in a around inf 43.2%
Taylor expanded in y5 around inf 43.9%
Taylor expanded in t around inf 40.1%
associate-*r*42.0%
*-commutative42.0%
Simplified42.0%
Final simplification34.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* t (* y2 y5)))))
(if (<= y2 -2.1e+47)
t_1
(if (<= y2 6.6e-205)
(* a (* y1 (* z y3)))
(if (<= y2 5.1e+151) (* 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 = a * (t * (y2 * y5));
double tmp;
if (y2 <= -2.1e+47) {
tmp = t_1;
} else if (y2 <= 6.6e-205) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 5.1e+151) {
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 = a * (t * (y2 * y5))
if (y2 <= (-2.1d+47)) then
tmp = t_1
else if (y2 <= 6.6d-205) then
tmp = a * (y1 * (z * y3))
else if (y2 <= 5.1d+151) 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 = a * (t * (y2 * y5));
double tmp;
if (y2 <= -2.1e+47) {
tmp = t_1;
} else if (y2 <= 6.6e-205) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 5.1e+151) {
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 = a * (t * (y2 * y5)) tmp = 0 if y2 <= -2.1e+47: tmp = t_1 elif y2 <= 6.6e-205: tmp = a * (y1 * (z * y3)) elif y2 <= 5.1e+151: 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(a * Float64(t * Float64(y2 * y5))) tmp = 0.0 if (y2 <= -2.1e+47) tmp = t_1; elseif (y2 <= 6.6e-205) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (y2 <= 5.1e+151) 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 = a * (t * (y2 * y5)); tmp = 0.0; if (y2 <= -2.1e+47) tmp = t_1; elseif (y2 <= 6.6e-205) tmp = a * (y1 * (z * y3)); elseif (y2 <= 5.1e+151) 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[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.1e+47], t$95$1, If[LessEqual[y2, 6.6e-205], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.1e+151], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -2.1 \cdot 10^{+47}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 6.6 \cdot 10^{-205}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 5.1 \cdot 10^{+151}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -2.1e47 or 5.09999999999999996e151 < y2 Initial program 25.0%
Taylor expanded in a around inf 41.9%
Taylor expanded in y5 around inf 39.9%
Taylor expanded in t around inf 40.4%
if -2.1e47 < y2 < 6.5999999999999998e-205Initial program 33.9%
Taylor expanded in a around inf 40.9%
Taylor expanded in y1 around inf 28.7%
associate-*r*28.7%
neg-mul-128.7%
Simplified28.7%
Taylor expanded in x around 0 29.8%
*-commutative29.8%
Simplified29.8%
if 6.5999999999999998e-205 < y2 < 5.09999999999999996e151Initial program 35.2%
Taylor expanded in a around inf 40.4%
Taylor expanded in b around inf 36.0%
Taylor expanded in x around inf 28.8%
Final simplification32.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y -1.16e-11) (not (<= y 2.8e+104))) (* a (* (* x y) b)) (* a (* t (* y2 y5)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y <= -1.16e-11) || !(y <= 2.8e+104)) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (t * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y <= (-1.16d-11)) .or. (.not. (y <= 2.8d+104))) then
tmp = a * ((x * y) * b)
else
tmp = a * (t * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y <= -1.16e-11) || !(y <= 2.8e+104)) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (t * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y <= -1.16e-11) or not (y <= 2.8e+104): tmp = a * ((x * y) * b) else: tmp = a * (t * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y <= -1.16e-11) || !(y <= 2.8e+104)) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(a * Float64(t * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y <= -1.16e-11) || ~((y <= 2.8e+104))) tmp = a * ((x * y) * b); else tmp = a * (t * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y, -1.16e-11], N[Not[LessEqual[y, 2.8e+104]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.16 \cdot 10^{-11} \lor \neg \left(y \leq 2.8 \cdot 10^{+104}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y < -1.1600000000000001e-11 or 2.8e104 < y Initial program 27.0%
Taylor expanded in a around inf 41.5%
Taylor expanded in b around inf 43.7%
Taylor expanded in x around inf 37.8%
if -1.1600000000000001e-11 < y < 2.8e104Initial program 35.2%
Taylor expanded in a around inf 40.7%
Taylor expanded in y5 around inf 29.6%
Taylor expanded in t around inf 24.0%
Final simplification30.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 31.4%
Taylor expanded in a around inf 41.1%
Taylor expanded in b around inf 31.6%
Taylor expanded in x around inf 21.6%
Final simplification21.6%
(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 2024172
(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)))))