Computes the constant of type T in which the only bit set is the least significant.
Defined in Header
#include <eve/module/core.hpp>
{
template< eve::value T >
}
constexpr callable_bitincrement_ bitincrement
Computes the constant of type T in which the only bit set is the least significant.
Definition: bitincrement.hpp:57
Lightweight type-wrapper.
Definition: as.hpp:29
Parameters
x
: Type wrapper instance embedding the type of the constant.
Return value
The call eve::bitincrement(as<T>())
returns a value of type T in which the only bit set is the least significant
#include <eve/module/core.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
wide_ft wxf;
wide_it wxi;
std::cout << "---- simd" << '\n'
float xf;
std::int16_t xi;
std::cout << "---- scalar" << '\n'
return 0;
}
Wrapper for SIMD registers.
Definition: wide.hpp:65