You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original code tests the bits in human reading order, but the passing test requires them to instead be ordered in least-significant to most-significant bit order.
Perhaps you accidentally forgot to compile this example.
Alternatively, I suppose a bit ordering difference is also conceivable, although I doubt it. I'm on a 64-bit version of Windows 7, running Visual Studio C++ 2019, in case that's relevant in that case.
(Also, as usual, I'm on the Kindle ebook version of the book.)
The text was updated successfully, but these errors were encountered:
The code in the book looks like this:
But the code needed to actually pass the test is this:
The original code tests the bits in human reading order, but the passing test requires them to instead be ordered in least-significant to most-significant bit order.
Perhaps you accidentally forgot to compile this example.
Alternatively, I suppose a bit ordering difference is also conceivable, although I doubt it. I'm on a 64-bit version of Windows 7, running Visual Studio C++ 2019, in case that's relevant in that case.
(Also, as usual, I'm on the Kindle ebook version of the book.)
The text was updated successfully, but these errors were encountered: