Dune Core Modules (2.7.1)
Number class for high precision floating point number using the GMP library mpf_class implementation. More...
#include <dune/common/gmpfield.hh>
Public Member Functions | |
GMPField () | |
GMPField (const char *str) | |
initialize from a string More... | |
GMPField (const std::string &str) | |
initialize from a string More... | |
template<class T , typename EnableIf = typename std::enable_if< std::is_convertible<T, mpf_class>::value>::type> | |
GMPField (const T &v) | |
initialize from a compatible scalar type | |
Detailed Description
template<unsigned int precision>
class Dune::GMPField< precision >
class Dune::GMPField< precision >
Number class for high precision floating point number using the GMP library mpf_class implementation.
Constructor & Destructor Documentation
◆ GMPField() [1/3]
template<unsigned int precision>
|
inline |
default constructor, initialize to zero
◆ GMPField() [2/3]
template<unsigned int precision>
|
inline |
initialize from a string
- Note
- this is the only reliable way to initialize with higher precision values
◆ GMPField() [3/3]
template<unsigned int precision>
|
inline |
initialize from a string
- Note
- this is the only reliable way to initialize with higher precision values
The documentation for this class was generated from the following file:
- dune/common/gmpfield.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)