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

◆ s8x8() [4/5]

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

46 : mValue(static_cast<i16>(
47 static_cast<i32>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
i16 mValue
Definition s8x8.h:301
static constexpr int FRAC_BITS
Definition s8x8.h:22

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

+ Here is the call graph for this function: