E.V.E  0.1-beta

◆ upgrade_

eve::upgrade_ = {}
inlineconstexpr

convert a eve::real_value to a eve::real_value of the upgraded base type.

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 upgrade_(x)(...) is semantically equivalent to upgrade__(x(...))

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