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

◆ s0x32() [3/4]

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

58 : mValue(static_cast<i32>(
59 static_cast<i64>(other.raw()) << (FRAC_BITS - OtherFP::FRAC_BITS))) {}
i32 mValue
Definition s0x32.h:174
static constexpr int FRAC_BITS
Definition s0x32.h:34
fl::i64 i64
Definition s16x16x4.h:222

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

+ Here is the call graph for this function: