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 | |
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 |
Number class for high precision floating point number using the GMP library mpf_class implementation.
Dune::GMPField< precision >::GMPField | ( | ) | [inline] |
default constructor, initialize to zero
Dune::GMPField< precision >::GMPField | ( | const char * | str | ) | [inline] |
initialize from a string
Dune::GMPField< precision >::GMPField | ( | const std::string & | str | ) | [inline] |
initialize from a string
Dune::GMPField< precision >::GMPField | ( | const T & | v | ) | [inline] |
initialize from a compatible scalar type
Dune::GMPField< precision >::operator double | ( | ) | const [inline] |