|
iutest
1.17.1.0
|
浮動小数点数 [詳解]
#include <iutest_defs.hpp>
公開メンバ関数 | |
| floating_point () | |
| コンストラクタ | |
| floating_point (RawType f) | |
| コンストラクタ [詳解] | |
| floating_point (const floating_point &rhs) | |
| コンストラクタ | |
| bool | AlmostEquals (const _Myt &rhs) const |
| 浮動小数点数がほぼ一致するかどうか | |
| bool | NanSensitiveAlmostEquals (const _Myt &rhs) const |
| 浮動小数点数がほぼ一致するかどうか [詳解] | |
| bool | AlmostNear (const _Myt &rhs, RawType max_abs_error) const |
| 浮動小数点数の差分が max_abs_error 以内に収まるかどうか | |
| bool | NanSensitiveAlmostNear (const _Myt &rhs, RawType max_abs_error) const |
| 浮動小数点数の差分が max_abs_error 以内に収まるかどうか | |
| _Myt | Abs (const _Myt &rhs) const |
| UInt | bits () const |
| ビット列の取得 | |
| RawType | raw () const |
| raw データの取得 | |
| UInt | exponent_bits () const |
| exponent | |
| UInt | fraction_bits () const |
| fraction | |
| UInt | sign_bit () const |
| sign | |
| bool | is_nan () const |
| is nan | |
| bool | is_inf () const |
| is inf | |
静的公開メンバ関数 | |
| static _Myt | PINF () |
| plus inf | |
| static _Myt | NINF () |
| minus inf | |
| static _Myt | PNAN () |
| plus nan | |
| static _Myt | NNAN () |
| minus nan | |
| static _Myt | PQNAN () |
| plus qnan | |
| static _Myt | NQNAN () |
| minus qnan | |
浮動小数点数
|
inline |
コンストラクタ
| [in] | f | = 浮動小数点数 |
|
inline |
浮動小数点数がほぼ一致するかどうか


1.8.17