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

◆ sqrt_impl() [1/2]

template<typename Derived, int IntBits, int FracBits>
static constexpr FASTLED_FORCE_INLINE Derived fl::fixed_point_base< Derived, IntBits, FracBits >::sqrt_impl ( Derived x,
fl::false_type  )
inlinestaticconstexprprivate

Definition at line 221 of file base.h.

221 {
222 return Derived::from_raw(static_cast<raw_type>(
223 fl::isqrt64(static_cast<u64>(x.mValue) << FRAC_BITS)));
224 }
static constexpr int FRAC_BITS
Definition base.h:38
typename traits::raw_type raw_type
Definition base.h:31
raw_type mValue
Definition base.h:41

References FASTLED_FORCE_INLINE, FRAC_BITS, fl::isqrt64(), and fl::x.

+ Here is the call graph for this function: