|
inlineconstexpr |
Computes a value in which the most significant bit is the only bit set.
Callable object computing the sign mask value.
Defined in Header
Parameters
x
: Type wrapper instance embedding the type of the constant.Return value
The call eve::signmask(as<T>())
returns a value of type T for which each element has all its bits unset except the highest.
Required header: #include <eve/module/core.hpp>
Member | Effect |
---|---|
operator() | Computes the signmask constant |
Parameters
t
: Type wrapper instance embedding the type of the constant.
Return value
the call eve::signmask(as<T>())
is a value of type T for which each element has all its bits unset except the highest.