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

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <SimdFloat.h>

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
xiiSimdFloat & operator+= (const xiiSimdFloat &f)
xiiSimdFloat & operator-= (const xiiSimdFloat &f)
xiiSimdFloat & operator*= (const xiiSimdFloat &f)
xiiSimdFloat & operator/= (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

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Constructor & Destructor Documentation

◆ xiiSimdFloat()

XII_ALWAYS_INLINE xiiSimdFloat::xiiSimdFloat ( )

Default constructor, leaves the data uninitialized.

Copyright (c) Theophilus Eriata. All Rights Reserved.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/SimdMath/SimdFloat.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/SimdMath/Implementation/FPU/FPUFloat_inl.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/SimdMath/Implementation/NEON/NEONFloat_inl.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/SimdMath/Implementation/SSE/SSEFloat_inl.h