Finalize buffer and arithmetic decomposition. Finalize name changes. Finalize test cases. Remove cruft. Docs still to do.

This commit is contained in:
Beman
2014-11-26 10:04:33 -05:00
parent bb785ed8e0
commit e2045b7ffa
17 changed files with 421 additions and 414 deletions
+3 -3
View File
@@ -101,14 +101,14 @@ namespace
// cout << "***************Endian conversion approach...\n";
T x(0);
boost::timer::cpu_timer t;
big_endian(x);
native_to_big_in_place(x);
for (uint64_t i = 0; i < n; ++i)
{
x += static_cast<T>(i);
}
big_endian(x);
big_to_native_in_place(x);
t.stop();
big_endian(x);
native_to_big_in_place(x);
if (x != total)
throw std::logic_error("integer approach total != conversion approach total");
cout << "<td align=\"right\">" << t.format(places, "%t") << " s</td>";