|
| constexpr | value () |
| constexpr | value (bool sign, int scale, const internal::bitblock< fbits > &fraction_without_hidden_bit, bool zero=true, bool inf=false) |
| constexpr | value (const value &initial_value) |
| constexpr | value (signed char initial_value) |
| constexpr | value (short initial_value) |
| constexpr | value (int initial_value) |
| constexpr | value (long initial_value) |
| constexpr | value (long long initial_value) |
| constexpr | value (char initial_value) |
| constexpr | value (unsigned short initial_value) |
| constexpr | value (unsigned int initial_value) |
| constexpr | value (unsigned long initial_value) |
| constexpr | value (unsigned long long initial_value) |
| | value (float initial_value) |
| | value (double initial_value) |
| | value (long double initial_value) |
| constexpr value & | operator= (const value &rhs) |
| constexpr value< fbits > & | operator= (signed char rhs) |
| constexpr value< fbits > & | operator= (short rhs) |
| constexpr value< fbits > & | operator= (int rhs) |
| constexpr value< fbits > & | operator= (long rhs) |
| constexpr value< fbits > & | operator= (long long rhs) |
| constexpr value< fbits > & | operator= (char rhs) |
| constexpr value< fbits > & | operator= (unsigned short rhs) |
| constexpr value< fbits > & | operator= (unsigned int rhs) |
| constexpr value< fbits > & | operator= (unsigned long rhs) |
| constexpr value< fbits > & | operator= (unsigned long long rhs) |
| value< fbits > & | operator= (float rhs) |
| value< fbits > & | operator= (double rhs) |
| value< fbits > & | operator= (long double rhs) |
| constexpr value< fbits > | operator- () const |
| value< fbits > & | operator++ () |
| value< fbits > | operator++ (int) |
| constexpr void | reset () & |
| void | set (bool sign, int scale, bitblock< fbits > fraction_without_hidden_bit, bool zero=false, bool inf=false, bool nan=false) |
| void | setzero () |
| void | setinf (bool sign=true) |
| void | setnan () |
| void | setsign (bool sign=true) |
| void | setscale (int e) |
| void | setfraction (const bitblock< fbits > &fraction_without_hidden_bit) |
| bool | isneg () const |
| bool | ispos () const |
| constexpr bool | iszero () const |
| constexpr bool | isinf () const |
| constexpr bool | isnan () const |
| bool | sign () const |
| int | scale () const |
| bitblock< fbits > | fraction () const |
| bitblock< fhbits > | mantissa () const |
| int | mantissa_exponent () const |
| template<unsigned Size> |
| bitblock< Size > | nshift (int shift) const |
| bitblock< fhbits > | get_fixed_point () const |
| template<typename Ty = double> |
| Ty | get_implicit_fraction_value () const |
| template<typename Ty = double> |
| Ty | sign_value () const |
| template<typename Ty = double> |
| Ty | scale_value () const |
| template<typename Ty = double> |
| Ty | fraction_value () const |
| int | to_int () const noexcept |
| long | to_long () const noexcept |
| long long | to_long_long () const noexcept |
| float | to_float () const noexcept |
| double | to_double () const noexcept |
| long double | to_long_double () const noexcept |
| template<typename Real> |
| Real | to_native () const noexcept |
| | operator long double () const |
| | operator double () const |
| | operator float () const |
| template<unsigned srcbits, unsigned tgtbits> |
| void | right_extend (const value< srcbits > &src) |
| template<unsigned tgt_size> |
| value< tgt_size > | round_to () const |
|
| template<unsigned nfbits> |
| std::ostream & | operator<< (std::ostream &ostr, const value< nfbits > &r) |
| template<unsigned nfbits> |
| std::istream & | operator>> (std::istream &istr, value< nfbits > &r) |
| template<unsigned nfbits> |
| bool | operator== (const value< nfbits > &lhs, const value< nfbits > &rhs) |
| template<unsigned nfbits> |
| bool | operator!= (const value< nfbits > &lhs, const value< nfbits > &rhs) |
| template<unsigned nfbits> |
| bool | operator< (const value< nfbits > &lhs, const value< nfbits > &rhs) |
| template<unsigned nfbits> |
| bool | operator> (const value< nfbits > &lhs, const value< nfbits > &rhs) |
| template<unsigned nfbits> |
| bool | operator<= (const value< nfbits > &lhs, const value< nfbits > &rhs) |
| template<unsigned nfbits> |
| bool | operator>= (const value< nfbits > &lhs, const value< nfbits > &rhs) |