The concept PackableFrom is satisfied when all the following requirements are met:
- Both
From
and To
types are valid vector element types.
From
type is complex if and only if To
is a complex type.
- Both
From
and To
are integer types.
From
type has a wider bit representation than To
.
- See also
- aie::vector::pack
-
aie::vector::pack_sign
-
aie::UnpackableFrom
template<typename To, typename From>
detail::type_bits_v<To> < detail::type_bits_v<From> &&
detail::is_complex_v<To> == detail::is_complex_v<From> &&
!detail::is_floating_point_v<To> &&
!detail::is_floating_point_v<From>
Concept for all the basic types that can be used in operations and as vector element type.
Definition concepts.hpp:185
The concept PackableFrom is satisfied when all the following requirements are met:
Definition concepts.hpp:379