Function ibitcast¶
function ibitcast(const From &) simd¶
template <typename From, typename To = itype<From>>
requires(!is_compound_type<From>)
constexpr KFR_INTRINSIC To ibitcast(const From& value) noexcept { … } Reinterpret the bits of a scalar value as its signed counterpart type.
bitcast<itype<From>>(value) . |
Fully qualified name: kfr::ibitcast(const From &)
Declared at simd/vec.hpp:1138
Function ibitcast¶
function ibitcast(const vec<From, N> &) simd¶
template <typename From, size_t N, typename To = itype<From>,
size_t Nout = size_of<From>() * N / size_of<To>()>
constexpr KFR_INTRINSIC vec<To, Nout> ibitcast(const vec<From, N>& value) noexcept { … } Reinterpret the bits of a vector as a vector of its signed counterpart type.
vec<itype<From>, Nout> where Nout = size_of<From>() * N / size_of<To>() . |
Fully qualified name: kfr::ibitcast(const vec<From, N> &)
Declared at simd/vec.hpp:1182
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.