41 #ifndef __ARTKPFLOAT_FLOAT_HEADERFILE__ 42 #define __ARTKPFLOAT_FLOAT_HEADERFILE__ 51 template <
typename BASETYPE_>
75 int getByte()
const {
return (
int)(
v*255.0f); }
95 { return ::sqrt(nV.
v); }
97 { return ::cos(nV.
v); }
99 { return ::sin(nV.
v); }
101 { return ::acos(nV.
v); }
103 { return ::asin(nV.
v); }
105 { return ::atan2(nVa.
v,nVb.
v); }
107 { return ::fabs(nV.
v); }
109 { return ::pow(nVa.
v,nVb.
v); }
111 { return ::ceil(nV.
v); }
168 {
return left.
v+right.
v; }
170 {
return left.
v+right; }
172 {
return left+right.
v; }
175 {
return left.
v-right.
v; }
177 {
return left.
v-right; }
179 {
return left-right.
v; }
182 {
return left.
v*right.
v; }
184 {
return left.
v*right; }
186 {
return left*right.
v; }
189 {
return left.
v/right.
v; }
191 {
return left.
v/right; }
193 {
return left/right.
v; }
368 #endif //__ARTKPFLOAT_FLOAT_HEADERFILE__ artkpFloat_float & operator=(const artkpFloat_float &nOther)
friend const artkpFloat_float operator*(const artkpFloat_float &left, float right)
bool operator==(int nOther) const
bool operator<(float nOther) const
artkpFloat_float & operator>>=(int nBits)
bool operator<=(const artkpFloat_float &nOther) const
bool operator<=(int nOther) const
artkpFloat_float & operator+=(int nV)
friend const artkpFloat_float fabs(const artkpFloat_float &nV)
friend const artkpFloat_float operator-(const artkpFloat_float &left, float right)
friend const artkpFloat_float sin(const artkpFloat_float &nV)
artkpFloat_float & operator-=(double nV)
artkpFloat_float & operator-=(int nV)
friend const artkpFloat_float cos(const artkpFloat_float &nV)
artkpFloat_float & operator-=(const artkpFloat_float &nOther)
artkpFloat_float(double nV)
bool operator<(int nOther) const
friend const artkpFloat_float pow(const artkpFloat_float &nVa, const artkpFloat_float &nVb)
bool operator>(float nOther) const
artkpFloat_float operator-() const
bool operator>=(float nOther) const
bool operator<=(float nOther) const
artkpFloat_float & operator=(int nV)
bool operator<(const artkpFloat_float &nOther) const
bool operator!=(float nOther) const
artkpFloat_float & operator<<=(int nBits)
friend const artkpFloat_float asin(const artkpFloat_float &nV)
void setUnsignedInt(int nV)
friend const artkpFloat_float operator+(float left, const artkpFloat_float &right)
void setArtkpFloat(const artkpFloat_float &nOther)
friend const artkpFloat_float operator-(float left, const artkpFloat_float &right)
artkpFloat_float & operator+=(double nV)
bool operator!=(const artkpFloat_float &nOther) const
artkpFloat_float & operator+=(const artkpFloat_float &nOther)
artkpFloat_float & operator+=(float nV)
artkpFloat_float(float nV)
artkpFloat_float & operator/=(float nV)
bool operator>=(int nOther) const
void inverseSqrt(const artkpFloat_float &nOther)
friend const artkpFloat_float sqrt(const artkpFloat_float &nV)
bool operator>(const artkpFloat_float &nOther) const
artkpFloat_float & operator-=(float nV)
friend const artkpFloat_float operator/(float left, const artkpFloat_float &right)
friend const artkpFloat_float operator+(const artkpFloat_float &left, float right)
artkpFloat_float & operator=(double nV)
bool operator>=(const artkpFloat_float &nOther) const
friend const artkpFloat_float operator-(const artkpFloat_float &left, const artkpFloat_float &right)
artkpFloat_float & operator*=(double nV)
void setDouble(double nV)
artkpFloat_float & operator*=(float nV)
artkpFloat_float & operator*=(const artkpFloat_float &nOther)
TFSIMD_FORCE_INLINE const tfScalar & w() const
bool operator==(const artkpFloat_float &nOther) const
artkpFloat_float & operator/=(double nV)
void inverse(const artkpFloat_float &nOther)
bool operator!=(int nOther) const
friend const artkpFloat_float ceil(const artkpFloat_float &nV)
friend const artkpFloat_float operator/(const artkpFloat_float &left, const artkpFloat_float &right)
bool operator==(float nOther) const
artkpFloat_float & operator/=(int nV)
bool operator>(int nOther) const
artkpFloat_float & operator*=(int nV)
artkpFloat_float(const artkpFloat_float &nOther)
friend const artkpFloat_float operator*(const artkpFloat_float &left, const artkpFloat_float &right)
friend const artkpFloat_float operator+(const artkpFloat_float &left, const artkpFloat_float &right)
artkpFloat_float & operator/=(const artkpFloat_float &nOther)
artkpFloat_float(unsigned int nV)
friend const artkpFloat_float operator*(float left, const artkpFloat_float &right)
friend const artkpFloat_float acos(const artkpFloat_float &nV)
artkpFloat_float & operator=(unsigned int nV)
friend const artkpFloat_float atan2(const artkpFloat_float &nVa, const artkpFloat_float &nVb)
friend const artkpFloat_float operator/(const artkpFloat_float &left, float right)
artkpFloat_float & operator=(float nV)