Computes the the exponent bit mask of IEEE float or double.
Defined in Header
#include <eve/module/core.hpp>
{
template< eve::floating_value T >
}
constexpr callable_exponentmask_ exponentmask
Computes the the exponent bit mask of IEEE float or double.
Definition: exponentmask.hpp:59
Definition: all_of.hpp:22
Lightweight type-wrapper.
Definition: as.hpp:29
Parameters
t
: Type wrapper instance embedding the type of the constant.
Return value
the call eve::exponentmask(as<T>())
returns elementwise, the integral mask to extract the exponent bits of an ieee floating value. The element values are:
#include <eve/module/core.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
wide_ft wxf;
std::cout << "---- simd" << std::endl
double xf;
std::cout << "---- scalar" << std::endl
return 0;
}
Wrapper for SIMD registers.
Definition: wide.hpp:65