template<typename Derived, int IntBits, int FracBits>
class fl::fixed_point_base< Derived, IntBits, FracBits >
Definition at line 28 of file base.h.
|
| static constexpr FASTLED_FORCE_INLINE Derived | abs (Derived x) |
| |
| static FASTLED_FORCE_INLINE Derived | acos (Derived x) |
| |
| static FASTLED_FORCE_INLINE Derived | asin (Derived x) |
| |
| static FASTLED_FORCE_INLINE Derived | atan (Derived x) |
| |
| static FASTLED_FORCE_INLINE Derived | atan2 (Derived y, Derived x) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | ceil (Derived x) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | clamp (Derived x, Derived lo, Derived hi) |
| |
| static FASTLED_FORCE_INLINE Derived | cos (Derived angle) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | floor (Derived x) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | fract (Derived x) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | from_raw (raw_type raw) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | lerp (Derived a, Derived b, Derived t) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | mod (Derived a, Derived b) |
| |
| static FASTLED_FORCE_INLINE Derived | pow (Derived base, Derived exp) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | rsqrt (Derived x) |
| |
| static constexpr FASTLED_FORCE_INLINE int | sign (Derived x) |
| |
| static FASTLED_FORCE_INLINE Derived | sin (Derived angle) |
| |
| static FASTLED_FORCE_INLINE void | sincos (Derived angle, Derived &out_sin, Derived &out_cos) |
| |
| static FASTLED_FORCE_INLINE Derived | smoothstep (Derived edge0, Derived edge1, Derived x) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | sqrt (Derived x) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | step (Derived edge, Derived x) |
| |
|
| static constexpr int | _highest_bit_step (u32 v, int r) |
| |
| static constexpr FASTLED_FORCE_INLINE u32 | angle_to_a24 (Derived angle) |
| |
| static FASTLED_FORCE_INLINE Derived | atan_unit (Derived t) |
| |
| static FASTLED_FORCE_INLINE Derived | exp2_fp (Derived x) |
| |
| template<typename PolyType> |
| static FASTLED_FORCE_INLINE Derived | exp2_horner (raw_type int_pow, PolyType fr_ifrac, PolyType d0, PolyType d1, PolyType d2, PolyType d3, fl::false_type) |
| |
| template<typename PolyType> |
| static FASTLED_FORCE_INLINE Derived | exp2_horner (raw_type int_pow, PolyType fr_ifrac, PolyType d0, PolyType d1, PolyType d2, PolyType d3, fl::true_type) |
| |
| static constexpr FASTLED_FORCE_INLINE int | highest_bit (u32 v) |
| |
| static FASTLED_FORCE_INLINE Derived | log2_fp (Derived x) |
| |
| template<typename PolyType> |
| static FASTLED_FORCE_INLINE Derived | log2_horner (raw_type int_part, PolyType t_ifrac, PolyType c0, PolyType c1, PolyType c2, PolyType c3, fl::false_type) |
| |
| template<typename PolyType> |
| static FASTLED_FORCE_INLINE Derived | log2_horner (raw_type int_part, PolyType t_ifrac, PolyType c0, PolyType c1, PolyType c2, PolyType c3, fl::true_type) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | sqrt_impl (Derived x, fl::false_type) |
| |
| static constexpr FASTLED_FORCE_INLINE Derived | sqrt_impl (Derived x, fl::true_type) |
| |