Searched defs:softdouble (Results 1 – 3 of 3) sorted by relevance
226 struct CV_EXPORTS softdouble struct230 softdouble() : v(0) { } in softdouble() function232 softdouble( const softdouble& c) { v = c.v; } in softdouble() function234 softdouble& operator=( const softdouble& c ) in operator =()243 static softdouble fromRaw( const uint64_t a ) { softdouble x; x.v = a; return x; } in fromRaw()253 explicit softdouble( const int a ) { *this = softdouble(static_cast<int32_t>(a)); } in softdouble() function257 explicit softdouble( const double a ) { Cv64suf s; s.f = a; v = s.u; } in softdouble() argument261 operator double() const { Cv64suf s; s.u = v; return s.f; } in operator double()268 softdouble operator - () const { softdouble x; x.v = v ^ (1ULL << 63); return x; } in operator -()285 softdouble& operator += (const softdouble& a) { *this = *this + a; return *this; } in operator +=()[all …]