Computes the the greatest exponent of a floating point IEEE value plus one.
Defined in Header
#include <eve/module/core.hpp>
{
template< eve::value T >
}
constexpr callable_maxexponentp1_ maxexponentp1
Computes the the greatest exponent of a floating point IEEE value plus one.
Definition: maxexponentp1.hpp:57
Definition: all_of.hpp:22
Lightweight type-wrapper.
Definition: as.hpp:29
Parameters
x
: Type wrapper instance embedding the type of the constant.
Return value
the call eve::maxexponentp1(as<T>())
is semantically equivalent to
- as_integer_t<T>(128) if eve::element_type_t<T> is float
- as_integer_t<T>(1024) if eve::element_type_t<T> is double
#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