Number class for high precision floating point number using the GMP library mpf_class implementation.
More...
#include <dune/common/gmpfield.hh>
|
| | GMPField () |
| | GMPField (const char *str) |
| | initialize from a string
|
| | GMPField (const std::string &str) |
| | initialize from a string
|
| 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
|
| | operator double () const |
template<unsigned int precision>
class Dune::GMPField< precision >
Number class for high precision floating point number using the GMP library mpf_class implementation.
◆ GMPField() [1/4]
template<unsigned int precision>
default constructor, initialize to zero
◆ GMPField() [2/4]
template<unsigned int precision>
initialize from a string
- Note
- this is the only reliable way to initialize with higher precision values
◆ GMPField() [3/4]
template<unsigned int precision>
initialize from a string
- Note
- this is the only reliable way to initialize with higher precision values
◆ GMPField() [4/4]
template<unsigned int precision>
template<class T, typename EnableIf = typename std::enable_if< std::is_convertible<T, mpf_class>::value>::type>
initialize from a compatible scalar type
◆ operator double()
template<unsigned int precision>
The documentation for this class was generated from the following file: