E.V.E  0.1-beta

◆ uint8

eve::uint8 = {}
inlineconstexpr

convert a eve::real_value to a uint8 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::uint8_t, cardinal_t<T>>,
  • if x is an eve::scalar_value, returns a value of typestd::uint8_t,
  • if x is a supported callable a call to uint8(x)(...) is semantically equivalent to uint8(x(...))