Skip to content

Function ubitcast

function ubitcast(const From &) simd

template <typename From, typename To = utype<From>>
    requires(!is_compound_type<From>)
constexpr KFR_INTRINSIC To ubitcast(const From& value) noexcept { … }

Reinterpret the bits of a scalar value as its unsigned counterpart type.

Returns
bitcast<utype<From>>(value) .

Fully qualified name: kfr::ubitcast(const From &)

Declared at simd/vec.hpp:1127

Function ubitcast

function ubitcast(const vec<From, N> &) simd

template <typename From, size_t N, typename To = utype<From>,
          size_t Nout = size_of<From>() * N / size_of<To>()>
constexpr KFR_INTRINSIC vec<To, Nout> ubitcast(const vec<From, N>& value) noexcept { … }

Reinterpret the bits of a vector as a vector of its unsigned counterpart type.

Returns
vec<utype<From>, Nout> where Nout = size_of<From>() * N / size_of<To>() .

Fully qualified name: kfr::ubitcast(const vec<From, N> &)

Declared at simd/vec.hpp:1171

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.