modm API documentation
|
#include <modm/math/utils/integer_traits.hpp>
Public Typedefs | |
using | type = std::conditional_t< std::conjunction_v< std::is_unsigned< Ts >... >, typename uint_t< most_dig >::least, std::make_signed_t< typename uint_t< most_dig%2?most_dig:most_dig *2 >::least > > |
Static Public Attributes | |
static constexpr int | most_dig = detail::most_digits<Ts...>() |
Trait the smallest integral - signed or unsigned - fitting any Ts