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

◆ u0x32() [3/4]

template<typename OtherFP>
fl::u0x32::u0x32 ( 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 52 of file u0x32.h.

58 : mValue(static_cast<u32>(
59 static_cast<u64>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
static constexpr int FRAC_BITS
Definition u0x32.h:34
u32 mValue
Definition u0x32.h:163
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: