E.V.E  0.1-beta

◆ int32

eve::int32 = {}
inlineconstexpr

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