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

◆ u24x8() [4/5]

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

45 : mValue(static_cast<u32>(
46 static_cast<u64>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
u32 mValue
Definition u24x8.h:188
static constexpr int FRAC_BITS
Definition u24x8.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: