FastLED 3.10.8
Loading...
Searching...
No Matches

◆ s16x16() [4/5]

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

49 : mValue(static_cast<i32>(
50 static_cast<i64>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
static constexpr int FRAC_BITS
Definition s16x16.h:24
i32 mValue
Definition s16x16.h:364
fl::i64 i64
Definition stdint.h:221

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

+ Here is the call graph for this function: