|
| mpreal (const mpreal &u) |
|
| mpreal (const mpfr_t u) |
|
| mpreal (const mpf_t u) |
|
| mpreal (const mpz_t u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const mpq_t u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const double u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const long double u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const unsigned long int u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const unsigned int u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const long int u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const int u, mp_prec_t prec=default_prec, mp_rnd_t mode=default_rnd) |
|
| mpreal (const char *s, mp_prec_t prec=default_prec, int base=default_base, mp_rnd_t mode=default_rnd) |
|
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 int v) |
|
mpreal & | operator= (const long int v) |
|
mpreal & | operator= (const int v) |
|
mpreal & | operator= (const char *s) |
|
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) |
|
const mpreal | operator+ () const |
|
mpreal & | operator++ () |
|
const mpreal | operator++ (int) |
|
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) |
|
const mpreal | operator- () const |
|
mpreal & | operator-- () |
|
const mpreal | operator-- (int) |
|
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 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 unsigned long int u) |
|
mpreal & | operator>>= (const unsigned int u) |
|
mpreal & | operator>>= (const long int u) |
|
mpreal & | operator>>= (const int u) |
|
| operator long double () const |
|
| operator double () const |
|
| operator float () const |
|
| operator unsigned long () const |
|
| operator unsigned int () const |
|
| operator long () const |
|
| operator std::string () const |
|
| operator mpfr_ptr () |
|
mp_prec_t | get_prec () const |
|
void | set_prec (mp_prec_t prec, mp_rnd_t rnd_mode=default_rnd) |
|
void | set_inf (int sign=+1) |
|
void | set_nan () |
|
void | set_sign (int sign, mp_rnd_t rnd_mode=default_rnd) |
|
mp_exp_t | get_exp () |
|
int | set_exp (mp_exp_t e) |
|
int | check_range (int t, mp_rnd_t rnd_mode=default_rnd) |
|
int | subnormalize (int t, mp_rnd_t rnd_mode=default_rnd) |
|
bool | fits_in_bits (double x, int n) |
|
std::string | to_string (size_t n=0, int b=default_base, mp_rnd_t mode=default_rnd) const |
|
|
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) |
|
bool | operator> (const mpreal &a, const mpreal &b) |
|
bool | operator>= (const mpreal &a, const mpreal &b) |
|
bool | operator< (const mpreal &a, const mpreal &b) |
|
bool | operator<= (const mpreal &a, const mpreal &b) |
|
bool | operator== (const mpreal &a, const mpreal &b) |
|
bool | operator!= (const mpreal &a, const mpreal &b) |
|
const mpreal | sqr (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | sqrt (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | sqrt (const unsigned long int v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | cbrt (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | root (const mpreal &v, unsigned long int k, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | pow (const mpreal &a, const mpreal &b, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | pow (const mpreal &a, const mpz_t b, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | pow (const mpreal &a, const unsigned long int b, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | pow (const mpreal &a, const long int b, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | pow (const unsigned long int a, const mpreal &b, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | pow (const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | fabs (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | abs (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | dim (const mpreal &a, const mpreal &b, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | mul_2ui (const mpreal &v, unsigned long int k, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | mul_2si (const mpreal &v, long int k, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | div_2ui (const mpreal &v, unsigned long int k, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | div_2si (const mpreal &v, long int k, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
int | cmpabs (const mpreal &a, const mpreal &b) |
|
const mpreal | log (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | log2 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | log10 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | exp (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | exp2 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | exp10 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | cos (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | sin (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | tan (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | sec (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | csc (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | cot (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
int | sin_cos (mpreal &s, mpreal &c, const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | acos (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | asin (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | atan (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | atan2 (const mpreal &y, const mpreal &x, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | cosh (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | sinh (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | tanh (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | sech (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | csch (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | coth (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | acosh (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | asinh (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | atanh (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | fac_ui (unsigned long int v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | log1p (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | expm1 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | eint (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | gamma (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | lngamma (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | lgamma (const mpreal &v, int *signp, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | zeta (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | erf (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | erfc (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | _j0 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | _j1 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | _jn (long n, const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | _y0 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | _y1 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | _yn (long n, const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | fma (const mpreal &v1, const mpreal &v2, const mpreal &v3, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | fms (const mpreal &v1, const mpreal &v2, const mpreal &v3, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | agm (const mpreal &v1, const mpreal &v2, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | hypot (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | sum (const mpreal tab[], unsigned long int n, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
int | sgn (const mpreal &v) |
|
int | sinh_cosh (mpreal &s, mpreal &c, const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | li2 (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | fmod (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | rec_sqrt (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | frexp (const mpreal &v, mp_exp_t *exp) |
|
const mpreal | ldexp (const mpreal &v, mp_exp_t exp) |
|
const mpreal | modf (const mpreal &v, mpreal &n) |
|
const mpreal | const_log2 (mp_prec_t prec=mpreal::default_prec, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | const_pi (mp_prec_t prec=mpreal::default_prec, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | const_euler (mp_prec_t prec=mpreal::default_prec, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | const_catalan (mp_prec_t prec=mpreal::default_prec, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
std::ostream & | operator<< (std::ostream &os, const mpreal &v) |
|
std::istream & | operator>> (std::istream &is, mpreal &v) |
|
const mpreal | rint (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | ceil (const mpreal &v) |
|
const mpreal | floor (const mpreal &v) |
|
const mpreal | round (const mpreal &v) |
|
const mpreal | trunc (const mpreal &v) |
|
const mpreal | rint_ceil (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | rint_floor (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | rint_round (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | rint_trunc (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | frac (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | remainder (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | remquo (long *q, const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=mpreal::default_rnd) |
|
const mpreal | nexttoward (const mpreal &x, const mpreal &y) |
|
const mpreal | nextabove (const mpreal &x) |
|
const mpreal | nextbelow (const mpreal &x) |
|
const mpreal | urandomb (gmp_randstate_t &state) |
|
const mpreal | random2 (mp_size_t size, mp_exp_t exp) |
|
bool | _isnan (const mpreal &v) |
|
bool | _isinf (const mpreal &v) |
|
bool | _isnum (const mpreal &v) |
|
bool | _iszero (const mpreal &v) |
|
bool | _isint (const mpreal &v) |
|
void | swap (mpreal &x, mpreal &y) |
|
const mpreal | max (const mpreal &x, const mpreal &y) |
|
const mpreal | min (const mpreal &x, const mpreal &y) |
|