30PL_ALWAYS_INLINE plSimdFloat::operator float()
const
93 return m_v.
IsEqual(rhs.m_v, fEpsilon);
96PL_ALWAYS_INLINE
bool plSimdFloat::operator==(
const plSimdFloat& f)
const
98 return m_v.x == f.m_v.x;
101PL_ALWAYS_INLINE
bool plSimdFloat::operator!=(
const plSimdFloat& f)
const
103 return m_v.x != f.m_v.x;
106PL_ALWAYS_INLINE
bool plSimdFloat::operator>=(
const plSimdFloat& f)
const
108 return m_v.x >= f.m_v.x;
111PL_ALWAYS_INLINE
bool plSimdFloat::operator>(
const plSimdFloat& f)
const
113 return m_v.x > f.m_v.x;
116PL_ALWAYS_INLINE
bool plSimdFloat::operator<=(
const plSimdFloat& f)
const
118 return m_v.x <= f.m_v.x;
121PL_ALWAYS_INLINE
bool plSimdFloat::operator<(
const plSimdFloat& f)
const
123 return m_v.x < f.m_v.x;
126PL_ALWAYS_INLINE
bool plSimdFloat::operator==(
float f)
const
131PL_ALWAYS_INLINE
bool plSimdFloat::operator!=(
float f)
const
136PL_ALWAYS_INLINE
bool plSimdFloat::operator>(
float f)
const
141PL_ALWAYS_INLINE
bool plSimdFloat::operator>=(
float f)
const
146PL_ALWAYS_INLINE
bool plSimdFloat::operator<(
float f)
const
151PL_ALWAYS_INLINE
bool plSimdFloat::operator<=(
float f)
const
156template <plMathAcc::Enum acc>
157PL_ALWAYS_INLINE
plSimdFloat plSimdFloat::GetReciprocal()
const
162template <plMathAcc::Enum acc>
163PL_ALWAYS_INLINE
plSimdFloat plSimdFloat::GetSqrt()
const
168template <plMathAcc::Enum acc>
169PL_ALWAYS_INLINE
plSimdFloat plSimdFloat::GetInvSqrt()
const
184PL_ALWAYS_INLINE
plSimdFloat plSimdFloat::Abs()
const
Float wrapper struct for a safe usage and conversions of angles.
Definition Angle.h:10
constexpr float GetRadian() const
Returns the radian value. (No need for any conversion)
Definition Angle_inl.h:48
plSimdFloat()
Default constructor, leaves the data uninitialized.
Definition FPUFloat_inl.h:3
static plSimdFloat MakeNaN()
Creates an plSimdFloat that is initialized to Not-A-Number (NaN).
Definition FPUFloat_inl.h:42
static plSimdFloat MakeZero()
Creates an plSimdFloat that is initialized to zero.
Definition FPUFloat_inl.h:36
const plVec4Template< Type > CompMin(const plVec4Template< Type > &rhs) const
Returns the component-wise minimum of *this and rhs.
Definition Vec4_inl.h:327
bool IsEqual(const plVec4Template< Type > &rhs, Type fEpsilon) const
Equality Check with epsilon.
Definition Vec4_inl.h:444
const plVec4Template< Type > CompDiv(const plVec4Template< Type > &rhs) const
Returns the component-wise division of *this and rhs.
Definition Vec4_inl.h:366
void Set(Type xyzw)
Sets all 4 components to this value.
Definition Vec4_inl.h:121
const plVec4Template< Type > CompMul(const plVec4Template< Type > &rhs) const
Returns the component-wise multiplication of *this and rhs.
Definition Vec4_inl.h:355
const plVec4Template< Type > CompMax(const plVec4Template< Type > &rhs) const
Returns the component-wise maximum of *this and rhs.
Definition Vec4_inl.h:336
constexpr TYPE NaN()
Returns the value for NaN as the template type. Returns zero, if the type does not support NaN.
Definition Constants_inl.h:58
PL_ALWAYS_INLINE double Sqrt(double f)
Returns the square root of f.
Definition MathDouble_inl.h:99
constexpr PL_ALWAYS_INLINE T Abs(T f)
Returns the absolute value of f.
Definition Math_inl.h:21