XII Release 0.1.0
Loading...
Searching...
No Matches
xiiSimdFloat Class Reference

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
 xiiSimdFloat ()
 Default constructor, leaves the data uninitialized.
 
 xiiSimdFloat (float f)
 Constructs from a given float.
 
 xiiSimdFloat (xiiInt32 i)
 Constructs from a given integer.
 
 xiiSimdFloat (xiiUInt32 i)
 Constructs from a given integer.
 
 xiiSimdFloat (xiiAngle a)
 Constructs from given angle.
 
 xiiSimdFloat (xiiInternal::QuadFloat v)
 Constructs from the internal implementation type.
 
 operator float () const
 Returns the stored number as a standard float.
 
xiiSimdFloat operator+ (const xiiSimdFloat &f) const
 
xiiSimdFloat operator- (const xiiSimdFloat &f) const
 
xiiSimdFloat operator* (const xiiSimdFloat &f) const
 
xiiSimdFloat operator/ (const xiiSimdFloat &f) const
 
xiiSimdFloatoperator+= (const xiiSimdFloat &f)
 
xiiSimdFloatoperator-= (const xiiSimdFloat &f)
 
xiiSimdFloatoperator*= (const xiiSimdFloat &f)
 
xiiSimdFloatoperator/= (const xiiSimdFloat &f)
 
bool IsEqual (const xiiSimdFloat &rhs, const xiiSimdFloat &fEpsilon) const
 
bool operator== (const xiiSimdFloat &f) const
 
bool operator!= (const xiiSimdFloat &f) const
 
bool operator> (const xiiSimdFloat &f) const
 
bool operator>= (const xiiSimdFloat &f) const
 
bool operator< (const xiiSimdFloat &f) const
 
bool operator<= (const xiiSimdFloat &f) const
 
bool operator== (float f) const
 
bool operator!= (float f) const
 
bool operator> (float f) const
 
bool operator>= (float f) const
 
bool operator< (float f) const
 
bool operator<= (float f) const
 
template<xiiMathFloatBits::Enum acc = xiiMathFloatBits::FULL>
xiiSimdFloat GetReciprocal () const
 
template<xiiMathFloatBits::Enum acc = xiiMathFloatBits::FULL>
xiiSimdFloat GetSqrt () const
 
template<xiiMathFloatBits::Enum acc = xiiMathFloatBits::FULL>
xiiSimdFloat GetInvSqrt () const
 
xiiSimdFloat Max (const xiiSimdFloat &f) const
 
xiiSimdFloat Min (const xiiSimdFloat &f) const
 
xiiSimdFloat Abs () const
 
template<xiiMathFloatBits::Enum bits>
XII_ALWAYS_INLINE xiiSimdFloat GetReciprocal () const
 
template<xiiMathFloatBits::Enum bits>
XII_ALWAYS_INLINE xiiSimdFloat GetSqrt () const
 
template<xiiMathFloatBits::Enum bits>
XII_ALWAYS_INLINE xiiSimdFloat GetInvSqrt () const
 

Static Public Member Functions

static xiiSimdFloat MakeZero ()
 Creates a xiiSimdFloat that is initialized to zero.
 
static xiiSimdFloat MakeNaN ()
 Creates a xiiSimdFloat that is initialized to Not-A-Number (NaN).
 

Public Attributes

xiiInternal::QuadFloat m_v
 

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