|
int | check_range (int t, mp_rnd_t rnd_mode=get_default_rnd()) |
|
bool | fits_in_bits (double x, int n) |
|
mp_exp_t | get_exp () |
|
mp_prec_t | get_prec () const |
|
int | getPrecision () const |
|
::mpfr_ptr | mpfr_ptr () |
|
::mpfr_srcptr | mpfr_ptr () const |
|
::mpfr_srcptr | mpfr_srcptr () const |
|
| mpreal () |
|
| mpreal (const mpreal &u) |
|
| mpreal (const mpf_t u) |
|
| mpreal (const mpz_t u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const mpq_t u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const double u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const long double u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const unsigned long long int u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const long long int u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const unsigned long int u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const unsigned int u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const long int u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const int u, mp_prec_t prec=mpreal::get_default_prec(), mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const mpfr_t u, bool shared=false) |
|
| mpreal (const char *s, mp_prec_t prec=mpreal::get_default_prec(), int base=10, mp_rnd_t mode=mpreal::get_default_rnd()) |
|
| mpreal (const std::string &s, mp_prec_t prec=mpreal::get_default_prec(), int base=10, mp_rnd_t mode=mpreal::get_default_rnd()) |
|
mpreal & | operator*= (const long long int u) |
|
mpreal & | operator*= (const unsigned long long int u) |
|
mpreal & | operator*= (const mpreal &v) |
|
mpreal & | operator*= (const mpz_t v) |
|
mpreal & | operator*= (const mpq_t v) |
|
mpreal & | operator*= (const long double v) |
|
mpreal & | operator*= (const double v) |
|
mpreal & | operator*= (const unsigned long int v) |
|
mpreal & | operator*= (const unsigned int v) |
|
mpreal & | operator*= (const long int v) |
|
mpreal & | operator*= (const int v) |
|
const mpreal | operator+ () const |
|
mpreal & | operator++ () |
|
const mpreal | operator++ (int) |
|
mpreal & | operator+= (const mpreal &v) |
|
mpreal & | operator+= (const mpf_t v) |
|
mpreal & | operator+= (const mpz_t v) |
|
mpreal & | operator+= (const mpq_t v) |
|
mpreal & | operator+= (const long double u) |
|
mpreal & | operator+= (const double u) |
|
mpreal & | operator+= (const unsigned long int u) |
|
mpreal & | operator+= (const unsigned int u) |
|
mpreal & | operator+= (const long int u) |
|
mpreal & | operator+= (const int u) |
|
mpreal & | operator+= (const long long int u) |
|
mpreal & | operator+= (const unsigned long long int u) |
|
const mpreal | operator- () const |
|
mpreal & | operator-- () |
|
const mpreal | operator-- (int) |
|
mpreal & | operator-= (const long long int u) |
|
mpreal & | operator-= (const unsigned long long int u) |
|
mpreal & | operator-= (const mpreal &v) |
|
mpreal & | operator-= (const mpz_t v) |
|
mpreal & | operator-= (const mpq_t v) |
|
mpreal & | operator-= (const long double u) |
|
mpreal & | operator-= (const double u) |
|
mpreal & | operator-= (const unsigned long int u) |
|
mpreal & | operator-= (const unsigned int u) |
|
mpreal & | operator-= (const long int u) |
|
mpreal & | operator-= (const int u) |
|
mpreal & | operator/= (const long long int u) |
|
mpreal & | operator/= (const unsigned long long int u) |
|
mpreal & | operator/= (const mpreal &v) |
|
mpreal & | operator/= (const mpz_t v) |
|
mpreal & | operator/= (const mpq_t v) |
|
mpreal & | operator/= (const long double v) |
|
mpreal & | operator/= (const double v) |
|
mpreal & | operator/= (const unsigned long int v) |
|
mpreal & | operator/= (const unsigned int v) |
|
mpreal & | operator/= (const long int v) |
|
mpreal & | operator/= (const int v) |
|
mpreal & | operator<<= (const unsigned long int u) |
|
mpreal & | operator<<= (const unsigned int u) |
|
mpreal & | operator<<= (const long int u) |
|
mpreal & | operator<<= (const int u) |
|
mpreal & | operator= (const mpreal &v) |
|
mpreal & | operator= (const mpf_t v) |
|
mpreal & | operator= (const mpz_t v) |
|
mpreal & | operator= (const mpq_t v) |
|
mpreal & | operator= (const long double v) |
|
mpreal & | operator= (const double v) |
|
mpreal & | operator= (const unsigned long int v) |
|
mpreal & | operator= (const unsigned long long int v) |
|
mpreal & | operator= (const long long int v) |
|
mpreal & | operator= (const unsigned int v) |
|
mpreal & | operator= (const long int v) |
|
mpreal & | operator= (const int v) |
|
mpreal & | operator= (const char *s) |
|
mpreal & | operator= (const std::string &s) |
|
template<typename real_t > |
mpreal & | operator= (const std::complex< real_t > &z) |
|
mpreal & | operator>>= (const unsigned long int u) |
|
mpreal & | operator>>= (const unsigned int u) |
|
mpreal & | operator>>= (const long int u) |
|
mpreal & | operator>>= (const int u) |
|
std::ostream & | output (std::ostream &os) const |
|
int | set_exp (mp_exp_t e) |
|
void | set_prec (mp_prec_t prec, mp_rnd_t rnd_mode=get_default_rnd()) |
|
mpreal & | setInf (int Sign=+1) |
|
mpreal & | setNan () |
|
mpreal & | setPrecision (int Precision, mp_rnd_t RoundingMode=get_default_rnd()) |
|
mpreal & | setSign (int Sign, mp_rnd_t RoundingMode=get_default_rnd()) |
|
mpreal & | setZero (int Sign=+1) |
|
int | subnormalize (int t, mp_rnd_t rnd_mode=get_default_rnd()) |
|
bool | toBool () const |
|
double | toDouble (mp_rnd_t mode=GMP_RNDN) const |
|
float | toFloat (mp_rnd_t mode=GMP_RNDN) const |
|
long double | toLDouble (mp_rnd_t mode=GMP_RNDN) const |
|
long long | toLLong (mp_rnd_t mode=GMP_RNDZ) const |
|
long | toLong (mp_rnd_t mode=GMP_RNDZ) const |
|
std::string | toString (int n=-1, int b=10, mp_rnd_t mode=mpreal::get_default_rnd()) const |
|
std::string | toString (const std::string &format) const |
|
unsigned long long | toULLong (mp_rnd_t mode=GMP_RNDZ) const |
|
unsigned long | toULong (mp_rnd_t mode=GMP_RNDZ) const |
|
| ~mpreal () |
|
|
const mpreal | abs (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | acos (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | acosh (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | acot (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | acoth (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | acsc (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | acsch (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | agm (const mpreal &v1, const mpreal &v2, mp_rnd_t rnd_mode) |
|
const mpreal | ai (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | asec (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | asech (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | asin (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | asinh (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | atan (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | atan2 (const mpreal &y, const mpreal &x, mp_rnd_t rnd_mode) |
|
const mpreal | atanh (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | besselj0 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | besselj1 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | besseljn (long n, const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | bessely0 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | bessely1 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | besselyn (long n, const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | cbrt (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | ceil (const mpreal &v) |
|
int | cmpabs (const mpreal &a, const mpreal &b) |
|
const mpreal | const_catalan (mp_prec_t prec, mp_rnd_t rnd_mode) |
|
const mpreal | const_euler (mp_prec_t prec, mp_rnd_t rnd_mode) |
|
const mpreal | const_infinity (int sign, mp_prec_t prec) |
|
const mpreal | const_log2 (mp_prec_t prec, mp_rnd_t rnd_mode) |
|
const mpreal | const_pi (mp_prec_t prec, mp_rnd_t rnd_mode) |
|
const mpreal | cos (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | cosh (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | cot (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | coth (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | csc (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | csch (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | digamma (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | dim (const mpreal &a, const mpreal &b, mp_rnd_t rnd_mode) |
|
const mpreal | div_2si (const mpreal &v, long int k, mp_rnd_t rnd_mode) |
|
const mpreal | div_2ui (const mpreal &v, unsigned long int k, mp_rnd_t rnd_mode) |
|
const mpreal | eint (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | erf (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | erfc (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | exp (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | exp10 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | exp2 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | expm1 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | fabs (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | fac_ui (unsigned long int v, mp_prec_t prec, mp_rnd_t rnd_mode) |
|
const mpreal | floor (const mpreal &v) |
|
const mpreal | fma (const mpreal &v1, const mpreal &v2, const mpreal &v3, mp_rnd_t rnd_mode) |
|
const mpreal | fmax (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
const mpreal | fmin (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
const mpreal | fmod (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
const mpreal | fms (const mpreal &v1, const mpreal &v2, const mpreal &v3, mp_rnd_t rnd_mode) |
|
const mpreal | frac (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | gamma (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | grandom (gmp_randstate_t &state, mp_rnd_t rnd_mode) |
|
const mpreal | grandom (unsigned int seed) |
|
const mpreal | hypot (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
bool() | isfinite (const mpreal &v) |
|
bool() | isinf (const mpreal &v) |
|
bool | isint (const mpreal &v) |
|
bool() | isnan (const mpreal &v) |
|
bool | isnum (const mpreal &v) |
|
bool | isregular (const mpreal &v) |
|
bool | iszero (const mpreal &v) |
|
const mpreal | lgamma (const mpreal &v, int *signp, mp_rnd_t rnd_mode) |
|
const mpreal | li2 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | lngamma (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | log (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | log10 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | log1p (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | log2 (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | logb (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | mod (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
const mpreal | modf (const mpreal &v, mpreal &n) |
|
const mpreal | mul_2si (const mpreal &v, long int k, mp_rnd_t rnd_mode) |
|
const mpreal | mul_2ui (const mpreal &v, unsigned long int k, mp_rnd_t rnd_mode) |
|
const mpreal | nextabove (const mpreal &x) |
|
const mpreal | nextbelow (const mpreal &x) |
|
const mpreal | nexttoward (const mpreal &x, const mpreal &y) |
|
const mpreal | operator- (const unsigned long int b, const mpreal &a) |
|
const mpreal | operator- (const unsigned int b, const mpreal &a) |
|
const mpreal | operator- (const long int b, const mpreal &a) |
|
const mpreal | operator- (const int b, const mpreal &a) |
|
const mpreal | operator- (const double b, const mpreal &a) |
|
const mpreal | operator/ (const unsigned long int b, const mpreal &a) |
|
const mpreal | operator/ (const unsigned int b, const mpreal &a) |
|
const mpreal | operator/ (const long int b, const mpreal &a) |
|
const mpreal | operator/ (const int b, const mpreal &a) |
|
const mpreal | operator/ (const double b, const mpreal &a) |
|
std::ostream & | operator<< (std::ostream &os, const mpreal &v) |
|
std::istream & | operator>> (std::istream &is, mpreal &v) |
|
const mpreal | pow (const mpreal &a, const mpreal &b, mp_rnd_t rnd_mode) |
|
const mpreal | pow (const mpreal &a, const mpz_t b, mp_rnd_t rnd_mode) |
|
const mpreal | pow (const mpreal &a, const unsigned long int b, mp_rnd_t rnd_mode) |
|
const mpreal | pow (const mpreal &a, const long int b, mp_rnd_t rnd_mode) |
|
const mpreal | pow (const unsigned long int a, const mpreal &b, mp_rnd_t rnd_mode) |
|
const mpreal | pow (const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode) |
|
const mpreal | random (unsigned int seed) |
|
const mpreal | random2 (mp_size_t size, mp_exp_t exp) |
|
const mpreal | rec_sqrt (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | rem (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
const mpreal | remainder (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
const mpreal | remquo (long *q, const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode) |
|
const mpreal | rint (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | rint_ceil (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | rint_floor (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | rint_round (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | rint_trunc (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | root (const mpreal &v, unsigned long int k, mp_rnd_t rnd_mode) |
|
const mpreal | round (const mpreal &v) |
|
const mpreal | sec (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | sech (const mpreal &v, mp_rnd_t rnd_mode) |
|
int | sgn (const mpreal &v) |
|
const mpreal | sin (const mpreal &v, mp_rnd_t rnd_mode) |
|
int | sin_cos (mpreal &s, mpreal &c, const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | sinh (const mpreal &v, mp_rnd_t rnd_mode) |
|
int | sinh_cosh (mpreal &s, mpreal &c, const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | sqr (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | sqrt (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | sqrt (const unsigned long int v, mp_rnd_t rnd_mode) |
|
const mpreal | sum (const mpreal tab[], const unsigned long int n, int &status, mp_rnd_t rnd_mode) |
|
void | swap (mpreal &x, mpreal &y) |
|
const mpreal | tan (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | tanh (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | tgamma (const mpreal &v, mp_rnd_t rnd_mode) |
|
const mpreal | trunc (const mpreal &v) |
|
const mpreal | urandom (gmp_randstate_t &state, mp_rnd_t rnd_mode) |
|
const mpreal | urandomb (gmp_randstate_t &state) |
|
const mpreal | zeta (const mpreal &v, mp_rnd_t rnd_mode) |
|