Merge pull request #3 from Loghorn/P5-patch

Fix P.5 first example
This commit is contained in:
Andrew Pardoe 2015-09-18 10:24:18 -07:00
commit 050b46b0a3

View File

@ -542,7 +542,7 @@ For example:
static_assert(sizeof(Int)>=4); // do: compile-time check
int bits = 0; // don't: avoidable code
for (Int i = 1; i; i>>=1)
for (Int i = 1; i; i<<=1)
++bits;
if (bits<32)
cerr << "Int too small\n";