Class implementing different number representations and helper functions.
More...
|
|
| Dune::bigunsignedint< k >::bigunsignedint () |
| | Construct uninitialized.
|
| |
|
template<typename Signed > |
| | Dune::bigunsignedint< k >::bigunsignedint (Signed x, typename std::enable_if< std::is_integral< Signed >::value &&std::is_signed< Signed >::value >::type *=0) |
| | Construct from signed int.
|
| |
|
| Dune::bigunsignedint< k >::bigunsignedint (std::uintmax_t x) |
| | Construct from unsigned int.
|
| |
|
std::uint_least32_t | Dune::bigunsignedint< k >::touint () const |
| | export to other types
|
| |
| double | Dune::bigunsignedint< k >::todouble () const |
| | Convert to a double. More...
|
| |
|
void | Dune::bigunsignedint< k >::print (std::ostream &s) const |
| | Print number in hex notation.
|
| |
|
bigunsignedint< k > & | Dune::bigunsignedint< k >::operator++ () |
| | prefix increment
|
| |
|
bigunsignedint< k > | Dune::bigunsignedint< k >::operator~ () const |
| | bitwise complement
|
| |
|
bigunsignedint< k > | Dune::bigunsignedint< k >::operator<< (int i) const |
| | left shift
|
| |
|
bigunsignedint< k > | Dune::bigunsignedint< k >::operator>> (int i) const |
| | right shift
|
| |
|
bool | Dune::bigunsignedint< k >::operator!= (const bigunsignedint< k > &x) const |
| | not equal
|
| |
|
bool | Dune::bigunsignedint< k >::operator== (const bigunsignedint< k > &x) const |
| | equal
|
| |
|
bool | Dune::bigunsignedint< k >::operator< (const bigunsignedint< k > &x) const |
| | less than
|
| |
|
bool | Dune::bigunsignedint< k >::operator<= (const bigunsignedint< k > &x) const |
| | less than or equal
|
| |
|
bool | Dune::bigunsignedint< k >::operator> (const bigunsignedint< k > &x) const |
| | greater than
|
| |
|
bool | Dune::bigunsignedint< k >::operator>= (const bigunsignedint< k > &x) const |
| | greater or equal
|
| |
Class implementing different number representations and helper functions.
◆ todouble()
Convert to a double.
- Warning
- Subject to rounding errors!