I am trying to understand the difference of vocabulary used in the C++ language between digits and bits as in :
CHAR_BIT;
std::numeric_limits<char>::digits;
Is there a conceptual difference? Maybe for weird architectures?
If so, what would be called the result of the operator[]
of std::bitset
. Does it give access to a bit or to a digit?
And the current documentation of boost does not help: cppint provides a code with Digits
but the documentation mention Bits
(this is obviously a problem with the documentation, but I don't know whether the text or the code is more recent.)