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

◆ u4x12() [4/5]

template<typename OtherFP>
fl::u4x12::u4x12 ( 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 u4x12.h.

45 : mValue(static_cast<u16>(
46 static_cast<u32>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
u16 mValue
Definition u4x12.h:189
static constexpr int FRAC_BITS
Definition u4x12.h:21

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

+ Here is the call graph for this function: