Searched defs:softfloat (Results 1 – 3 of 3) sorted by relevance
89 struct CV_EXPORTS softfloat struct93 softfloat() { v = 0; } in softfloat() function95 softfloat( const softfloat& c) { v = c.v; } in softfloat() argument97 softfloat& operator=( const softfloat& c ) in operator =()106 static const softfloat fromRaw( const uint32_t a ) { softfloat x; x.v = a; return x; } in fromRaw()116 explicit softfloat( const int a ) { *this = softfloat(static_cast<int32_t>(a)); } in softfloat() function120 explicit softfloat( const float a ) { Cv32suf s; s.f = a; v = s.u; } in softfloat() function124 operator float() const { Cv32suf s; s.u = v; return s.f; } in operator float()131 softfloat operator - () const { softfloat x; x.v = v ^ (1U << 31); return x; } in operator -()148 softfloat& operator += (const softfloat& a) { *this = *this + a; return *this; } in operator +=()[all …]
89 struct CV_EXPORTS softfloat struct93 softfloat() { v = 0; } in softfloat() argument95 softfloat( const softfloat& c) { v = c.v; } in softfloat() function97 softfloat& operator=( const softfloat& c ) in operator =()106 static const softfloat fromRaw( const uint32_t a ) { softfloat x; x.v = a; return x; } in fromRaw()116 explicit softfloat( const int a ) { *this = softfloat(static_cast<int32_t>(a)); } in softfloat() argument120 explicit softfloat( const float a ) { Cv32suf s; s.f = a; v = s.u; } in softfloat() function124 operator float() const { Cv32suf s; s.u = v; return s.f; } in operator float()131 softfloat operator - () const { softfloat x; x.v = v ^ (1U << 31); return x; } in operator -()148 softfloat& operator += (const softfloat& a) { *this = *this + a; return *this; } in operator +=()[all …]
89 struct CV_EXPORTS softfloat struct93 softfloat() { v = 0; } in softfloat() argument95 softfloat( const softfloat& c) { v = c.v; } in softfloat() function97 softfloat& operator=( const softfloat& c ) in operator =()106 static const softfloat fromRaw( const uint32_t a ) { softfloat x; x.v = a; return x; } in fromRaw()116 explicit softfloat( const int a ) { *this = softfloat(static_cast<int32_t>(a)); } in softfloat() argument120 explicit softfloat( const float a ) { Cv32suf s; s.f = a; v = s.u; } in softfloat() argument124 operator float() const { Cv32suf s; s.u = v; return s.f; } in operator float()131 softfloat operator - () const { softfloat x; x.v = v ^ (1U << 31); return x; } in operator -()148 softfloat& operator += (const softfloat& a) { *this = *this + a; return *this; } in operator +=()[all …]