Better comment.
This commit is contained in:
parent
2ecf0cc427
commit
407c0ad5bc
@ -15,9 +15,9 @@ namespace {
|
|||||||
// in any iobase.
|
// in any iobase.
|
||||||
// This cannot be calculated on the fly, as it involves
|
// This cannot be calculated on the fly, as it involves
|
||||||
// arithmetic with involving REALLY big numbers (like, 2^512).
|
// arithmetic with involving REALLY big numbers (like, 2^512).
|
||||||
// Here's how to calculate these numbers: floor(log_setLen(2^512)).
|
// Here's how to calculate these numbers:
|
||||||
// So, if our set would consist of 10 digits, it would be:
|
// Print an all 1's block in this format, and check the string size.
|
||||||
// floor(log10(2^512)) = 154.
|
// That's it.
|
||||||
auto blockLengthByBase =
|
auto blockLengthByBase =
|
||||||
std::map<Configuration::IOBASE_FORMAT, std::size_t>({
|
std::map<Configuration::IOBASE_FORMAT, std::size_t>({
|
||||||
std::make_pair(Configuration::IOBASE_FORMAT::BASE_BYTES, 64),
|
std::make_pair(Configuration::IOBASE_FORMAT::BASE_BYTES, 64),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user