cppx-core
|
bits_per_ and magnitude_bits_per_, plus the for-readability constant bits_per_byte. More...
Go to the source code of this file.
Namespaces | |
cppx | |
cppx::bitlevel | |
Functions | |
cppx::CPPX_USE_STD (numeric_limits) | |
cppx::bitlevel::CPPX_USE_CPPX (bits_per_, magnitude_bits_per_) | |
Variables | |
const int | cppx::bits_per_byte = CHAR_BIT |
Usually 8, but e.g. 16 on some DSPs. More... | |
template<class Type > | |
constexpr int | cppx::bits_per_ = sizeof( Type )*bits_per_byte |
The number of bits per object/value of the specified type. More... | |
template<class Type > | |
constexpr int | cppx::magnitude_bits_per_ = numeric_limits<Type>::digits |
The number of bits that determine the magnitude, i.e. the number of value representation bits minus a sign bit, if any. More... | |
bits_per_ and magnitude_bits_per_, plus the for-readability constant bits_per_byte.
Definition in file bits_per_.hpp.