◆ smallestposval
Callable object computing the smallest normal positive value. Required header:
Parameters
Return value the call
ExampleSee it live on Compiler Explorer #include <eve/constant/smallestposval.hpp>
#include <eve/wide.hpp>
#include <iostream>
using wide_ft = eve::wide<float>;
using wide_it = eve::wide<std::int16_t>;
int main()
{
wide_ft wxf;
wide_it wxi;
std::cout << "---- simd" << std::endl
double xf;
std::int16_t xi;
std::cout << "---- scalar" << std::endl
<< "-> smallestposval(as<std::int16_t>()) = " << eve::smallestposval(eve::as(std::int16_t())) << std::endl
return 0;
}
constexpr callable_smallestposval_ smallestposval Callable object computing the smallest normal positive value. Definition: smallestposval.hpp:56 |