more debug: last bit is wrong. Should be zeros when doing try_number<R>("0.74981689453125");

This commit is contained in:
Janek Kozicki
2021-07-23 01:21:56 +02:00
parent cebca3b1df
commit efec8f7a36

View File

@@ -89,6 +89,9 @@ std::cout << "norm = " << norm << ", ";
std::cout << "ex = " << ex << ", ";
std::cout << "pos = " << pos << ", ";
std::cout << "bits.size() = " << bits.size() << std::endl;
for (auto c : bits)
std::cout << int(c);
std::cout << std::endl;
*/
BOOST_ASSERT((ex <= 0) and (pos < int(bits.size())) and (pos >= 0));
bits[pos] = 1;