54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 static int const bitsValueType = std::numeric_limits<real_type>::digits;
57 static real_type const splitFactor =
static_cast<real_type>((std::uint64_t(1)<<(bitsValueType-2))+1);
79 err = (a-(x-z))+(b-z);
92 TwoSum( a.real(), b.real(), s1, e1 );
93 TwoSum( a.imag(), b.imag(), s2, e2 );
122 err = a2*b2-(((x-a1*b1)-a2*b1)-a1*b2);
136 real_type z1, z2, z3, z4, z5, z6, h1, h2, h3, h4, h5, h6;
137 TwoProduct(a.real(), b.real(), z1, h1 );
138 TwoProduct(a.imag(), b.imag(), z2, h2 );
139 TwoProduct(a.real(), b.imag(), z3, h3 );
140 TwoProduct(a.imag(), b.real(), z4, h4 );
141 TwoSum(z1, -z2, z5, h5);
142 TwoSum(z3, z4, z6, h6);
Definition PolynomialRoots-Jenkins-Traub.cc:57
std::complex< real_type > complex_type
complex type numbers
Definition PolynomialRoots-Utils.hh:50
int integer
integer type numbers
Definition PolynomialRoots-Utils.hh:49
std::basic_ostream< char > ostream_type
outoput stream type
Definition PolynomialRoots-Utils.hh:51
double real_type
real type numbers
Definition PolynomialRoots-Utils.hh:48
std::basic_istream< char > istream_type
input stream type
Definition PolynomialRoots-Utils.hh:52