FastLED 3.10.8
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 41 of file u16x16.h.

47 : mValue(static_cast<u32>(
48 static_cast<u64>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
u32 mValue
Definition u16x16.h:210
static constexpr int FRAC_BITS
Definition u16x16.h:22
fl::u64 u64
Definition stdint.h:220

References fl::FL_NO_EXCEPT, FRAC_BITS, INT_BITS, mValue, and raw().

+ Here is the call graph for this function: