
(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 30 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 (- (* b a) (* i c)))
(t_2 (- (* y4 y1) (* y5 y0)))
(t_3 (- (* y4 c) (* y5 a)))
(t_4 (- (* j x) (* k z)))
(t_5 (- (* y0 b) (* y1 i)))
(t_6 (- (* y0 c) (* y1 a)))
(t_7 (* (fma t_2 k (fma t_6 x (* (- t) t_3))) y2)))
(if (<= y2 -3.2e+194)
t_7
(if (<= y2 -1.7e+114)
(+ (* (* j t) (fma b y4 (* (- i) y5))) (* (- (* k y2) (* j y3)) t_2))
(if (<= y2 -225.0)
(*
(fma
(- (* y x) (* t z))
a
(fma (- (* j t) (* k y)) y4 (* (- y0) t_4)))
b)
(if (<= y2 -1.15e-43)
(* (* i y1) (fma j x (* (- k) z)))
(if (<= y2 -5.5e-236)
(* (fma (+ (* y4 (- b)) (* y5 i)) k (fma t_1 x (* t_3 y3))) y)
(if (<= y2 3.3e-261)
(* (fma (+ (* (- b) a) (* i c)) t (fma (- y3) t_6 (* t_5 k))) z)
(if (<= y2 7.1e-112)
(* (fma t_1 y (fma t_6 y2 (* (- j) t_5))) x)
(if (<= y2 4.6e+106)
(*
(fma
(+ (* y2 (- x)) (* y3 z))
a
(fma (- (* y2 k) (* y3 j)) y4 (* t_4 i)))
y1)
t_7))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * a) - (i * c);
double t_2 = (y4 * y1) - (y5 * y0);
double t_3 = (y4 * c) - (y5 * a);
double t_4 = (j * x) - (k * z);
double t_5 = (y0 * b) - (y1 * i);
double t_6 = (y0 * c) - (y1 * a);
double t_7 = fma(t_2, k, fma(t_6, x, (-t * t_3))) * y2;
double tmp;
if (y2 <= -3.2e+194) {
tmp = t_7;
} else if (y2 <= -1.7e+114) {
tmp = ((j * t) * fma(b, y4, (-i * y5))) + (((k * y2) - (j * y3)) * t_2);
} else if (y2 <= -225.0) {
tmp = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (-y0 * t_4))) * b;
} else if (y2 <= -1.15e-43) {
tmp = (i * y1) * fma(j, x, (-k * z));
} else if (y2 <= -5.5e-236) {
tmp = fma(((y4 * -b) + (y5 * i)), k, fma(t_1, x, (t_3 * y3))) * y;
} else if (y2 <= 3.3e-261) {
tmp = fma(((-b * a) + (i * c)), t, fma(-y3, t_6, (t_5 * k))) * z;
} else if (y2 <= 7.1e-112) {
tmp = fma(t_1, y, fma(t_6, y2, (-j * t_5))) * x;
} else if (y2 <= 4.6e+106) {
tmp = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (t_4 * i))) * y1;
} else {
tmp = t_7;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) t_2 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_3 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_4 = Float64(Float64(j * x) - Float64(k * z)) t_5 = Float64(Float64(y0 * b) - Float64(y1 * i)) t_6 = Float64(Float64(y0 * c) - Float64(y1 * a)) t_7 = Float64(fma(t_2, k, fma(t_6, x, Float64(Float64(-t) * t_3))) * y2) tmp = 0.0 if (y2 <= -3.2e+194) tmp = t_7; elseif (y2 <= -1.7e+114) tmp = Float64(Float64(Float64(j * t) * fma(b, y4, Float64(Float64(-i) * y5))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2)); elseif (y2 <= -225.0) tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(-y0) * t_4))) * b); elseif (y2 <= -1.15e-43) tmp = Float64(Float64(i * y1) * fma(j, x, Float64(Float64(-k) * z))); elseif (y2 <= -5.5e-236) tmp = Float64(fma(Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)), k, fma(t_1, x, Float64(t_3 * y3))) * y); elseif (y2 <= 3.3e-261) tmp = Float64(fma(Float64(Float64(Float64(-b) * a) + Float64(i * c)), t, fma(Float64(-y3), t_6, Float64(t_5 * k))) * z); elseif (y2 <= 7.1e-112) tmp = Float64(fma(t_1, y, fma(t_6, y2, Float64(Float64(-j) * t_5))) * x); elseif (y2 <= 4.6e+106) tmp = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(t_4 * i))) * y1); else tmp = t_7; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(t$95$2 * k + N[(t$95$6 * x + N[((-t) * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[y2, -3.2e+194], t$95$7, If[LessEqual[y2, -1.7e+114], N[(N[(N[(j * t), $MachinePrecision] * N[(b * y4 + N[((-i) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -225.0], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[((-y0) * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y2, -1.15e-43], N[(N[(i * y1), $MachinePrecision] * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5.5e-236], N[(N[(N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(t$95$3 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y2, 3.3e-261], N[(N[(N[(N[((-b) * a), $MachinePrecision] + N[(i * c), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$6 + N[(t$95$5 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y2, 7.1e-112], N[(N[(t$95$1 * y + N[(t$95$6 * y2 + N[((-j) * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 4.6e+106], N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(t$95$4 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$7]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := y4 \cdot y1 - y5 \cdot y0\\
t_3 := y4 \cdot c - y5 \cdot a\\
t_4 := j \cdot x - k \cdot z\\
t_5 := y0 \cdot b - y1 \cdot i\\
t_6 := y0 \cdot c - y1 \cdot a\\
t_7 := \mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(t\_6, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\
\mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\
\;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\
\mathbf{elif}\;y2 \leq -225:\\
\;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot t\_4\right)\right) \cdot b\\
\mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-43}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\\
\mathbf{elif}\;y2 \leq -5.5 \cdot 10^{-236}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, t\_3 \cdot y3\right)\right) \cdot y\\
\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-261}:\\
\;\;\;\;\mathsf{fma}\left(\left(-b\right) \cdot a + i \cdot c, t, \mathsf{fma}\left(-y3, t\_6, t\_5 \cdot k\right)\right) \cdot z\\
\mathbf{elif}\;y2 \leq 7.1 \cdot 10^{-112}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_6, y2, \left(-j\right) \cdot t\_5\right)\right) \cdot x\\
\mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\
\;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_4 \cdot i\right)\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;t\_7\\
\end{array}
\end{array}
if y2 < -3.20000000000000021e194 or 4.6000000000000004e106 < y2 Initial program 26.4%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites68.2%
if -3.20000000000000021e194 < y2 < -1.7e114Initial program 33.6%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites76.5%
Taylor expanded in x around 0
Applied rewrites81.1%
if -1.7e114 < y2 < -225Initial program 24.1%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites71.9%
if -225 < y2 < -1.1499999999999999e-43Initial program 21.4%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.9%
Taylor expanded in i around inf
Applied rewrites72.2%
if -1.1499999999999999e-43 < y2 < -5.49999999999999959e-236Initial program 44.1%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites67.8%
if -5.49999999999999959e-236 < y2 < 3.2999999999999998e-261Initial program 33.3%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.0%
if 3.2999999999999998e-261 < y2 < 7.09999999999999957e-112Initial program 32.4%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.6%
if 7.09999999999999957e-112 < y2 < 4.6000000000000004e106Initial program 37.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.1%
Final simplification65.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y4 y1) (* y5 y0)))
(t_2 (- (* y0 c) (* y1 a)))
(t_3 (- (* y4 c) (* y5 a)))
(t_4
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) t_2))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) t_3))
(* (- (* k y2) (* j y3)) t_1))))
(if (<= t_4 INFINITY) t_4 (* (fma t_1 k (fma t_2 x (* (- t) t_3))) y2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * y1) - (y5 * y0);
double t_2 = (y0 * c) - (y1 * a);
double t_3 = (y4 * c) - (y5 * a);
double t_4 = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * t_2)) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * t_3)) + (((k * y2) - (j * y3)) * t_1);
double tmp;
if (t_4 <= ((double) INFINITY)) {
tmp = t_4;
} else {
tmp = fma(t_1, k, fma(t_2, x, (-t * t_3))) * y2;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_2 = Float64(Float64(y0 * c) - Float64(y1 * a)) t_3 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_4 = 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)) * t_2)) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * t_3)) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_1)) tmp = 0.0 if (t_4 <= Inf) tmp = t_4; else tmp = Float64(fma(t_1, k, fma(t_2, x, Float64(Float64(-t) * t_3))) * y2); end return 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 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = 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] * t$95$2), $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] * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$4, Infinity], t$95$4, N[(N[(t$95$1 * k + N[(t$95$2 * x + N[((-t) * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot y1 - y5 \cdot y0\\
t_2 := y0 \cdot c - y1 \cdot a\\
t_3 := y4 \cdot c - y5 \cdot a\\
t_4 := \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 t\_2\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 t\_3\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_1\\
\mathbf{if}\;t\_4 \leq \infty:\\
\;\;\;\;t\_4\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, k, \mathsf{fma}\left(t\_2, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\
\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 91.5%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b a) (* i c)))
(t_2 (- (* y4 y1) (* y5 y0)))
(t_3 (- (* y4 c) (* y5 a)))
(t_4 (- (* j x) (* k z)))
(t_5 (- (* y0 c) (* y1 a)))
(t_6 (* (fma t_2 k (fma t_5 x (* (- t) t_3))) y2))
(t_7
(*
(fma
(- (* y x) (* t z))
a
(fma (- (* j t) (* k y)) y4 (* (- y0) t_4)))
b)))
(if (<= y2 -3.2e+194)
t_6
(if (<= y2 -1.7e+114)
(+ (* (* j t) (fma b y4 (* (- i) y5))) (* (- (* k y2) (* j y3)) t_2))
(if (<= y2 -225.0)
t_7
(if (<= y2 -1.15e-43)
(* (* i y1) (fma j x (* (- k) z)))
(if (<= y2 -1.25e-218)
(* (fma (+ (* y4 (- b)) (* y5 i)) k (fma t_1 x (* t_3 y3))) y)
(if (<= y2 7.5e-283)
t_7
(if (<= y2 7.1e-112)
(* (fma t_1 y (fma t_5 y2 (* (- j) (- (* y0 b) (* y1 i))))) x)
(if (<= y2 4.6e+106)
(*
(fma
(+ (* y2 (- x)) (* y3 z))
a
(fma (- (* y2 k) (* y3 j)) y4 (* t_4 i)))
y1)
t_6))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * a) - (i * c);
double t_2 = (y4 * y1) - (y5 * y0);
double t_3 = (y4 * c) - (y5 * a);
double t_4 = (j * x) - (k * z);
double t_5 = (y0 * c) - (y1 * a);
double t_6 = fma(t_2, k, fma(t_5, x, (-t * t_3))) * y2;
double t_7 = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (-y0 * t_4))) * b;
double tmp;
if (y2 <= -3.2e+194) {
tmp = t_6;
} else if (y2 <= -1.7e+114) {
tmp = ((j * t) * fma(b, y4, (-i * y5))) + (((k * y2) - (j * y3)) * t_2);
} else if (y2 <= -225.0) {
tmp = t_7;
} else if (y2 <= -1.15e-43) {
tmp = (i * y1) * fma(j, x, (-k * z));
} else if (y2 <= -1.25e-218) {
tmp = fma(((y4 * -b) + (y5 * i)), k, fma(t_1, x, (t_3 * y3))) * y;
} else if (y2 <= 7.5e-283) {
tmp = t_7;
} else if (y2 <= 7.1e-112) {
tmp = fma(t_1, y, fma(t_5, y2, (-j * ((y0 * b) - (y1 * i))))) * x;
} else if (y2 <= 4.6e+106) {
tmp = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (t_4 * i))) * y1;
} else {
tmp = t_6;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) t_2 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_3 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_4 = Float64(Float64(j * x) - Float64(k * z)) t_5 = Float64(Float64(y0 * c) - Float64(y1 * a)) t_6 = Float64(fma(t_2, k, fma(t_5, x, Float64(Float64(-t) * t_3))) * y2) t_7 = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(-y0) * t_4))) * b) tmp = 0.0 if (y2 <= -3.2e+194) tmp = t_6; elseif (y2 <= -1.7e+114) tmp = Float64(Float64(Float64(j * t) * fma(b, y4, Float64(Float64(-i) * y5))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2)); elseif (y2 <= -225.0) tmp = t_7; elseif (y2 <= -1.15e-43) tmp = Float64(Float64(i * y1) * fma(j, x, Float64(Float64(-k) * z))); elseif (y2 <= -1.25e-218) tmp = Float64(fma(Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)), k, fma(t_1, x, Float64(t_3 * y3))) * y); elseif (y2 <= 7.5e-283) tmp = t_7; elseif (y2 <= 7.1e-112) tmp = Float64(fma(t_1, y, fma(t_5, y2, Float64(Float64(-j) * Float64(Float64(y0 * b) - Float64(y1 * i))))) * x); elseif (y2 <= 4.6e+106) tmp = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(t_4 * i))) * y1); else tmp = t_6; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(t$95$2 * k + N[(t$95$5 * x + N[((-t) * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]}, Block[{t$95$7 = N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[((-y0) * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[y2, -3.2e+194], t$95$6, If[LessEqual[y2, -1.7e+114], N[(N[(N[(j * t), $MachinePrecision] * N[(b * y4 + N[((-i) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -225.0], t$95$7, If[LessEqual[y2, -1.15e-43], N[(N[(i * y1), $MachinePrecision] * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.25e-218], N[(N[(N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(t$95$3 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y2, 7.5e-283], t$95$7, If[LessEqual[y2, 7.1e-112], N[(N[(t$95$1 * y + N[(t$95$5 * y2 + N[((-j) * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 4.6e+106], N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(t$95$4 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$6]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := y4 \cdot y1 - y5 \cdot y0\\
t_3 := y4 \cdot c - y5 \cdot a\\
t_4 := j \cdot x - k \cdot z\\
t_5 := y0 \cdot c - y1 \cdot a\\
t_6 := \mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(t\_5, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\
t_7 := \mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot t\_4\right)\right) \cdot b\\
\mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\
\;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\
\mathbf{elif}\;y2 \leq -225:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-43}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\\
\mathbf{elif}\;y2 \leq -1.25 \cdot 10^{-218}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, t\_3 \cdot y3\right)\right) \cdot y\\
\mathbf{elif}\;y2 \leq 7.5 \cdot 10^{-283}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;y2 \leq 7.1 \cdot 10^{-112}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_5, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\
\mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\
\;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_4 \cdot i\right)\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;t\_6\\
\end{array}
\end{array}
if y2 < -3.20000000000000021e194 or 4.6000000000000004e106 < y2 Initial program 26.4%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites68.2%
if -3.20000000000000021e194 < y2 < -1.7e114Initial program 33.6%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites76.5%
Taylor expanded in x around 0
Applied rewrites81.1%
if -1.7e114 < y2 < -225 or -1.2500000000000001e-218 < y2 < 7.5000000000000001e-283Initial program 27.4%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.8%
if -225 < y2 < -1.1499999999999999e-43Initial program 21.4%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.9%
Taylor expanded in i around inf
Applied rewrites72.2%
if -1.1499999999999999e-43 < y2 < -1.2500000000000001e-218Initial program 43.8%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites68.6%
if 7.5000000000000001e-283 < y2 < 7.09999999999999957e-112Initial program 35.4%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.5%
if 7.09999999999999957e-112 < y2 < 4.6000000000000004e106Initial program 37.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.1%
Final simplification65.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* y3 (fma (- j) y4 (* a z))) y1))
(t_2 (+ (* y4 (- b)) (* y5 i))))
(if (<= y3 -1e+259)
t_1
(if (<= y3 -9.5e+156)
(* (* y3 (fma c y4 (* (- a) y5))) y)
(if (<= y3 4.6e-49)
(*
(fma
t_2
y
(fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
k)
(if (<= y3 6e+188)
(*
(fma
t_2
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
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 = (y3 * fma(-j, y4, (a * z))) * y1;
double t_2 = (y4 * -b) + (y5 * i);
double tmp;
if (y3 <= -1e+259) {
tmp = t_1;
} else if (y3 <= -9.5e+156) {
tmp = (y3 * fma(c, y4, (-a * y5))) * y;
} else if (y3 <= 4.6e-49) {
tmp = fma(t_2, y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
} else if (y3 <= 6e+188) {
tmp = fma(t_2, k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y3 * fma(Float64(-j), y4, Float64(a * z))) * y1) t_2 = Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)) tmp = 0.0 if (y3 <= -1e+259) tmp = t_1; elseif (y3 <= -9.5e+156) tmp = Float64(Float64(y3 * fma(c, y4, Float64(Float64(-a) * y5))) * y); elseif (y3 <= 4.6e-49) tmp = Float64(fma(t_2, y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k); elseif (y3 <= 6e+188) tmp = Float64(fma(t_2, k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); else tmp = t_1; end return 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[(y3 * N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1e+259], t$95$1, If[LessEqual[y3, -9.5e+156], N[(N[(y3 * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y3, 4.6e-49], N[(N[(t$95$2 * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y3, 6e+188], N[(N[(t$95$2 * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\
t_2 := y4 \cdot \left(-b\right) + y5 \cdot i\\
\mathbf{if}\;y3 \leq -1 \cdot 10^{+259}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -9.5 \cdot 10^{+156}:\\
\;\;\;\;\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y\\
\mathbf{elif}\;y3 \leq 4.6 \cdot 10^{-49}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
\mathbf{elif}\;y3 \leq 6 \cdot 10^{+188}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y3 < -9.999999999999999e258 or 6.0000000000000001e188 < y3 Initial program 19.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.4%
Taylor expanded in y3 around inf
Applied rewrites73.4%
if -9.999999999999999e258 < y3 < -9.5000000000000002e156Initial program 36.8%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.0%
Taylor expanded in y5 around inf
Applied rewrites63.5%
Taylor expanded in y3 around inf
Applied rewrites79.1%
if -9.5000000000000002e156 < y3 < 4.5999999999999998e-49Initial program 33.2%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.9%
if 4.5999999999999998e-49 < y3 < 6.0000000000000001e188Initial program 40.9%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.6%
Final simplification56.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b a) (* i c)))
(t_2
(*
(fma
(+ (* y2 (- x)) (* y3 z))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)))
(if (<= y1 -3.5e+79)
t_2
(if (<= y1 -5.6e-133)
(*
(fma
t_1
y
(fma (- (* y0 c) (* y1 a)) y2 (* (- j) (- (* y0 b) (* y1 i)))))
x)
(if (<= y1 7.8e+23)
(*
(fma
(+ (* y4 (- b)) (* y5 i))
k
(fma t_1 x (* (- (* y4 c) (* y5 a)) y3)))
y)
t_2)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * a) - (i * c);
double t_2 = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
double tmp;
if (y1 <= -3.5e+79) {
tmp = t_2;
} else if (y1 <= -5.6e-133) {
tmp = fma(t_1, y, fma(((y0 * c) - (y1 * a)), y2, (-j * ((y0 * b) - (y1 * i))))) * x;
} else if (y1 <= 7.8e+23) {
tmp = fma(((y4 * -b) + (y5 * i)), k, fma(t_1, x, (((y4 * c) - (y5 * a)) * y3))) * y;
} else {
tmp = t_2;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) t_2 = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1) tmp = 0.0 if (y1 <= -3.5e+79) tmp = t_2; elseif (y1 <= -5.6e-133) tmp = Float64(fma(t_1, y, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), y2, Float64(Float64(-j) * Float64(Float64(y0 * b) - Float64(y1 * i))))) * x); elseif (y1 <= 7.8e+23) tmp = Float64(fma(Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)), k, fma(t_1, x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); else tmp = t_2; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[y1, -3.5e+79], t$95$2, If[LessEqual[y1, -5.6e-133], N[(N[(t$95$1 * y + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * y2 + N[((-j) * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y1, 7.8e+23], N[(N[(N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], t$95$2]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := \mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{if}\;y1 \leq -3.5 \cdot 10^{+79}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y1 \leq -5.6 \cdot 10^{-133}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\
\mathbf{elif}\;y1 \leq 7.8 \cdot 10^{+23}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y1 < -3.4999999999999998e79 or 7.8000000000000001e23 < y1 Initial program 28.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.4%
if -3.4999999999999998e79 < y1 < -5.5999999999999997e-133Initial program 23.7%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.2%
if -5.5999999999999997e-133 < y1 < 7.8000000000000001e23Initial program 43.3%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.4%
Final simplification56.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -4.4e+58)
(*
(fma
(+ (* y2 (- x)) (* y3 z))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)
(if (<= i 6.6e+43)
(*
(fma
(+ (* y4 (- b)) (* y5 i))
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
y)
(* k (* y1 (fma (- i) z (* y2 y4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (i <= -4.4e+58) {
tmp = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
} else if (i <= 6.6e+43) {
tmp = fma(((y4 * -b) + (y5 * i)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
} else {
tmp = k * (y1 * fma(-i, z, (y2 * y4)));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (i <= -4.4e+58) tmp = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1); elseif (i <= 6.6e+43) tmp = Float64(fma(Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)), k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); else tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -4.4e+58], N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[i, 6.6e+43], N[(N[(N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -4.4 \cdot 10^{+58}:\\
\;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{elif}\;i \leq 6.6 \cdot 10^{+43}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if i < -4.4000000000000001e58Initial program 18.7%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.6%
if -4.4000000000000001e58 < i < 6.6000000000000003e43Initial program 41.7%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.6%
if 6.6000000000000003e43 < i Initial program 23.6%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.0%
Taylor expanded in k around inf
Applied rewrites58.7%
Final simplification53.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -4.6e+286)
(* (* y3 (fma c y4 (* (- a) y5))) y)
(if (<= y5 -3.7e-291)
(*
(fma
(+ (* y2 (- x)) (* y3 z))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)
(if (<= y5 1.5e-51)
(* (* y (fma a b (* (- c) i))) x)
(if (<= y5 1.8e+151)
(* (* z (fma (- c) y3 (* b k))) y0)
(* (* y5 (fma (- a) y3 (* i k))) 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 (y5 <= -4.6e+286) {
tmp = (y3 * fma(c, y4, (-a * y5))) * y;
} else if (y5 <= -3.7e-291) {
tmp = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
} else if (y5 <= 1.5e-51) {
tmp = (y * fma(a, b, (-c * i))) * x;
} else if (y5 <= 1.8e+151) {
tmp = (z * fma(-c, y3, (b * k))) * y0;
} else {
tmp = (y5 * fma(-a, y3, (i * k))) * 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 (y5 <= -4.6e+286) tmp = Float64(Float64(y3 * fma(c, y4, Float64(Float64(-a) * y5))) * y); elseif (y5 <= -3.7e-291) tmp = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1); elseif (y5 <= 1.5e-51) tmp = Float64(Float64(y * fma(a, b, Float64(Float64(-c) * i))) * x); elseif (y5 <= 1.8e+151) tmp = Float64(Float64(z * fma(Float64(-c), y3, Float64(b * k))) * y0); else tmp = Float64(Float64(y5 * fma(Float64(-a), y3, Float64(i * k))) * y); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -4.6e+286], N[(N[(y3 * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y5, -3.7e-291], N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y5, 1.5e-51], N[(N[(y * N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 1.8e+151], N[(N[(z * N[((-c) * y3 + N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], N[(N[(y5 * N[((-a) * y3 + N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -4.6 \cdot 10^{+286}:\\
\;\;\;\;\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y\\
\mathbf{elif}\;y5 \leq -3.7 \cdot 10^{-291}:\\
\;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-51}:\\
\;\;\;\;\left(y \cdot \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right)\right) \cdot x\\
\mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\
\;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\
\mathbf{else}:\\
\;\;\;\;\left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\
\end{array}
\end{array}
if y5 < -4.6000000000000003e286Initial program 20.0%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.0%
Taylor expanded in y5 around inf
Applied rewrites100.0%
Taylor expanded in y3 around inf
Applied rewrites100.0%
if -4.6000000000000003e286 < y5 < -3.7000000000000001e-291Initial program 36.2%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.5%
if -3.7000000000000001e-291 < y5 < 1.50000000000000001e-51Initial program 24.1%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.6%
Taylor expanded in y around inf
Applied rewrites47.4%
if 1.50000000000000001e-51 < y5 < 1.8e151Initial program 42.1%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.9%
Taylor expanded in z around inf
Applied rewrites51.1%
if 1.8e151 < y5 Initial program 26.5%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.8%
Taylor expanded in y5 around inf
Applied rewrites53.8%
Final simplification53.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -3.5e+74)
(* (* t (fma c i (* (- a) b))) z)
(if (<= z 3.6e-43)
(+
(* (* j t) (fma b y4 (* (- i) y5)))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))
(if (<= z 1.1e+211)
(* (* y1 (fma (- a) y2 (* i j))) x)
(* (- a) (* b (* t z)))))))
double code(double x, double y, double z, double t, double 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 <= -3.5e+74) {
tmp = (t * fma(c, i, (-a * b))) * z;
} else if (z <= 3.6e-43) {
tmp = ((j * t) * fma(b, y4, (-i * y5))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
} else if (z <= 1.1e+211) {
tmp = (y1 * fma(-a, y2, (i * j))) * x;
} else {
tmp = -a * (b * (t * z));
}
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 <= -3.5e+74) tmp = Float64(Float64(t * fma(c, i, Float64(Float64(-a) * b))) * z); elseif (z <= 3.6e-43) tmp = Float64(Float64(Float64(j * t) * fma(b, y4, Float64(Float64(-i) * y5))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))); elseif (z <= 1.1e+211) tmp = Float64(Float64(y1 * fma(Float64(-a), y2, Float64(i * j))) * x); else tmp = Float64(Float64(-a) * Float64(b * Float64(t * z))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -3.5e+74], N[(N[(t * N[(c * i + N[((-a) * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[z, 3.6e-43], N[(N[(N[(j * t), $MachinePrecision] * N[(b * y4 + N[((-i) * y5), $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], If[LessEqual[z, 1.1e+211], N[(N[(y1 * N[((-a) * y2 + N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], N[((-a) * N[(b * N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.5 \cdot 10^{+74}:\\
\;\;\;\;\left(t \cdot \mathsf{fma}\left(c, i, \left(-a\right) \cdot b\right)\right) \cdot z\\
\mathbf{elif}\;z \leq 3.6 \cdot 10^{-43}:\\
\;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{+211}:\\
\;\;\;\;\left(y1 \cdot \mathsf{fma}\left(-a, y2, i \cdot j\right)\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;\left(-a\right) \cdot \left(b \cdot \left(t \cdot z\right)\right)\\
\end{array}
\end{array}
if z < -3.50000000000000014e74Initial program 24.1%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.5%
Taylor expanded in t around inf
Applied rewrites52.5%
if -3.50000000000000014e74 < z < 3.5999999999999999e-43Initial program 40.6%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.5%
Taylor expanded in x around 0
Applied rewrites43.9%
if 3.5999999999999999e-43 < z < 1.10000000000000002e211Initial program 29.0%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.1%
Taylor expanded in y1 around inf
Applied rewrites45.1%
if 1.10000000000000002e211 < z Initial program 16.7%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.0%
Taylor expanded in b around inf
Applied rewrites39.3%
Taylor expanded in t around inf
Applied rewrites67.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -3.4e+74)
(* (* t (fma c i (* (- a) b))) z)
(if (<= z 5e-163)
(+ (* b (* (* j t) y4)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))
(if (<= z 2.6e+75)
(* (* i (fma (- c) y (* j y1))) x)
(if (<= z 2.4e+208)
(* (fma (+ (* y2 (- x)) (* y3 z)) y1 (* (* (- t) z) b)) a)
(* (- a) (* b (* t z))))))))
double code(double x, double y, double z, double t, double 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 <= -3.4e+74) {
tmp = (t * fma(c, i, (-a * b))) * z;
} else if (z <= 5e-163) {
tmp = (b * ((j * t) * y4)) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
} else if (z <= 2.6e+75) {
tmp = (i * fma(-c, y, (j * y1))) * x;
} else if (z <= 2.4e+208) {
tmp = fma(((y2 * -x) + (y3 * z)), y1, ((-t * z) * b)) * a;
} else {
tmp = -a * (b * (t * z));
}
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 <= -3.4e+74) tmp = Float64(Float64(t * fma(c, i, Float64(Float64(-a) * b))) * z); elseif (z <= 5e-163) tmp = Float64(Float64(b * Float64(Float64(j * t) * y4)) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))); elseif (z <= 2.6e+75) tmp = Float64(Float64(i * fma(Float64(-c), y, Float64(j * y1))) * x); elseif (z <= 2.4e+208) tmp = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), y1, Float64(Float64(Float64(-t) * z) * b)) * a); else tmp = Float64(Float64(-a) * Float64(b * Float64(t * z))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -3.4e+74], N[(N[(t * N[(c * i + N[((-a) * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[z, 5e-163], N[(N[(b * N[(N[(j * t), $MachinePrecision] * y4), $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], If[LessEqual[z, 2.6e+75], N[(N[(i * N[((-c) * y + N[(j * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[z, 2.4e+208], N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[((-t) * z), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], N[((-a) * N[(b * N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.4 \cdot 10^{+74}:\\
\;\;\;\;\left(t \cdot \mathsf{fma}\left(c, i, \left(-a\right) \cdot b\right)\right) \cdot z\\
\mathbf{elif}\;z \leq 5 \cdot 10^{-163}:\\
\;\;\;\;b \cdot \left(\left(j \cdot t\right) \cdot y4\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\
\mathbf{elif}\;z \leq 2.6 \cdot 10^{+75}:\\
\;\;\;\;\left(i \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\right) \cdot x\\
\mathbf{elif}\;z \leq 2.4 \cdot 10^{+208}:\\
\;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, y1, \left(\left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
\mathbf{else}:\\
\;\;\;\;\left(-a\right) \cdot \left(b \cdot \left(t \cdot z\right)\right)\\
\end{array}
\end{array}
if z < -3.3999999999999999e74Initial program 24.1%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.5%
Taylor expanded in t around inf
Applied rewrites52.5%
if -3.3999999999999999e74 < z < 4.99999999999999977e-163Initial program 41.0%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.6%
Taylor expanded in y4 around inf
Applied rewrites43.0%
if 4.99999999999999977e-163 < z < 2.59999999999999985e75Initial program 38.8%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.6%
Taylor expanded in i around inf
Applied rewrites46.1%
if 2.59999999999999985e75 < z < 2.39999999999999987e208Initial program 22.3%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.3%
Taylor expanded in z around inf
Applied rewrites53.9%
if 2.39999999999999987e208 < z Initial program 15.8%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.2%
Taylor expanded in b around inf
Applied rewrites42.5%
Taylor expanded in t around inf
Applied rewrites63.6%
Final simplification48.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* c z) (fma (- y0) y3 (* i t)))))
(if (<= c -11000000000.0)
t_1
(if (<= c -7.6e-29)
(* (* (* i k) y5) y)
(if (<= c -5e-224)
(* (* a (* y3 z)) y1)
(if (<= c 8.2e-64)
(* (* k z) (fma b y0 (* (- i) y1)))
(if (<= c 5.4e+158) (* (* y0 y2) (fma (- k) y5 (* c x))) 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 * z) * fma(-y0, y3, (i * t));
double tmp;
if (c <= -11000000000.0) {
tmp = t_1;
} else if (c <= -7.6e-29) {
tmp = ((i * k) * y5) * y;
} else if (c <= -5e-224) {
tmp = (a * (y3 * z)) * y1;
} else if (c <= 8.2e-64) {
tmp = (k * z) * fma(b, y0, (-i * y1));
} else if (c <= 5.4e+158) {
tmp = (y0 * y2) * fma(-k, y5, (c * x));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))) tmp = 0.0 if (c <= -11000000000.0) tmp = t_1; elseif (c <= -7.6e-29) tmp = Float64(Float64(Float64(i * k) * y5) * y); elseif (c <= -5e-224) tmp = Float64(Float64(a * Float64(y3 * z)) * y1); elseif (c <= 8.2e-64) tmp = Float64(Float64(k * z) * fma(b, y0, Float64(Float64(-i) * y1))); elseif (c <= 5.4e+158) tmp = Float64(Float64(y0 * y2) * fma(Float64(-k), y5, Float64(c * x))); else tmp = t_1; end return 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 * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -11000000000.0], t$95$1, If[LessEqual[c, -7.6e-29], N[(N[(N[(i * k), $MachinePrecision] * y5), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, -5e-224], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, 8.2e-64], N[(N[(k * z), $MachinePrecision] * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.4e+158], N[(N[(y0 * y2), $MachinePrecision] * N[((-k) * y5 + N[(c * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\mathbf{if}\;c \leq -11000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\
\;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\
\mathbf{elif}\;c \leq -5 \cdot 10^{-224}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
\mathbf{elif}\;c \leq 8.2 \cdot 10^{-64}:\\
\;\;\;\;\left(k \cdot z\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\\
\mathbf{elif}\;c \leq 5.4 \cdot 10^{+158}:\\
\;\;\;\;\left(y0 \cdot y2\right) \cdot \mathsf{fma}\left(-k, y5, c \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.1e10 or 5.39999999999999957e158 < c Initial program 26.8%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.4%
Taylor expanded in b around inf
Applied rewrites23.4%
Taylor expanded in c around inf
Applied rewrites42.1%
if -1.1e10 < c < -7.59999999999999951e-29Initial program 33.4%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.6%
Taylor expanded in y5 around inf
Applied rewrites67.0%
Taylor expanded in a around 0
Applied rewrites67.0%
if -7.59999999999999951e-29 < c < -4.9999999999999999e-224Initial program 37.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.6%
Taylor expanded in a around inf
Applied rewrites43.3%
Taylor expanded in x around 0
Applied rewrites33.6%
if -4.9999999999999999e-224 < c < 8.2000000000000001e-64Initial program 44.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites34.6%
Taylor expanded in k around inf
Applied rewrites34.6%
if 8.2000000000000001e-64 < c < 5.39999999999999957e158Initial program 25.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.9%
Taylor expanded in y2 around inf
Applied rewrites49.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* c z) (fma (- y0) y3 (* i t)))))
(if (<= c -11000000000.0)
t_1
(if (<= c -7.6e-29)
(* (* (* i k) y5) y)
(if (<= c -5.5e-166)
(* (* a (* y3 z)) y1)
(if (<= c -2.55e-241)
(* (* b z) (fma (- a) t (* k y0)))
(if (<= c 6.4e+116) (* (* (* y1 z) k) (- i)) 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 * z) * fma(-y0, y3, (i * t));
double tmp;
if (c <= -11000000000.0) {
tmp = t_1;
} else if (c <= -7.6e-29) {
tmp = ((i * k) * y5) * y;
} else if (c <= -5.5e-166) {
tmp = (a * (y3 * z)) * y1;
} else if (c <= -2.55e-241) {
tmp = (b * z) * fma(-a, t, (k * y0));
} else if (c <= 6.4e+116) {
tmp = ((y1 * z) * k) * -i;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))) tmp = 0.0 if (c <= -11000000000.0) tmp = t_1; elseif (c <= -7.6e-29) tmp = Float64(Float64(Float64(i * k) * y5) * y); elseif (c <= -5.5e-166) tmp = Float64(Float64(a * Float64(y3 * z)) * y1); elseif (c <= -2.55e-241) tmp = Float64(Float64(b * z) * fma(Float64(-a), t, Float64(k * y0))); elseif (c <= 6.4e+116) tmp = Float64(Float64(Float64(y1 * z) * k) * Float64(-i)); else tmp = t_1; end return 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 * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -11000000000.0], t$95$1, If[LessEqual[c, -7.6e-29], N[(N[(N[(i * k), $MachinePrecision] * y5), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, -5.5e-166], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, -2.55e-241], N[(N[(b * z), $MachinePrecision] * N[((-a) * t + N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.4e+116], N[(N[(N[(y1 * z), $MachinePrecision] * k), $MachinePrecision] * (-i)), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\mathbf{if}\;c \leq -11000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\
\;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\
\mathbf{elif}\;c \leq -5.5 \cdot 10^{-166}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
\mathbf{elif}\;c \leq -2.55 \cdot 10^{-241}:\\
\;\;\;\;\left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\
\mathbf{elif}\;c \leq 6.4 \cdot 10^{+116}:\\
\;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.1e10 or 6.4000000000000001e116 < c Initial program 26.3%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.3%
Taylor expanded in b around inf
Applied rewrites23.1%
Taylor expanded in c around inf
Applied rewrites42.5%
if -1.1e10 < c < -7.59999999999999951e-29Initial program 33.4%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.6%
Taylor expanded in y5 around inf
Applied rewrites67.0%
Taylor expanded in a around 0
Applied rewrites67.0%
if -7.59999999999999951e-29 < c < -5.4999999999999997e-166Initial program 37.2%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites63.4%
Taylor expanded in a around inf
Applied rewrites45.2%
Taylor expanded in x around 0
Applied rewrites34.6%
if -5.4999999999999997e-166 < c < -2.5499999999999999e-241Initial program 40.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.8%
Taylor expanded in b around inf
Applied rewrites60.0%
if -2.5499999999999999e-241 < c < 6.4000000000000001e116Initial program 38.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.8%
Taylor expanded in k around inf
Applied rewrites36.4%
Taylor expanded in z around inf
Applied rewrites30.8%
Final simplification39.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* y5 (fma (- a) y3 (* i k))) y)))
(if (<= y5 -6.5e+63)
t_1
(if (<= y5 3.4e-301)
(* k (* y1 (fma (- i) z (* y2 y4))))
(if (<= y5 1.5e-51)
(* (* y (fma a b (* (- c) i))) x)
(if (<= y5 1.8e+151) (* (* z (fma (- c) y3 (* b k))) y0) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y5 * fma(-a, y3, (i * k))) * y;
double tmp;
if (y5 <= -6.5e+63) {
tmp = t_1;
} else if (y5 <= 3.4e-301) {
tmp = k * (y1 * fma(-i, z, (y2 * y4)));
} else if (y5 <= 1.5e-51) {
tmp = (y * fma(a, b, (-c * i))) * x;
} else if (y5 <= 1.8e+151) {
tmp = (z * fma(-c, y3, (b * k))) * y0;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y5 * fma(Float64(-a), y3, Float64(i * k))) * y) tmp = 0.0 if (y5 <= -6.5e+63) tmp = t_1; elseif (y5 <= 3.4e-301) tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); elseif (y5 <= 1.5e-51) tmp = Float64(Float64(y * fma(a, b, Float64(Float64(-c) * i))) * x); elseif (y5 <= 1.8e+151) tmp = Float64(Float64(z * fma(Float64(-c), y3, Float64(b * k))) * y0); else tmp = t_1; end return 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[(y5 * N[((-a) * y3 + N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y5, -6.5e+63], t$95$1, If[LessEqual[y5, 3.4e-301], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.5e-51], N[(N[(y * N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 1.8e+151], N[(N[(z * N[((-c) * y3 + N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\
\mathbf{if}\;y5 \leq -6.5 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 3.4 \cdot 10^{-301}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-51}:\\
\;\;\;\;\left(y \cdot \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right)\right) \cdot x\\
\mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\
\;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -6.49999999999999992e63 or 1.8e151 < y5 Initial program 28.9%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.8%
Taylor expanded in y5 around inf
Applied rewrites51.9%
if -6.49999999999999992e63 < y5 < 3.4000000000000002e-301Initial program 39.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites52.6%
Taylor expanded in k around inf
Applied rewrites43.7%
if 3.4000000000000002e-301 < y5 < 1.50000000000000001e-51Initial program 22.6%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.0%
Taylor expanded in y around inf
Applied rewrites46.1%
if 1.50000000000000001e-51 < y5 < 1.8e151Initial program 42.1%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.9%
Taylor expanded in z around inf
Applied rewrites51.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* y5 (fma (- a) y3 (* i k))) y)))
(if (<= y5 -6.5e+63)
t_1
(if (<= y5 1.05e-285)
(* k (* y1 (fma (- i) z (* y2 y4))))
(if (<= y5 9e-89)
(* (* t (fma c i (* (- a) b))) z)
(if (<= y5 1.8e+151) (* (* z (fma (- c) y3 (* b k))) y0) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y5 * fma(-a, y3, (i * k))) * y;
double tmp;
if (y5 <= -6.5e+63) {
tmp = t_1;
} else if (y5 <= 1.05e-285) {
tmp = k * (y1 * fma(-i, z, (y2 * y4)));
} else if (y5 <= 9e-89) {
tmp = (t * fma(c, i, (-a * b))) * z;
} else if (y5 <= 1.8e+151) {
tmp = (z * fma(-c, y3, (b * k))) * y0;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y5 * fma(Float64(-a), y3, Float64(i * k))) * y) tmp = 0.0 if (y5 <= -6.5e+63) tmp = t_1; elseif (y5 <= 1.05e-285) tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); elseif (y5 <= 9e-89) tmp = Float64(Float64(t * fma(c, i, Float64(Float64(-a) * b))) * z); elseif (y5 <= 1.8e+151) tmp = Float64(Float64(z * fma(Float64(-c), y3, Float64(b * k))) * y0); else tmp = t_1; end return 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[(y5 * N[((-a) * y3 + N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y5, -6.5e+63], t$95$1, If[LessEqual[y5, 1.05e-285], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9e-89], N[(N[(t * N[(c * i + N[((-a) * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y5, 1.8e+151], N[(N[(z * N[((-c) * y3 + N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\
\mathbf{if}\;y5 \leq -6.5 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 1.05 \cdot 10^{-285}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 9 \cdot 10^{-89}:\\
\;\;\;\;\left(t \cdot \mathsf{fma}\left(c, i, \left(-a\right) \cdot b\right)\right) \cdot z\\
\mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\
\;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -6.49999999999999992e63 or 1.8e151 < y5 Initial program 28.9%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.8%
Taylor expanded in y5 around inf
Applied rewrites51.9%
if -6.49999999999999992e63 < y5 < 1.04999999999999992e-285Initial program 40.9%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites52.5%
Taylor expanded in k around inf
Applied rewrites42.8%
if 1.04999999999999992e-285 < y5 < 8.9999999999999998e-89Initial program 16.7%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.4%
Taylor expanded in t around inf
Applied rewrites50.9%
if 8.9999999999999998e-89 < y5 < 1.8e151Initial program 39.9%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.0%
Taylor expanded in z around inf
Applied rewrites45.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* c z) (fma (- y0) y3 (* i t)))))
(if (<= c -11000000000.0)
t_1
(if (<= c -7.6e-29)
(* (* (* i k) y5) y)
(if (<= c -5e-224)
(* (* a (* y3 z)) y1)
(if (<= c 6.4e+116) (* (* k z) (fma b y0 (* (- i) y1))) 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 * z) * fma(-y0, y3, (i * t));
double tmp;
if (c <= -11000000000.0) {
tmp = t_1;
} else if (c <= -7.6e-29) {
tmp = ((i * k) * y5) * y;
} else if (c <= -5e-224) {
tmp = (a * (y3 * z)) * y1;
} else if (c <= 6.4e+116) {
tmp = (k * z) * fma(b, y0, (-i * y1));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))) tmp = 0.0 if (c <= -11000000000.0) tmp = t_1; elseif (c <= -7.6e-29) tmp = Float64(Float64(Float64(i * k) * y5) * y); elseif (c <= -5e-224) tmp = Float64(Float64(a * Float64(y3 * z)) * y1); elseif (c <= 6.4e+116) tmp = Float64(Float64(k * z) * fma(b, y0, Float64(Float64(-i) * y1))); else tmp = t_1; end return 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 * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -11000000000.0], t$95$1, If[LessEqual[c, -7.6e-29], N[(N[(N[(i * k), $MachinePrecision] * y5), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, -5e-224], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, 6.4e+116], N[(N[(k * z), $MachinePrecision] * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\mathbf{if}\;c \leq -11000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\
\;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\
\mathbf{elif}\;c \leq -5 \cdot 10^{-224}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
\mathbf{elif}\;c \leq 6.4 \cdot 10^{+116}:\\
\;\;\;\;\left(k \cdot z\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.1e10 or 6.4000000000000001e116 < c Initial program 26.3%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.3%
Taylor expanded in b around inf
Applied rewrites23.1%
Taylor expanded in c around inf
Applied rewrites42.5%
if -1.1e10 < c < -7.59999999999999951e-29Initial program 33.4%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.6%
Taylor expanded in y5 around inf
Applied rewrites67.0%
Taylor expanded in a around 0
Applied rewrites67.0%
if -7.59999999999999951e-29 < c < -4.9999999999999999e-224Initial program 37.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.6%
Taylor expanded in a around inf
Applied rewrites43.3%
Taylor expanded in x around 0
Applied rewrites33.6%
if -4.9999999999999999e-224 < c < 6.4000000000000001e116Initial program 38.3%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites34.2%
Taylor expanded in k around inf
Applied rewrites32.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -5.9e+258)
(* (* a (* y3 z)) y1)
(if (or (<= y3 -1.4e+157) (not (<= y3 1e+74)))
(* (* y y3) (fma c y4 (* (- a) y5)))
(* k (* y1 (fma (- i) z (* y2 y4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -5.9e+258) {
tmp = (a * (y3 * z)) * y1;
} else if ((y3 <= -1.4e+157) || !(y3 <= 1e+74)) {
tmp = (y * y3) * fma(c, y4, (-a * y5));
} else {
tmp = k * (y1 * fma(-i, z, (y2 * y4)));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -5.9e+258) tmp = Float64(Float64(a * Float64(y3 * z)) * y1); elseif ((y3 <= -1.4e+157) || !(y3 <= 1e+74)) tmp = Float64(Float64(y * y3) * fma(c, y4, Float64(Float64(-a) * y5))); else tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -5.9e+258], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[Or[LessEqual[y3, -1.4e+157], N[Not[LessEqual[y3, 1e+74]], $MachinePrecision]], N[(N[(y * y3), $MachinePrecision] * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -5.9 \cdot 10^{+258}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
\mathbf{elif}\;y3 \leq -1.4 \cdot 10^{+157} \lor \neg \left(y3 \leq 10^{+74}\right):\\
\;\;\;\;\left(y \cdot y3\right) \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y3 < -5.9000000000000001e258Initial program 23.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.8%
Taylor expanded in a around inf
Applied rewrites84.7%
Taylor expanded in x around 0
Applied rewrites84.7%
if -5.9000000000000001e258 < y3 < -1.4000000000000001e157 or 9.99999999999999952e73 < y3 Initial program 29.2%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.2%
Taylor expanded in y3 around inf
Applied rewrites60.5%
if -1.4000000000000001e157 < y3 < 9.99999999999999952e73Initial program 34.4%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.9%
Taylor expanded in k around inf
Applied rewrites35.8%
Final simplification44.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* (* y4 y2) y1))))
(if (<= y2 -2.15e+110)
t_1
(if (<= y2 -2.7e-64)
(* k (* (* y1 z) (- i)))
(if (<= y2 1.6e-205)
(* (* b z) (fma (- a) t (* k y0)))
(if (<= y2 4e+106) (* (* (* y1 z) k) (- i)) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * ((y4 * y2) * y1);
double tmp;
if (y2 <= -2.15e+110) {
tmp = t_1;
} else if (y2 <= -2.7e-64) {
tmp = k * ((y1 * z) * -i);
} else if (y2 <= 1.6e-205) {
tmp = (b * z) * fma(-a, t, (k * y0));
} else if (y2 <= 4e+106) {
tmp = ((y1 * z) * k) * -i;
} 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(k * Float64(Float64(y4 * y2) * y1)) tmp = 0.0 if (y2 <= -2.15e+110) tmp = t_1; elseif (y2 <= -2.7e-64) tmp = Float64(k * Float64(Float64(y1 * z) * Float64(-i))); elseif (y2 <= 1.6e-205) tmp = Float64(Float64(b * z) * fma(Float64(-a), t, Float64(k * y0))); elseif (y2 <= 4e+106) tmp = Float64(Float64(Float64(y1 * z) * k) * Float64(-i)); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.15e+110], t$95$1, If[LessEqual[y2, -2.7e-64], N[(k * N[(N[(y1 * z), $MachinePrecision] * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.6e-205], N[(N[(b * z), $MachinePrecision] * N[((-a) * t + N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4e+106], N[(N[(N[(y1 * z), $MachinePrecision] * k), $MachinePrecision] * (-i)), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
\mathbf{if}\;y2 \leq -2.15 \cdot 10^{+110}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -2.7 \cdot 10^{-64}:\\
\;\;\;\;k \cdot \left(\left(y1 \cdot z\right) \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y2 \leq 1.6 \cdot 10^{-205}:\\
\;\;\;\;\left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\
\mathbf{elif}\;y2 \leq 4 \cdot 10^{+106}:\\
\;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -2.15000000000000003e110 or 4.00000000000000036e106 < y2 Initial program 27.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.4%
Taylor expanded in k around inf
Applied rewrites47.6%
Taylor expanded in z around 0
Applied rewrites44.4%
if -2.15000000000000003e110 < y2 < -2.69999999999999986e-64Initial program 27.9%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.3%
Taylor expanded in k around inf
Applied rewrites29.0%
Taylor expanded in z around inf
Applied rewrites29.1%
if -2.69999999999999986e-64 < y2 < 1.60000000000000005e-205Initial program 38.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.3%
Taylor expanded in b around inf
Applied rewrites29.1%
if 1.60000000000000005e-205 < y2 < 4.00000000000000036e106Initial program 34.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.1%
Taylor expanded in k around inf
Applied rewrites39.2%
Taylor expanded in z around inf
Applied rewrites33.7%
Final simplification35.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -4.5e+205)
(* (* (- a) (* y3 y5)) y)
(if (<= a -18000000.0)
(* k (* (* y4 y2) y1))
(if (<= a 1.4e-253)
(* (* (* i k) y5) y)
(if (<= a 4e+50) (* (* (* y1 z) k) (- i)) (* (* (* (- a) t) z) 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 (a <= -4.5e+205) {
tmp = (-a * (y3 * y5)) * y;
} else if (a <= -18000000.0) {
tmp = k * ((y4 * y2) * y1);
} else if (a <= 1.4e-253) {
tmp = ((i * k) * y5) * y;
} else if (a <= 4e+50) {
tmp = ((y1 * z) * k) * -i;
} else {
tmp = ((-a * t) * z) * 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 (a <= (-4.5d+205)) then
tmp = (-a * (y3 * y5)) * y
else if (a <= (-18000000.0d0)) then
tmp = k * ((y4 * y2) * y1)
else if (a <= 1.4d-253) then
tmp = ((i * k) * y5) * y
else if (a <= 4d+50) then
tmp = ((y1 * z) * k) * -i
else
tmp = ((-a * t) * z) * 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 (a <= -4.5e+205) {
tmp = (-a * (y3 * y5)) * y;
} else if (a <= -18000000.0) {
tmp = k * ((y4 * y2) * y1);
} else if (a <= 1.4e-253) {
tmp = ((i * k) * y5) * y;
} else if (a <= 4e+50) {
tmp = ((y1 * z) * k) * -i;
} else {
tmp = ((-a * t) * z) * b;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -4.5e+205: tmp = (-a * (y3 * y5)) * y elif a <= -18000000.0: tmp = k * ((y4 * y2) * y1) elif a <= 1.4e-253: tmp = ((i * k) * y5) * y elif a <= 4e+50: tmp = ((y1 * z) * k) * -i else: tmp = ((-a * t) * z) * 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 (a <= -4.5e+205) tmp = Float64(Float64(Float64(-a) * Float64(y3 * y5)) * y); elseif (a <= -18000000.0) tmp = Float64(k * Float64(Float64(y4 * y2) * y1)); elseif (a <= 1.4e-253) tmp = Float64(Float64(Float64(i * k) * y5) * y); elseif (a <= 4e+50) tmp = Float64(Float64(Float64(y1 * z) * k) * Float64(-i)); else tmp = Float64(Float64(Float64(Float64(-a) * t) * z) * 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 (a <= -4.5e+205) tmp = (-a * (y3 * y5)) * y; elseif (a <= -18000000.0) tmp = k * ((y4 * y2) * y1); elseif (a <= 1.4e-253) tmp = ((i * k) * y5) * y; elseif (a <= 4e+50) tmp = ((y1 * z) * k) * -i; else tmp = ((-a * t) * z) * 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[a, -4.5e+205], N[(N[((-a) * N[(y3 * y5), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[a, -18000000.0], N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.4e-253], N[(N[(N[(i * k), $MachinePrecision] * y5), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[a, 4e+50], N[(N[(N[(y1 * z), $MachinePrecision] * k), $MachinePrecision] * (-i)), $MachinePrecision], N[(N[(N[((-a) * t), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.5 \cdot 10^{+205}:\\
\;\;\;\;\left(\left(-a\right) \cdot \left(y3 \cdot y5\right)\right) \cdot y\\
\mathbf{elif}\;a \leq -18000000:\\
\;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
\mathbf{elif}\;a \leq 1.4 \cdot 10^{-253}:\\
\;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\
\mathbf{elif}\;a \leq 4 \cdot 10^{+50}:\\
\;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(-a\right) \cdot t\right) \cdot z\right) \cdot b\\
\end{array}
\end{array}
if a < -4.50000000000000035e205Initial program 24.9%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites32.4%
Taylor expanded in y5 around inf
Applied rewrites54.1%
Taylor expanded in a around inf
Applied rewrites54.0%
if -4.50000000000000035e205 < a < -1.8e7Initial program 32.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.5%
Taylor expanded in k around inf
Applied rewrites48.2%
Taylor expanded in z around 0
Applied rewrites38.7%
if -1.8e7 < a < 1.40000000000000003e-253Initial program 36.0%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.0%
Taylor expanded in y5 around inf
Applied rewrites27.2%
Taylor expanded in a around 0
Applied rewrites30.9%
if 1.40000000000000003e-253 < a < 4.0000000000000003e50Initial program 33.2%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.2%
Taylor expanded in k around inf
Applied rewrites28.8%
Taylor expanded in z around inf
Applied rewrites22.3%
if 4.0000000000000003e50 < a Initial program 30.6%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites26.8%
Taylor expanded in b around inf
Applied rewrites31.4%
Taylor expanded in t around inf
Applied rewrites33.7%
Applied rewrites41.6%
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) (* b (* t z)))))
(if (<= z -1.6e+102)
t_1
(if (<= z -9.5e-107)
(* k (* (* y4 y2) y1))
(if (<= z 3.5e+101)
(* (* (* i k) y5) y)
(if (<= z 9.2e+167) (* a (* (* b x) 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 = -a * (b * (t * z));
double tmp;
if (z <= -1.6e+102) {
tmp = t_1;
} else if (z <= -9.5e-107) {
tmp = k * ((y4 * y2) * y1);
} else if (z <= 3.5e+101) {
tmp = ((i * k) * y5) * y;
} else if (z <= 9.2e+167) {
tmp = a * ((b * x) * y);
} 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 * (t * z))
if (z <= (-1.6d+102)) then
tmp = t_1
else if (z <= (-9.5d-107)) then
tmp = k * ((y4 * y2) * y1)
else if (z <= 3.5d+101) then
tmp = ((i * k) * y5) * y
else if (z <= 9.2d+167) then
tmp = a * ((b * x) * y)
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 * (t * z));
double tmp;
if (z <= -1.6e+102) {
tmp = t_1;
} else if (z <= -9.5e-107) {
tmp = k * ((y4 * y2) * y1);
} else if (z <= 3.5e+101) {
tmp = ((i * k) * y5) * y;
} else if (z <= 9.2e+167) {
tmp = a * ((b * x) * y);
} 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 * (t * z)) tmp = 0 if z <= -1.6e+102: tmp = t_1 elif z <= -9.5e-107: tmp = k * ((y4 * y2) * y1) elif z <= 3.5e+101: tmp = ((i * k) * y5) * y elif z <= 9.2e+167: tmp = a * ((b * x) * y) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(-a) * Float64(b * Float64(t * z))) tmp = 0.0 if (z <= -1.6e+102) tmp = t_1; elseif (z <= -9.5e-107) tmp = Float64(k * Float64(Float64(y4 * y2) * y1)); elseif (z <= 3.5e+101) tmp = Float64(Float64(Float64(i * k) * y5) * y); elseif (z <= 9.2e+167) tmp = Float64(a * Float64(Float64(b * x) * y)); 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 * (t * z)); tmp = 0.0; if (z <= -1.6e+102) tmp = t_1; elseif (z <= -9.5e-107) tmp = k * ((y4 * y2) * y1); elseif (z <= 3.5e+101) tmp = ((i * k) * y5) * y; elseif (z <= 9.2e+167) tmp = a * ((b * x) * y); 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[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.6e+102], t$95$1, If[LessEqual[z, -9.5e-107], N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e+101], N[(N[(N[(i * k), $MachinePrecision] * y5), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 9.2e+167], N[(a * N[(N[(b * x), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(-a\right) \cdot \left(b \cdot \left(t \cdot z\right)\right)\\
\mathbf{if}\;z \leq -1.6 \cdot 10^{+102}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -9.5 \cdot 10^{-107}:\\
\;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
\mathbf{elif}\;z \leq 3.5 \cdot 10^{+101}:\\
\;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\
\mathbf{elif}\;z \leq 9.2 \cdot 10^{+167}:\\
\;\;\;\;a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.6e102 or 9.19999999999999952e167 < z Initial program 22.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.4%
Taylor expanded in b around inf
Applied rewrites44.1%
Taylor expanded in t around inf
Applied rewrites46.8%
if -1.6e102 < z < -9.4999999999999999e-107Initial program 39.6%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.6%
Taylor expanded in k around inf
Applied rewrites25.0%
Taylor expanded in z around 0
Applied rewrites20.2%
if -9.4999999999999999e-107 < z < 3.50000000000000023e101Initial program 38.7%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.8%
Taylor expanded in y5 around inf
Applied rewrites35.3%
Taylor expanded in a around 0
Applied rewrites28.5%
if 3.50000000000000023e101 < z < 9.19999999999999952e167Initial program 19.6%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.7%
Taylor expanded in x around inf
Applied rewrites45.4%
Taylor expanded in a around inf
Applied rewrites44.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* y3 (fma (- j) y4 (* a z))) y1)))
(if (<= y3 -1e+259)
t_1
(if (<= y3 -1.4e+157)
(* (* y3 (fma c y4 (* (- a) y5))) y)
(if (<= y3 4.2e+188) (* k (* y1 (fma (- i) z (* y2 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 = (y3 * fma(-j, y4, (a * z))) * y1;
double tmp;
if (y3 <= -1e+259) {
tmp = t_1;
} else if (y3 <= -1.4e+157) {
tmp = (y3 * fma(c, y4, (-a * y5))) * y;
} else if (y3 <= 4.2e+188) {
tmp = k * (y1 * fma(-i, z, (y2 * 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(Float64(y3 * fma(Float64(-j), y4, Float64(a * z))) * y1) tmp = 0.0 if (y3 <= -1e+259) tmp = t_1; elseif (y3 <= -1.4e+157) tmp = Float64(Float64(y3 * fma(c, y4, Float64(Float64(-a) * y5))) * y); elseif (y3 <= 4.2e+188) tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); else tmp = t_1; end return 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[(y3 * N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[y3, -1e+259], t$95$1, If[LessEqual[y3, -1.4e+157], N[(N[(y3 * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y3, 4.2e+188], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\
\mathbf{if}\;y3 \leq -1 \cdot 10^{+259}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -1.4 \cdot 10^{+157}:\\
\;\;\;\;\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y\\
\mathbf{elif}\;y3 \leq 4.2 \cdot 10^{+188}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y3 < -9.999999999999999e258 or 4.19999999999999973e188 < y3 Initial program 19.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.4%
Taylor expanded in y3 around inf
Applied rewrites73.4%
if -9.999999999999999e258 < y3 < -1.4000000000000001e157Initial program 36.8%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.0%
Taylor expanded in y5 around inf
Applied rewrites63.5%
Taylor expanded in y3 around inf
Applied rewrites79.1%
if -1.4000000000000001e157 < y3 < 4.19999999999999973e188Initial program 34.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.7%
Taylor expanded in k around inf
Applied rewrites36.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -1.8e+54)
(* (* y y4) (fma c y3 (* b (- k))))
(if (<= y -8.2e-173)
(* (* y3 (fma (- j) y4 (* a z))) y1)
(if (<= y 2.65e+98)
(* k (* y1 (fma (- i) z (* y2 y4))))
(* (* y y3) (fma c y4 (* (- a) 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.8e+54) {
tmp = (y * y4) * fma(c, y3, (b * -k));
} else if (y <= -8.2e-173) {
tmp = (y3 * fma(-j, y4, (a * z))) * y1;
} else if (y <= 2.65e+98) {
tmp = k * (y1 * fma(-i, z, (y2 * y4)));
} else {
tmp = (y * y3) * fma(c, y4, (-a * 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.8e+54) tmp = Float64(Float64(y * y4) * fma(c, y3, Float64(b * Float64(-k)))); elseif (y <= -8.2e-173) tmp = Float64(Float64(y3 * fma(Float64(-j), y4, Float64(a * z))) * y1); elseif (y <= 2.65e+98) tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); else tmp = Float64(Float64(y * y3) * fma(c, y4, Float64(Float64(-a) * y5))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1.8e+54], N[(N[(y * y4), $MachinePrecision] * N[(c * y3 + N[(b * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -8.2e-173], N[(N[(y3 * N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 2.65e+98], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * y3), $MachinePrecision] * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.8 \cdot 10^{+54}:\\
\;\;\;\;\left(y \cdot y4\right) \cdot \mathsf{fma}\left(c, y3, b \cdot \left(-k\right)\right)\\
\mathbf{elif}\;y \leq -8.2 \cdot 10^{-173}:\\
\;\;\;\;\left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\
\mathbf{elif}\;y \leq 2.65 \cdot 10^{+98}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y \cdot y3\right) \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\\
\end{array}
\end{array}
if y < -1.8000000000000001e54Initial program 29.7%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites68.9%
Taylor expanded in x around inf
Applied rewrites44.0%
Taylor expanded in y4 around inf
Applied rewrites49.5%
if -1.8000000000000001e54 < y < -8.1999999999999995e-173Initial program 37.3%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.4%
Taylor expanded in y3 around inf
Applied rewrites46.1%
if -8.1999999999999995e-173 < y < 2.64999999999999999e98Initial program 40.0%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.7%
Taylor expanded in k around inf
Applied rewrites41.9%
if 2.64999999999999999e98 < y Initial program 16.8%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.3%
Taylor expanded in y3 around inf
Applied rewrites48.7%
Final simplification45.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -3.7e+257)
(* (* a (* y3 z)) y1)
(if (<= y3 -1.6e+158)
(* (* (- a) (* y3 y5)) y)
(if (<= y3 9.2e+256)
(* k (* y1 (fma (- i) z (* y2 y4))))
(* (* c z) (fma (- y0) y3 (* i t)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -3.7e+257) {
tmp = (a * (y3 * z)) * y1;
} else if (y3 <= -1.6e+158) {
tmp = (-a * (y3 * y5)) * y;
} else if (y3 <= 9.2e+256) {
tmp = k * (y1 * fma(-i, z, (y2 * y4)));
} else {
tmp = (c * z) * fma(-y0, y3, (i * t));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -3.7e+257) tmp = Float64(Float64(a * Float64(y3 * z)) * y1); elseif (y3 <= -1.6e+158) tmp = Float64(Float64(Float64(-a) * Float64(y3 * y5)) * y); elseif (y3 <= 9.2e+256) tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); else tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -3.7e+257], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y3, -1.6e+158], N[(N[((-a) * N[(y3 * y5), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y3, 9.2e+256], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -3.7 \cdot 10^{+257}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
\mathbf{elif}\;y3 \leq -1.6 \cdot 10^{+158}:\\
\;\;\;\;\left(\left(-a\right) \cdot \left(y3 \cdot y5\right)\right) \cdot y\\
\mathbf{elif}\;y3 \leq 9.2 \cdot 10^{+256}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\end{array}
\end{array}
if y3 < -3.69999999999999991e257Initial program 23.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.8%
Taylor expanded in a around inf
Applied rewrites84.7%
Taylor expanded in x around 0
Applied rewrites84.7%
if -3.69999999999999991e257 < y3 < -1.59999999999999997e158Initial program 36.8%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.0%
Taylor expanded in y5 around inf
Applied rewrites63.5%
Taylor expanded in a around inf
Applied rewrites74.0%
if -1.59999999999999997e158 < y3 < 9.1999999999999995e256Initial program 32.7%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.1%
Taylor expanded in k around inf
Applied rewrites37.2%
if 9.1999999999999995e256 < y3 Initial program 33.3%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.7%
Taylor expanded in b around inf
Applied rewrites23.8%
Taylor expanded in c around inf
Applied rewrites56.3%
(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))) (t_2 (* k (* (* y4 y2) y1))))
(if (<= y -4.2e+49)
t_1
(if (<= y -1.95e-55)
t_2
(if (<= y -8.8e-210)
(* (* b z) (* k y0))
(if (<= y 4.3e+266) t_2 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((b * x) * y);
double t_2 = k * ((y4 * y2) * y1);
double tmp;
if (y <= -4.2e+49) {
tmp = t_1;
} else if (y <= -1.95e-55) {
tmp = t_2;
} else if (y <= -8.8e-210) {
tmp = (b * z) * (k * y0);
} else if (y <= 4.3e+266) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * ((b * x) * y)
t_2 = k * ((y4 * y2) * y1)
if (y <= (-4.2d+49)) then
tmp = t_1
else if (y <= (-1.95d-55)) then
tmp = t_2
else if (y <= (-8.8d-210)) then
tmp = (b * z) * (k * y0)
else if (y <= 4.3d+266) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((b * x) * y);
double t_2 = k * ((y4 * y2) * y1);
double tmp;
if (y <= -4.2e+49) {
tmp = t_1;
} else if (y <= -1.95e-55) {
tmp = t_2;
} else if (y <= -8.8e-210) {
tmp = (b * z) * (k * y0);
} else if (y <= 4.3e+266) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((b * x) * y) t_2 = k * ((y4 * y2) * y1) tmp = 0 if y <= -4.2e+49: tmp = t_1 elif y <= -1.95e-55: tmp = t_2 elif y <= -8.8e-210: tmp = (b * z) * (k * y0) elif y <= 4.3e+266: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(b * x) * y)) t_2 = Float64(k * Float64(Float64(y4 * y2) * y1)) tmp = 0.0 if (y <= -4.2e+49) tmp = t_1; elseif (y <= -1.95e-55) tmp = t_2; elseif (y <= -8.8e-210) tmp = Float64(Float64(b * z) * Float64(k * y0)); elseif (y <= 4.3e+266) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((b * x) * y); t_2 = k * ((y4 * y2) * y1); tmp = 0.0; if (y <= -4.2e+49) tmp = t_1; elseif (y <= -1.95e-55) tmp = t_2; elseif (y <= -8.8e-210) tmp = (b * z) * (k * y0); elseif (y <= 4.3e+266) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(b * x), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.2e+49], t$95$1, If[LessEqual[y, -1.95e-55], t$95$2, If[LessEqual[y, -8.8e-210], N[(N[(b * z), $MachinePrecision] * N[(k * y0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.3e+266], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\
t_2 := k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
\mathbf{if}\;y \leq -4.2 \cdot 10^{+49}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -1.95 \cdot 10^{-55}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq -8.8 \cdot 10^{-210}:\\
\;\;\;\;\left(b \cdot z\right) \cdot \left(k \cdot y0\right)\\
\mathbf{elif}\;y \leq 4.3 \cdot 10^{+266}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.20000000000000022e49 or 4.3000000000000002e266 < y Initial program 25.3%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites65.9%
Taylor expanded in x around inf
Applied rewrites46.3%
Taylor expanded in a around inf
Applied rewrites44.6%
if -4.20000000000000022e49 < y < -1.95e-55 or -8.79999999999999958e-210 < y < 4.3000000000000002e266Initial program 31.3%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.8%
Taylor expanded in k around inf
Applied rewrites41.7%
Taylor expanded in z around 0
Applied rewrites28.0%
if -1.95e-55 < y < -8.79999999999999958e-210Initial program 51.4%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.5%
Taylor expanded in b around inf
Applied rewrites41.0%
Taylor expanded in t around 0
Applied rewrites32.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* (* y4 y2) y1))))
(if (<= y4 -1.1e+114)
t_1
(if (<= y4 -1.7e-100)
(* a (* (* b x) y))
(if (<= y4 1.72e+152) (* (* (* y1 z) k) (- i)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * ((y4 * y2) * y1);
double tmp;
if (y4 <= -1.1e+114) {
tmp = t_1;
} else if (y4 <= -1.7e-100) {
tmp = a * ((b * x) * y);
} else if (y4 <= 1.72e+152) {
tmp = ((y1 * z) * k) * -i;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * ((y4 * y2) * y1)
if (y4 <= (-1.1d+114)) then
tmp = t_1
else if (y4 <= (-1.7d-100)) then
tmp = a * ((b * x) * y)
else if (y4 <= 1.72d+152) then
tmp = ((y1 * z) * k) * -i
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * ((y4 * y2) * y1);
double tmp;
if (y4 <= -1.1e+114) {
tmp = t_1;
} else if (y4 <= -1.7e-100) {
tmp = a * ((b * x) * y);
} else if (y4 <= 1.72e+152) {
tmp = ((y1 * z) * k) * -i;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * ((y4 * y2) * y1) tmp = 0 if y4 <= -1.1e+114: tmp = t_1 elif y4 <= -1.7e-100: tmp = a * ((b * x) * y) elif y4 <= 1.72e+152: tmp = ((y1 * z) * k) * -i 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(k * Float64(Float64(y4 * y2) * y1)) tmp = 0.0 if (y4 <= -1.1e+114) tmp = t_1; elseif (y4 <= -1.7e-100) tmp = Float64(a * Float64(Float64(b * x) * y)); elseif (y4 <= 1.72e+152) tmp = Float64(Float64(Float64(y1 * z) * k) * Float64(-i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * ((y4 * y2) * y1); tmp = 0.0; if (y4 <= -1.1e+114) tmp = t_1; elseif (y4 <= -1.7e-100) tmp = a * ((b * x) * y); elseif (y4 <= 1.72e+152) tmp = ((y1 * z) * k) * -i; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.1e+114], t$95$1, If[LessEqual[y4, -1.7e-100], N[(a * N[(N[(b * x), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.72e+152], N[(N[(N[(y1 * z), $MachinePrecision] * k), $MachinePrecision] * (-i)), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
\mathbf{if}\;y4 \leq -1.1 \cdot 10^{+114}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -1.7 \cdot 10^{-100}:\\
\;\;\;\;a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\
\mathbf{elif}\;y4 \leq 1.72 \cdot 10^{+152}:\\
\;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y4 < -1.1e114 or 1.71999999999999993e152 < y4 Initial program 19.2%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.7%
Taylor expanded in k around inf
Applied rewrites50.0%
Taylor expanded in z around 0
Applied rewrites45.9%
if -1.1e114 < y4 < -1.69999999999999988e-100Initial program 37.2%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.8%
Taylor expanded in x around inf
Applied rewrites43.2%
Taylor expanded in a around inf
Applied rewrites33.7%
if -1.69999999999999988e-100 < y4 < 1.71999999999999993e152Initial program 38.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.1%
Taylor expanded in k around inf
Applied rewrites26.1%
Taylor expanded in z around inf
Applied rewrites26.0%
Final simplification33.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -7.5e+49)
(* (* y y4) (fma c y3 (* b (- k))))
(if (<= y 2.65e+98)
(* k (* y1 (fma (- i) z (* y2 y4))))
(* (* y y3) (fma c y4 (* (- a) 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 <= -7.5e+49) {
tmp = (y * y4) * fma(c, y3, (b * -k));
} else if (y <= 2.65e+98) {
tmp = k * (y1 * fma(-i, z, (y2 * y4)));
} else {
tmp = (y * y3) * fma(c, y4, (-a * 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 <= -7.5e+49) tmp = Float64(Float64(y * y4) * fma(c, y3, Float64(b * Float64(-k)))); elseif (y <= 2.65e+98) tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4)))); else tmp = Float64(Float64(y * y3) * fma(c, y4, Float64(Float64(-a) * y5))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -7.5e+49], N[(N[(y * y4), $MachinePrecision] * N[(c * y3 + N[(b * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.65e+98], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * y3), $MachinePrecision] * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.5 \cdot 10^{+49}:\\
\;\;\;\;\left(y \cdot y4\right) \cdot \mathsf{fma}\left(c, y3, b \cdot \left(-k\right)\right)\\
\mathbf{elif}\;y \leq 2.65 \cdot 10^{+98}:\\
\;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y \cdot y3\right) \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\\
\end{array}
\end{array}
if y < -7.4999999999999995e49Initial program 29.2%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites67.6%
Taylor expanded in x around inf
Applied rewrites43.2%
Taylor expanded in y4 around inf
Applied rewrites50.5%
if -7.4999999999999995e49 < y < 2.64999999999999999e98Initial program 39.4%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.3%
Taylor expanded in k around inf
Applied rewrites39.0%
if 2.64999999999999999e98 < y Initial program 16.8%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.3%
Taylor expanded in y3 around inf
Applied rewrites48.7%
Final simplification43.4%
(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))))
(if (<= y -5.8e+49)
t_1
(if (<= y -2.8e-249)
(* (* a (* y3 z)) y1)
(if (<= y 4.3e+266) (* k (* (* y4 y2) y1)) 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);
double tmp;
if (y <= -5.8e+49) {
tmp = t_1;
} else if (y <= -2.8e-249) {
tmp = (a * (y3 * z)) * y1;
} else if (y <= 4.3e+266) {
tmp = k * ((y4 * y2) * y1);
} 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)
if (y <= (-5.8d+49)) then
tmp = t_1
else if (y <= (-2.8d-249)) then
tmp = (a * (y3 * z)) * y1
else if (y <= 4.3d+266) then
tmp = k * ((y4 * y2) * y1)
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);
double tmp;
if (y <= -5.8e+49) {
tmp = t_1;
} else if (y <= -2.8e-249) {
tmp = (a * (y3 * z)) * y1;
} else if (y <= 4.3e+266) {
tmp = k * ((y4 * y2) * y1);
} 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) tmp = 0 if y <= -5.8e+49: tmp = t_1 elif y <= -2.8e-249: tmp = (a * (y3 * z)) * y1 elif y <= 4.3e+266: tmp = k * ((y4 * y2) * y1) 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(Float64(b * x) * y)) tmp = 0.0 if (y <= -5.8e+49) tmp = t_1; elseif (y <= -2.8e-249) tmp = Float64(Float64(a * Float64(y3 * z)) * y1); elseif (y <= 4.3e+266) tmp = Float64(k * Float64(Float64(y4 * y2) * y1)); 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); tmp = 0.0; if (y <= -5.8e+49) tmp = t_1; elseif (y <= -2.8e-249) tmp = (a * (y3 * z)) * y1; elseif (y <= 4.3e+266) tmp = k * ((y4 * y2) * y1); 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[(N[(b * x), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.8e+49], t$95$1, If[LessEqual[y, -2.8e-249], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 4.3e+266], N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\
\mathbf{if}\;y \leq -5.8 \cdot 10^{+49}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -2.8 \cdot 10^{-249}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
\mathbf{elif}\;y \leq 4.3 \cdot 10^{+266}:\\
\;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -5.8e49 or 4.3000000000000002e266 < y Initial program 25.3%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites65.9%
Taylor expanded in x around inf
Applied rewrites46.3%
Taylor expanded in a around inf
Applied rewrites44.6%
if -5.8e49 < y < -2.7999999999999999e-249Initial program 42.9%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.3%
Taylor expanded in a around inf
Applied rewrites31.3%
Taylor expanded in x around 0
Applied rewrites25.3%
if -2.7999999999999999e-249 < y < 4.3000000000000002e266Initial program 31.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.2%
Taylor expanded in k around inf
Applied rewrites39.7%
Taylor expanded in z around 0
Applied rewrites28.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y2 -6e-121) (not (<= y2 1.35e-111))) (* k (* (* y4 y2) y1)) (* (* (* y0 k) b) z)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y2 <= -6e-121) || !(y2 <= 1.35e-111)) {
tmp = k * ((y4 * y2) * y1);
} else {
tmp = ((y0 * k) * b) * z;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y2 <= (-6d-121)) .or. (.not. (y2 <= 1.35d-111))) then
tmp = k * ((y4 * y2) * y1)
else
tmp = ((y0 * k) * b) * z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y2 <= -6e-121) || !(y2 <= 1.35e-111)) {
tmp = k * ((y4 * y2) * y1);
} else {
tmp = ((y0 * k) * b) * z;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y2 <= -6e-121) or not (y2 <= 1.35e-111): tmp = k * ((y4 * y2) * y1) else: tmp = ((y0 * k) * b) * z return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y2 <= -6e-121) || !(y2 <= 1.35e-111)) tmp = Float64(k * Float64(Float64(y4 * y2) * y1)); else tmp = Float64(Float64(Float64(y0 * k) * b) * z); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y2 <= -6e-121) || ~((y2 <= 1.35e-111))) tmp = k * ((y4 * y2) * y1); else tmp = ((y0 * k) * b) * z; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y2, -6e-121], N[Not[LessEqual[y2, 1.35e-111]], $MachinePrecision]], N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], N[(N[(N[(y0 * k), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -6 \cdot 10^{-121} \lor \neg \left(y2 \leq 1.35 \cdot 10^{-111}\right):\\
\;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\
\end{array}
\end{array}
if y2 < -5.9999999999999999e-121 or 1.34999999999999994e-111 < y2 Initial program 30.4%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.5%
Taylor expanded in k around inf
Applied rewrites42.1%
Taylor expanded in z around 0
Applied rewrites29.1%
if -5.9999999999999999e-121 < y2 < 1.34999999999999994e-111Initial program 36.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.8%
Taylor expanded in b around inf
Applied rewrites28.5%
Taylor expanded in t around 0
Applied rewrites16.9%
Applied rewrites20.3%
Final simplification26.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* y0 k) b) z))
double code(double x, double y, double z, double t, 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 ((y0 * k) * b) * z;
}
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 = ((y0 * k) * b) * z
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 ((y0 * k) * b) * z;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((y0 * k) * b) * z
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(y0 * k) * b) * z) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((y0 * k) * b) * z; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y0 * k), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z
\end{array}
Initial program 32.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.1%
Taylor expanded in b around inf
Applied rewrites23.3%
Taylor expanded in t around 0
Applied rewrites14.5%
Applied rewrites15.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* b z) y0) k))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return ((b * z) * y0) * k;
}
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 = ((b * z) * y0) * k
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 ((b * z) * y0) * k;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((b * z) * y0) * k
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(b * z) * y0) * k) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((b * z) * y0) * k; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(b * z), $MachinePrecision] * y0), $MachinePrecision] * k), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(b \cdot z\right) \cdot y0\right) \cdot k
\end{array}
Initial program 32.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.1%
Taylor expanded in b around inf
Applied rewrites23.3%
Taylor expanded in t around 0
Applied rewrites14.5%
Applied rewrites14.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* b z) k) 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 ((b * z) * k) * 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 = ((b * z) * k) * 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 ((b * z) * k) * y0;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((b * z) * k) * y0
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(b * z) * k) * y0) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((b * z) * k) * y0; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(b * z), $MachinePrecision] * k), $MachinePrecision] * y0), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(b \cdot z\right) \cdot k\right) \cdot y0
\end{array}
Initial program 32.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.1%
Taylor expanded in b around inf
Applied rewrites23.3%
Taylor expanded in t around 0
Applied rewrites14.5%
Applied rewrites14.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* b (* (* k y0) z)))
double code(double x, double y, double z, double t, 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 b * ((k * y0) * z);
}
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 = b * ((k * y0) * z)
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 b * ((k * y0) * z);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return b * ((k * y0) * z)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(b * Float64(Float64(k * y0) * z)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = b * ((k * y0) * z); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(b * N[(N[(k * y0), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(\left(k \cdot y0\right) \cdot z\right)
\end{array}
Initial program 32.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.1%
Taylor expanded in b around inf
Applied rewrites23.3%
Taylor expanded in t around 0
Applied rewrites14.5%
(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 2024318
(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)))))