E.V.E  0.1-beta

◆ int_

eve::int_ = {}
inlineconstexpr

convert a eve::real_value to a signed integral based eve::integral_real_value of same size.

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

where i_t is eve::as_integral_t<eve::element_type_t<T>>