![]()  | 
  
    OpenCV
    3.4.13
    
   Open Source Computer Vision 
   | 
 
#include <opencv2/core/softfloat.hpp>
Public Member Functions | |
| softdouble () | |
| Default constructor.  More... | |
| softdouble (const softdouble &c) | |
| Copy constructor.  More... | |
| softdouble (const uint32_t) | |
| Construct from integer.  More... | |
| softdouble (const uint64_t) | |
| softdouble (const int32_t) | |
| softdouble (const int64_t) | |
| softdouble (const double a) | |
| Construct from double.  More... | |
| int | getExp () const | 
| Get 0-based exponent.  More... | |
| softdouble | getFrac () const | 
| Get a fraction part.  More... | |
| bool | getSign () const | 
| Get sign bit.  More... | |
| bool | isInf () const | 
| Inf state indicator.  More... | |
| bool | isNaN () const | 
| NaN state indicator.  More... | |
| bool | isSubnormal () const | 
| Subnormal number indicator.  More... | |
| operator double () const | |
| operator softfloat () const | |
| Type casts.  More... | |
| bool | operator!= (const softdouble &) const | 
| softdouble | operator% (const softdouble &) const | 
| Remainder operator.  More... | |
| softdouble & | operator%= (const softdouble &a) | 
| softdouble | operator* (const softdouble &) const | 
| softdouble & | operator*= (const softdouble &a) | 
| softdouble | operator+ (const softdouble &) const | 
| Basic arithmetics.  More... | |
| softdouble & | operator+= (const softdouble &a) | 
| softdouble | operator- (const softdouble &) const | 
| softdouble | operator- () const | 
| softdouble & | operator-= (const softdouble &a) | 
| softdouble | operator/ (const softdouble &) const | 
| softdouble & | operator/= (const softdouble &a) | 
| bool | operator< (const softdouble &) const | 
| bool | operator<= (const softdouble &) const | 
| softdouble & | operator= (const softdouble &c) | 
| Assign constructor.  More... | |
| bool | operator== (const softdouble &) const | 
| Comparison operations.  More... | |
| bool | operator> (const softdouble &) const | 
| bool | operator>= (const softdouble &) const | 
| softdouble | setExp (int e) const | 
| Construct a copy with new 0-based exponent.  More... | |
| softdouble | setFrac (const softdouble &s) const | 
| Construct a copy with provided significand.  More... | |
| softdouble | setSign (bool sign) const | 
| Construct a copy with new sign bit.  More... | |
Static Public Member Functions | |
| static softdouble | eps () | 
| Difference between 1 and next representable value.  More... | |
| static softdouble | fromRaw (const uint64_t a) | 
| Construct from raw.  More... | |
| static softdouble | inf () | 
| Positive infinity constant.  More... | |
| static softdouble | max () | 
| Biggest finite value.  More... | |
| static softdouble | min () | 
| Smallest normalized value.  More... | |
| static softdouble | nan () | 
| Default NaN constant.  More... | |
| static softdouble | one () | 
| One constant.  More... | |
| static softdouble | pi () | 
| Correct pi approximation.  More... | |
| static softdouble | zero () | 
| Zero constant.  More... | |
Public Attributes | |
| uint64_t | v | 
 1.8.13