FastLED 3.9.15
Loading...
Searching...
No Matches
fl::fl::s0x32 Class Reference

Detailed Description

Definition at line 31 of file s16x16x4.h.

#include <s16x16x4.h>

Classes

struct  RawTag
 

Public Member Functions

constexpr s0x32 () FL_NOEXCEPT=default
 
template<typename OtherFP>
constexpr 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) FL_NOEXCEPT
 
constexpr s0x32 (float f) FL_NOEXCEPT
 
constexpr s0x32 (i32 raw, RawTag) FL_NOEXCEPT
 
constexpr bool operator!= (s0x32 b) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator* (i32 scalar) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator* (s0x32 b) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s16x16 operator* (s16x16 b) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator+ (s0x32 b) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator- () const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator- (s0x32 b) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator/ (i32 scalar) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator/ (s0x32 b) const FL_NOEXCEPT
 
constexpr bool operator< (s0x32 b) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator<< (int shift) const FL_NOEXCEPT
 
constexpr bool operator<= (s0x32 b) const FL_NOEXCEPT
 
constexpr bool operator== (s0x32 b) const FL_NOEXCEPT
 
constexpr bool operator> (s0x32 b) const FL_NOEXCEPT
 
constexpr bool operator>= (s0x32 b) const FL_NOEXCEPT
 
constexpr FASTLED_FORCE_INLINE s0x32 operator>> (int shift) const FL_NOEXCEPT
 
constexpr i32 raw () const FL_NOEXCEPT
 
constexpr float to_float () const FL_NOEXCEPT
 
constexpr i32 to_int () const FL_NOEXCEPT
 

Static Public Member Functions

static constexpr FASTLED_FORCE_INLINE s0x32 abs (s0x32 x) FL_NOEXCEPT
 
static constexpr FASTLED_FORCE_INLINE s0x32 from_raw (i32 raw) FL_NOEXCEPT
 
static constexpr FASTLED_FORCE_INLINE s0x32 max (s0x32 a, s0x32 b) FL_NOEXCEPT
 
static constexpr FASTLED_FORCE_INLINE s0x32 min (s0x32 a, s0x32 b) FL_NOEXCEPT
 

Static Public Attributes

static constexpr int FRAC_BITS = 32
 
static constexpr int INT_BITS = 0
 

Private Attributes

i32 mValue = 0
 

Friends

constexpr s0x32 operator* (i32 scalar, s0x32 a) FL_NOEXCEPT
 
constexpr s16x16 operator* (s16x16 a, s0x32 b) FL_NOEXCEPT
 

The documentation for this class was generated from the following files: