#include <mpreal.h>
Public Member Functions | |
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 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 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) |
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) |
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 int v) |
mpreal & | operator= (const long int v) |
mpreal & | operator= (const int v) |
mpreal & | operator= (const char *s) |
mpreal & | operator= (const std::string &s) |
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 (mp_rnd_t mode=GMP_RNDZ) 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 | 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 | toULong (mp_rnd_t mode=GMP_RNDZ) const |
~mpreal () | |
Static Public Member Functions | |
static mp_prec_t | get_default_prec () |
static mp_rnd_t | get_default_rnd () |
static mp_exp_t | get_emax (void) |
static mp_exp_t | get_emax_max (void) |
static mp_exp_t | get_emax_min (void) |
static mp_exp_t | get_emin (void) |
static mp_exp_t | get_emin_max (void) |
static mp_exp_t | get_emin_min (void) |
static void | set_default_prec (mp_prec_t prec) |
static void | set_default_rnd (mp_rnd_t rnd_mode) |
static int | set_emax (mp_exp_t exp) |
static int | set_emin (mp_exp_t exp) |
Private Member Functions | |
MPREAL_MSVC_DEBUGVIEW_DATA void | clear (::mpfr_ptr) |
Private Attributes | |
mpfr_t | mp |
Friends | |
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 | frexp (const mpreal &v, mp_exp_t *exp) |
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 | ldexp (const mpreal &v, mp_exp_t exp) |
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 | 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) |
bool | operator!= (const mpreal &a, const mpreal &b) |
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) |
std::ostream & | operator<< (std::ostream &os, const mpreal &v) |
bool | operator<= (const mpreal &a, const mpreal &b) |
bool | operator== (const mpreal &a, const mpreal &b) |
bool | operator== (const mpreal &a, const unsigned long int b) |
bool | operator== (const mpreal &a, const unsigned int b) |
bool | operator== (const mpreal &a, const long int b) |
bool | operator== (const mpreal &a, const int b) |
bool | operator== (const mpreal &a, const long double b) |
bool | operator== (const mpreal &a, const double b) |
bool | operator> (const mpreal &a, const mpreal &b) |
bool | operator>= (const mpreal &a, const mpreal &b) |
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[], unsigned long int n, 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 | 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) |
mpfr::mpreal::mpreal | ( | ) | [inline] |
mpfr::mpreal::mpreal | ( | const mpreal & | u | ) | [inline] |
mpfr::mpreal::mpreal | ( | const mpf_t | u | ) | [inline] |
mpfr::mpreal::mpreal | ( | const mpz_t | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const mpq_t | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const double | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const long double | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const unsigned long int | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const unsigned int | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const long int | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const int | u, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const mpfr_t | u, |
bool | shared = false |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const char * | s, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
int | base = 10 , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::mpreal | ( | const std::string & | s, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
int | base = 10 , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | [inline] |
mpfr::mpreal::~mpreal | ( | ) | [inline] |
int mpfr::mpreal::check_range | ( | int | t, |
mp_rnd_t | rnd_mode = get_default_rnd() |
||
) | [inline] |
void mpfr::mpreal::clear | ( | ::mpfr_ptr | x | ) | [inline, private] |
bool mpfr::mpreal::fits_in_bits | ( | double | x, |
int | n | ||
) | [inline] |
static mp_prec_t mpfr::mpreal::get_default_prec | ( | ) | [inline, static] |
static mp_rnd_t mpfr::mpreal::get_default_rnd | ( | ) | [inline, static] |
mp_exp_t mpfr::mpreal::get_emax | ( | void | ) | [inline, static] |
mp_exp_t mpfr::mpreal::get_emax_max | ( | void | ) | [inline, static] |
mp_exp_t mpfr::mpreal::get_emax_min | ( | void | ) | [inline, static] |
mp_exp_t mpfr::mpreal::get_emin | ( | void | ) | [inline, static] |
mp_exp_t mpfr::mpreal::get_emin_max | ( | void | ) | [inline, static] |
mp_exp_t mpfr::mpreal::get_emin_min | ( | void | ) | [inline, static] |
mp_exp_t mpfr::mpreal::get_exp | ( | ) | [inline] |
mp_prec_t mpfr::mpreal::get_prec | ( | ) | const [inline] |
int mpfr::mpreal::getPrecision | ( | ) | const [inline] |
mpfr_ptr mpfr::mpreal::mpfr_ptr | ( | ) | [inline] |
mpfr_srcptr mpfr::mpreal::mpfr_ptr | ( | ) | const [inline] |
mpfr_srcptr mpfr::mpreal::mpfr_srcptr | ( | ) | const [inline] |
mpreal & mpfr::mpreal::operator*= | ( | const mpz_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator*= | ( | const mpq_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator*= | ( | const long double | v | ) | [inline] |
mpreal & mpfr::mpreal::operator*= | ( | const double | v | ) | [inline] |
mpreal & mpfr::mpreal::operator*= | ( | const unsigned long int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator*= | ( | const unsigned int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator*= | ( | const long int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const mpf_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const mpz_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const mpq_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const long double | u | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const double | u | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const unsigned long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const unsigned int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator+= | ( | const long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator-= | ( | const mpz_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator-= | ( | const mpq_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator-= | ( | const long double | u | ) | [inline] |
mpreal & mpfr::mpreal::operator-= | ( | const double | u | ) | [inline] |
mpreal & mpfr::mpreal::operator-= | ( | const unsigned long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator-= | ( | const unsigned int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator-= | ( | const long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator/= | ( | const mpz_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator/= | ( | const mpq_t | v | ) | [inline] |
mpreal & mpfr::mpreal::operator/= | ( | const long double | v | ) | [inline] |
mpreal & mpfr::mpreal::operator/= | ( | const double | v | ) | [inline] |
mpreal & mpfr::mpreal::operator/= | ( | const unsigned long int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator/= | ( | const unsigned int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator/= | ( | const long int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator<<= | ( | const unsigned long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator<<= | ( | const unsigned int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator<<= | ( | const long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator<<= | ( | const int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator= | ( | const long double | v | ) | [inline] |
mpreal & mpfr::mpreal::operator= | ( | const double | v | ) | [inline] |
mpreal & mpfr::mpreal::operator= | ( | const unsigned long int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator= | ( | const unsigned int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator= | ( | const long int | v | ) | [inline] |
mpreal & mpfr::mpreal::operator= | ( | const char * | s | ) | [inline] |
mpreal & mpfr::mpreal::operator= | ( | const std::string & | s | ) | [inline] |
mpreal & mpfr::mpreal::operator>>= | ( | const unsigned long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator>>= | ( | const unsigned int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator>>= | ( | const long int | u | ) | [inline] |
mpreal & mpfr::mpreal::operator>>= | ( | const int | u | ) | [inline] |
std::ostream & mpfr::mpreal::output | ( | std::ostream & | os | ) | const [inline] |
void mpfr::mpreal::set_default_prec | ( | mp_prec_t | prec | ) | [inline, static] |
void mpfr::mpreal::set_default_rnd | ( | mp_rnd_t | rnd_mode | ) | [inline, static] |
int mpfr::mpreal::set_emax | ( | mp_exp_t | exp | ) | [inline, static] |
int mpfr::mpreal::set_emin | ( | mp_exp_t | exp | ) | [inline, static] |
int mpfr::mpreal::set_exp | ( | mp_exp_t | e | ) | [inline] |
void mpfr::mpreal::set_prec | ( | mp_prec_t | prec, |
mp_rnd_t | rnd_mode = get_default_rnd() |
||
) | [inline] |
mpreal & mpfr::mpreal::setInf | ( | int | Sign = +1 | ) | [inline] |
mpreal & mpfr::mpreal::setNan | ( | ) | [inline] |
mpreal & mpfr::mpreal::setPrecision | ( | int | Precision, |
mp_rnd_t | RoundingMode = get_default_rnd() |
||
) | [inline] |
mpreal & mpfr::mpreal::setSign | ( | int | Sign, |
mp_rnd_t | RoundingMode = get_default_rnd() |
||
) | [inline] |
mpreal & mpfr::mpreal::setZero | ( | int | Sign = +1 | ) | [inline] |
int mpfr::mpreal::subnormalize | ( | int | t, |
mp_rnd_t | rnd_mode = get_default_rnd() |
||
) | [inline] |
bool mpfr::mpreal::toBool | ( | mp_rnd_t | mode = GMP_RNDZ | ) | const [inline] |
double mpfr::mpreal::toDouble | ( | mp_rnd_t | mode = GMP_RNDN | ) | const [inline] |
float mpfr::mpreal::toFloat | ( | mp_rnd_t | mode = GMP_RNDN | ) | const [inline] |
long double mpfr::mpreal::toLDouble | ( | mp_rnd_t | mode = GMP_RNDN | ) | const [inline] |
long mpfr::mpreal::toLong | ( | mp_rnd_t | mode = GMP_RNDZ | ) | const [inline] |
std::string mpfr::mpreal::toString | ( | int | n = -1 , |
int | b = 10 , |
||
mp_rnd_t | mode = mpreal::get_default_rnd() |
||
) | const [inline] |
std::string mpfr::mpreal::toString | ( | const std::string & | format | ) | const [inline] |
unsigned long mpfr::mpreal::toULong | ( | mp_rnd_t | mode = GMP_RNDZ | ) | const [inline] |
const mpreal abs | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal acos | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal acosh | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal acot | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal acoth | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal acsc | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal acsch | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal agm | ( | const mpreal & | v1, |
const mpreal & | v2, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal ai | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal asec | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal asech | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal asin | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal asinh | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal atan | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal atan2 | ( | const mpreal & | y, |
const mpreal & | x, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal atanh | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal besselj0 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal besselj1 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal besseljn | ( | long | n, |
const mpreal & | v, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal bessely0 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal bessely1 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal besselyn | ( | long | n, |
const mpreal & | v, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal cbrt | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal const_catalan | ( | mp_prec_t | prec = mpreal::get_default_prec() , |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal const_euler | ( | mp_prec_t | prec = mpreal::get_default_prec() , |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal const_infinity | ( | int | sign = 1 , |
mp_prec_t | prec = mpreal::get_default_prec() |
||
) | [friend] |
const mpreal const_log2 | ( | mp_prec_t | prec = mpreal::get_default_prec() , |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal const_pi | ( | mp_prec_t | prec = mpreal::get_default_prec() , |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal cos | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal cosh | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal cot | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal coth | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal csc | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal csch | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal digamma | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal dim | ( | const mpreal & | a, |
const mpreal & | b, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal div_2si | ( | const mpreal & | v, |
long int | k, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal div_2ui | ( | const mpreal & | v, |
unsigned long int | k, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal eint | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal erf | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal erfc | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal exp | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal exp10 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal exp2 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal expm1 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal fabs | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal fac_ui | ( | unsigned long int | v, |
mp_prec_t | prec = mpreal::get_default_prec() , |
||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal fmax | ( | const mpreal & | x, |
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal fmin | ( | const mpreal & | x, |
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal fmod | ( | const mpreal & | x, |
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal frac | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal gamma | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal grandom | ( | gmp_randstate_t & | state, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal hypot | ( | const mpreal & | x, |
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal lgamma | ( | const mpreal & | v, |
int * | signp = 0 , |
||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal li2 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal lngamma | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal log | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal log10 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal log1p | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal log2 | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal mod | ( | const mpreal & | x, |
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal mul_2si | ( | const mpreal & | v, |
long int | k, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal mul_2ui | ( | const mpreal & | v, |
unsigned long int | k, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal nexttoward | ( | const mpreal & | x, |
const mpreal & | y | ||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | os, |
const mpreal & | v | ||
) | [friend] |
bool operator== | ( | const mpreal & | a, |
const unsigned long int | b | ||
) | [friend] |
bool operator== | ( | const mpreal & | a, |
const unsigned int | b | ||
) | [friend] |
bool operator== | ( | const mpreal & | a, |
const long int | b | ||
) | [friend] |
bool operator== | ( | const mpreal & | a, |
const int | b | ||
) | [friend] |
bool operator== | ( | const mpreal & | a, |
const long double | b | ||
) | [friend] |
bool operator== | ( | const mpreal & | a, |
const double | b | ||
) | [friend] |
std::istream& operator>> | ( | std::istream & | is, |
mpreal & | v | ||
) | [friend] |
const mpreal pow | ( | const mpreal & | a, |
const mpreal & | b, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal pow | ( | const mpreal & | a, |
const mpz_t | b, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal pow | ( | const mpreal & | a, |
const unsigned long int | b, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal pow | ( | const mpreal & | a, |
const long int | b, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal pow | ( | const unsigned long int | a, |
const mpreal & | b, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal rec_sqrt | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal rem | ( | const mpreal & | x, |
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal remainder | ( | const mpreal & | x, |
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal remquo | ( | long * | q, |
const mpreal & | x, | ||
const mpreal & | y, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal rint | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal rint_ceil | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal rint_floor | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal rint_round | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal rint_trunc | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal root | ( | const mpreal & | v, |
unsigned long int | k, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal sec | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal sech | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal sin | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
int sin_cos | ( | mpreal & | s, |
mpreal & | c, | ||
const mpreal & | v, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal sinh | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
int sinh_cosh | ( | mpreal & | s, |
mpreal & | c, | ||
const mpreal & | v, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal sqr | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal sqrt | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal sum | ( | const mpreal | tab[], |
unsigned long int | n, | ||
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
void swap | ( | mpfr::mpreal & | x, |
mpfr::mpreal & | y | ||
) | [friend] |
const mpreal tan | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal tanh | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal urandom | ( | gmp_randstate_t & | state, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
const mpreal zeta | ( | const mpreal & | v, |
mp_rnd_t | rnd_mode = mpreal::get_default_rnd() |
||
) | [friend] |
mpfr_t mpfr::mpreal::mp [private] |