![]() |
OpenCV 4.12.0
開源計算機視覺
|
#include <opencv2/core/softfloat.hpp>
公共成員函式 | |
| softdouble () | |
| 預設建構函式。 | |
| softdouble (const double a) | |
| 從 double 構造。 | |
| softdouble (const int32_t) | |
| softdouble (const int64_t) | |
| softdouble (const softdouble &c) | |
| 複製建構函式。 | |
| softdouble (const uint32_t) | |
| 從整數構造。 | |
| softdouble (const uint64_t) | |
| int | getExp () const |
| 獲取基於 0 的指數。 | |
| softdouble | getFrac () const |
| 獲取小數部分。 | |
| bool | getSign () const |
| 獲取符號位。 | |
| bool | isInf () const |
| Inf 狀態指示器。 | |
| bool | isNaN () const |
| NaN 狀態指示器。 | |
| bool | isSubnormal () const |
| 次正規數指示器。 | |
| operator double () const | |
| operator softfloat () const | |
| 型別轉換 | |
| bool | operator!= (const softdouble &) const |
| softdouble | operator% (const softdouble &) const |
| 取餘運算子。 | |
| softdouble & | operator%= (const softdouble &a) |
| softdouble | operator* (const softdouble &) const |
| softdouble & | operator*= (const softdouble &a) |
| softdouble | operator+ (const softdouble &) const |
| 基本算術運算。 | |
| softdouble & | operator+= (const softdouble &a) |
| softdouble | operator- () const |
| softdouble | operator- (const softdouble &) 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) |
| 賦值建構函式。 | |
| bool | operator== (const softdouble &) const |
| 比較運算。 | |
| bool | operator> (const softdouble &) const |
| bool | operator>= (const softdouble &) const |
| softdouble | setExp (int e) const |
| 構造一個具有新 0 基指數的副本。 | |
| softdouble | setFrac (const softdouble &s) const |
| 構造一個具有提供的尾數的副本。 | |
| softdouble | setSign (bool sign) const |
| 構造一個具有新符號位的副本。 | |
靜態公共成員函式 | |
| static softdouble | eps () |
| 1 和下一個可表示值之間的差。 | |
| static softdouble | fromRaw (const uint64_t a) |
| 從原始資料構造。 | |
| static softdouble | inf () |
| 正無窮大常數。 | |
| static softdouble | max () |
| 最大有限值。 | |
| static softdouble | min () |
| 最小歸一化值。 | |
| static softdouble | nan () |
| 預設 NaN 常數。 | |
| static softdouble | one () |
| 1 常數。 | |
| static softdouble | pi () |
| 正確的 pi 近似值。 | |
| static softdouble | zero () |
| 零常數。 | |
公共屬性 | |
| uint64_t | v |