FastLED 3.9.15
Loading...
Searching...
No Matches

◆ u16x16() [4/5]

template<typename OtherFP>
fl::u16x16::u16x16 ( const OtherFP & other,
typename fl::enable_if<(OtherFP::INT_BITS<=INT_BITS) &&(OtherFP::FRAC_BITS<=FRAC_BITS) &&(OtherFP::INT_BITS !=INT_BITS||OtherFP::FRAC_BITS !=FRAC_BITS), int >::type = 0 )
inlineconstexpr

Definition at line 40 of file u16x16.h.

46 : mValue(static_cast<u32>(
47 static_cast<u64>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
u32 mValue
Definition u16x16.h:201
static constexpr int FRAC_BITS
Definition u16x16.h:21
fl::u64 u64
Definition s16x16x4.h:221

References FL_NOEXCEPT, FRAC_BITS, INT_BITS, mValue, and raw().

+ Here is the call graph for this function: