OpenCV453
|
公開メンバ関数 | |
softdouble () | |
Default constructor | |
softdouble (const softdouble &c) | |
Copy constructor | |
softdouble & | operator= (const softdouble &c) |
Assign constructor | |
softdouble (const uint32_t) | |
Construct from integer | |
softdouble (const uint64_t) | |
softdouble (const int32_t) | |
softdouble (const int64_t) | |
softdouble (const double a) | |
Construct from double | |
operator softfloat () const | |
Type casts | |
operator double () const | |
softdouble | operator+ (const softdouble &) const |
Basic arithmetics | |
softdouble | operator- (const softdouble &) const |
softdouble | operator* (const softdouble &) const |
softdouble | operator/ (const softdouble &) const |
softdouble | operator- () const |
softdouble | operator% (const softdouble &) const |
Remainder operator [詳解] | |
softdouble & | operator+= (const softdouble &a) |
softdouble & | operator-= (const softdouble &a) |
softdouble & | operator*= (const softdouble &a) |
softdouble & | operator/= (const softdouble &a) |
softdouble & | operator%= (const softdouble &a) |
bool | operator== (const softdouble &) const |
Comparison operations [詳解] | |
bool | operator!= (const softdouble &) const |
bool | operator> (const softdouble &) const |
bool | operator>= (const softdouble &) const |
bool | operator< (const softdouble &) const |
bool | operator<= (const softdouble &) const |
bool | isNaN () const |
NaN state indicator | |
bool | isInf () const |
Inf state indicator | |
bool | isSubnormal () const |
Subnormal number indicator | |
bool | getSign () const |
Get sign bit | |
softdouble | setSign (bool sign) const |
Construct a copy with new sign bit | |
int | getExp () const |
Get 0-based exponent | |
softdouble | setExp (int e) const |
Construct a copy with new 0-based exponent | |
softdouble | getFrac () const |
Get a fraction part [詳解] | |
softdouble | setFrac (const softdouble &s) const |
Construct a copy with provided significand [詳解] | |
静的公開メンバ関数 | |
static softdouble | fromRaw (const uint64_t a) |
Construct from raw [詳解] | |
static softdouble | zero () |
Zero constant | |
static softdouble | inf () |
Positive infinity constant | |
static softdouble | nan () |
Default NaN constant | |
static softdouble | one () |
One constant | |
static softdouble | min () |
Smallest normalized value | |
static softdouble | eps () |
Difference between 1 and next representable value | |
static softdouble | max () |
Biggest finite value | |
static softdouble | pi () |
Correct pi approximation | |
公開変数類 | |
uint64_t | v |