DUNE-FEM (unstable)
Class implementing different number representations and helper functions. More...
Modules | |
FloatCmp | |
Classes | |
class | Dune::bigunsignedint< k > |
Portable very large unsigned integers. More... | |
struct | Dune::IsNumber< T > |
Whether this type acts as a scalar in the context of (hierarchically blocked) containers. More... | |
struct | Dune::IsNumber< bigunsignedint< k > > |
Declare big unsigned int is a number. More... | |
class | Dune::GMPField< precision > |
Number class for high precision floating point number using the GMP library mpf_class implementation. More... | |
Functions | |
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 | |
Detailed Description
Class implementing different number representations and helper functions.
Function Documentation
◆ todouble()
template<int k>
|
inline |
Convert to a double.
- Warning
- Subject to rounding errors!
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)