Function from_uint64

Synopsis

#include <include/EASTL/bitset.h>

void from_uint64(uint64_t value)

Description

No description yet.

Source

Lines 1529-1539 in include/EASTL/bitset.h. Line 265 in include/EASTL/bitset.h.

template <typename WordType>
inline void BitsetBase<2, WordType>::from_uint64(uint64_t value)
{
    #if(EA_PLATFORM_WORD_SIZE == 4)
        mWord[0] = static_cast<word_type>(value);
        mWord[1] = static_cast<word_type>(value >> 32);
    #else
        mWord[0] = static_cast<word_type>(value);
        mWord[1] = 0;
    #endif
}





Add Discussion as Guest

Log in