◆ valmax
Callable object computing the greatest representable value. Required header:
Parameters
Return value the call ExampleSee it live on Compiler Explorer #include <eve/function/abs.hpp>
#include <eve/constant/valmax.hpp>
#include <eve/wide.hpp>
#include <iostream>
using wide_ft = eve::wide<float, eve::fixed<4>>;
using wide_it = eve::wide<std::int16_t, eve::fixed<4>>;
int main()
{
wide_ft x;
wide_it y;
std::cout << "---- simd" << '\n'
float xf;
std::int16_t xi;
std::cout << "---- scalar" << '\n'
return 0;
}
constexpr callable_valmax_ valmax Callable object computing the greatest representable value. Definition: valmax.hpp:53 |