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

◆ rsqrt() [2/2]

template<typename Derived, int IntBits, int FracBits>
static constexpr FASTLED_FORCE_INLINE Derived fl::fixed_point_base< Derived, IntBits, FracBits >::rsqrt ( Derived x)
inlinestaticconstexpr

Definition at line 228 of file base.h.

228 {
229 return sqrt(x).mValue == 0
230 ? Derived()
232 }
constexpr FASTLED_FORCE_INLINE Derived sqrt() const
Definition base.h:294
static constexpr FASTLED_FORCE_INLINE Derived sqrt(Derived x)
Definition base.h:209
static constexpr int FRAC_BITS
Definition base.h:38
typename traits::raw_type raw_type
Definition base.h:31
static constexpr FASTLED_FORCE_INLINE Derived from_raw(raw_type raw)
Definition base.h:56

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

+ Here is the call graph for this function: