E.V.E  0.1-beta

◆ int16

eve::int16 = {}
inlineconstexpr

convert a eve::real_value to a int16 based eve::integral_real_value.

Members Functions

template < real_value T> auto operator()(T x) const noexcept;
Parameters
xAn instance of eve::callable or eve::real_value
Returns
  • if x is an eve::simd_value, returns a value, of type wide <std::int16_t, cardinal_t<T>>,
  • if x is an eve::scalar_value, returns a valueof type std::int16_t,
  • if x is a supported callable a call to int16(x)(...) is semantically equivalent to int16(x(...))