Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
mpfr::mpreal Class Reference

#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 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())
 
mprealoperator*= (const long long int u)
 
mprealoperator*= (const unsigned long long int u)
 
mprealoperator*= (const mpreal &v)
 
mprealoperator*= (const mpz_t v)
 
mprealoperator*= (const mpq_t v)
 
mprealoperator*= (const long double v)
 
mprealoperator*= (const double v)
 
mprealoperator*= (const unsigned long int v)
 
mprealoperator*= (const unsigned int v)
 
mprealoperator*= (const long int v)
 
mprealoperator*= (const int v)
 
const mpreal operator+ () const
 
mprealoperator++ ()
 
const mpreal operator++ (int)
 
mprealoperator+= (const mpreal &v)
 
mprealoperator+= (const mpf_t v)
 
mprealoperator+= (const mpz_t v)
 
mprealoperator+= (const mpq_t v)
 
mprealoperator+= (const long double u)
 
mprealoperator+= (const double u)
 
mprealoperator+= (const unsigned long int u)
 
mprealoperator+= (const unsigned int u)
 
mprealoperator+= (const long int u)
 
mprealoperator+= (const int u)
 
mprealoperator+= (const long long int u)
 
mprealoperator+= (const unsigned long long int u)
 
const mpreal operator- () const
 
mprealoperator-- ()
 
const mpreal operator-- (int)
 
mprealoperator-= (const long long int u)
 
mprealoperator-= (const unsigned long long int u)
 
mprealoperator-= (const mpreal &v)
 
mprealoperator-= (const mpz_t v)
 
mprealoperator-= (const mpq_t v)
 
mprealoperator-= (const long double u)
 
mprealoperator-= (const double u)
 
mprealoperator-= (const unsigned long int u)
 
mprealoperator-= (const unsigned int u)
 
mprealoperator-= (const long int u)
 
mprealoperator-= (const int u)
 
mprealoperator/= (const long long int u)
 
mprealoperator/= (const unsigned long long int u)
 
mprealoperator/= (const mpreal &v)
 
mprealoperator/= (const mpz_t v)
 
mprealoperator/= (const mpq_t v)
 
mprealoperator/= (const long double v)
 
mprealoperator/= (const double v)
 
mprealoperator/= (const unsigned long int v)
 
mprealoperator/= (const unsigned int v)
 
mprealoperator/= (const long int v)
 
mprealoperator/= (const int v)
 
mprealoperator<<= (const unsigned long int u)
 
mprealoperator<<= (const unsigned int u)
 
mprealoperator<<= (const long int u)
 
mprealoperator<<= (const int u)
 
mprealoperator= (const mpreal &v)
 
mprealoperator= (const mpf_t v)
 
mprealoperator= (const mpz_t v)
 
mprealoperator= (const mpq_t v)
 
mprealoperator= (const long double v)
 
mprealoperator= (const double v)
 
mprealoperator= (const unsigned long int v)
 
mprealoperator= (const unsigned long long int v)
 
mprealoperator= (const long long int v)
 
mprealoperator= (const unsigned int v)
 
mprealoperator= (const long int v)
 
mprealoperator= (const int v)
 
mprealoperator= (const char *s)
 
mprealoperator= (const std::string &s)
 
template<typename real_t >
mprealoperator= (const std::complex< real_t > &z)
 
mprealoperator>>= (const unsigned long int u)
 
mprealoperator>>= (const unsigned int u)
 
mprealoperator>>= (const long int u)
 
mprealoperator>>= (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())
 
mprealsetInf (int Sign=+1)
 
mprealsetNan ()
 
mprealsetPrecision (int Precision, mp_rnd_t RoundingMode=get_default_rnd())
 
mprealsetSign (int Sign, mp_rnd_t RoundingMode=get_default_rnd())
 
mprealsetZero (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 ()
 

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 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)
 

Detailed Description

Definition at line 142 of file mpreal.h.

Constructor & Destructor Documentation

mpfr::mpreal::mpreal ( )
inline

Definition at line 564 of file mpreal.h.

mpfr::mpreal::mpreal ( const mpreal u)
inline

Definition at line 572 of file mpreal.h.

mpfr::mpreal::mpreal ( const mpf_t  u)
inline

Definition at line 613 of file mpreal.h.

mpfr::mpreal::mpreal ( const mpz_t  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 621 of file mpreal.h.

mpfr::mpreal::mpreal ( const mpq_t  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 629 of file mpreal.h.

mpfr::mpreal::mpreal ( const double  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 637 of file mpreal.h.

mpfr::mpreal::mpreal ( const long double  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 654 of file mpreal.h.

mpfr::mpreal::mpreal ( const unsigned long long int  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 662 of file mpreal.h.

mpfr::mpreal::mpreal ( const long long int  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 670 of file mpreal.h.

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

Definition at line 678 of file mpreal.h.

mpfr::mpreal::mpreal ( const unsigned int  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 686 of file mpreal.h.

mpfr::mpreal::mpreal ( const long int  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 694 of file mpreal.h.

mpfr::mpreal::mpreal ( const int  u,
mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  mode = mpreal::get_default_rnd() 
)
inline

Definition at line 702 of file mpreal.h.

mpfr::mpreal::mpreal ( const mpfr_t  u,
bool  shared = false 
)
inline

Definition at line 598 of file mpreal.h.

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

Definition at line 710 of file mpreal.h.

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

Definition at line 718 of file mpreal.h.

mpfr::mpreal::~mpreal ( )
inline

Definition at line 734 of file mpreal.h.

Member Function Documentation

int mpfr::mpreal::check_range ( int  t,
mp_rnd_t  rnd_mode = get_default_rnd() 
)
inline

Definition at line 2104 of file mpreal.h.

void mpfr::mpreal::clear ( ::mpfr_ptr  x)
inlineprivate

Definition at line 726 of file mpreal.h.

bool mpfr::mpreal::fits_in_bits ( double  x,
int  n 
)
inline

Definition at line 2676 of file mpreal.h.

static mp_prec_t mpfr::mpreal::get_default_prec ( )
inlinestatic

Definition at line 150 of file mpreal.h.

static mp_rnd_t mpfr::mpreal::get_default_rnd ( )
inlinestatic

Definition at line 149 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emax ( void  )
inlinestatic

Definition at line 2126 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emax_max ( void  )
inlinestatic

Definition at line 2151 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emax_min ( void  )
inlinestatic

Definition at line 2146 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emin ( void  )
inlinestatic

Definition at line 2116 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emin_max ( void  )
inlinestatic

Definition at line 2141 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emin_min ( void  )
inlinestatic

Definition at line 2136 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_exp ( )
inline

Definition at line 1996 of file mpreal.h.

mp_prec_t mpfr::mpreal::get_prec ( ) const
inline

Definition at line 1985 of file mpreal.h.

int mpfr::mpreal::getPrecision ( ) const
inline

Definition at line 1946 of file mpreal.h.

mpfr_ptr mpfr::mpreal::mpfr_ptr ( )
inline

Definition at line 1721 of file mpreal.h.

mpfr_srcptr mpfr::mpreal::mpfr_ptr ( ) const
inline

Definition at line 1722 of file mpreal.h.

mpfr_srcptr mpfr::mpreal::mpfr_srcptr ( ) const
inline

Definition at line 1723 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const long long int  u)
inline

Definition at line 1155 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const unsigned long long int  u)
inline

Definition at line 1156 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const mpreal v)
inline

Definition at line 1320 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const mpz_t  v)
inline

Definition at line 1327 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const mpq_t  v)
inline

Definition at line 1334 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const long double  v)
inline

Definition at line 1341 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const double  v)
inline

Definition at line 1348 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const unsigned long int  v)
inline

Definition at line 1359 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const unsigned int  v)
inline

Definition at line 1366 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const long int  v)
inline

Definition at line 1373 of file mpreal.h.

mpreal & mpfr::mpreal::operator*= ( const int  v)
inline

Definition at line 1380 of file mpreal.h.

const mpreal mpfr::mpreal::operator+ ( ) const
inline

Definition at line 1160 of file mpreal.h.

mpreal & mpfr::mpreal::operator++ ( )
inline

Definition at line 1169 of file mpreal.h.

const mpreal mpfr::mpreal::operator++ ( int  )
inline

Definition at line 1174 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const mpreal v)
inline

Definition at line 1076 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const mpf_t  v)
inline

Definition at line 1083 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const mpz_t  v)
inline

Definition at line 1090 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const mpq_t  v)
inline

Definition at line 1097 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const long double  u)
inline

Definition at line 1104 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const double  u)
inline

Definition at line 1111 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const unsigned long int  u)
inline

Definition at line 1123 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const unsigned int  u)
inline

Definition at line 1130 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const long int  u)
inline

Definition at line 1137 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const int  u)
inline

Definition at line 1144 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const long long int  u)
inline

Definition at line 1151 of file mpreal.h.

mpreal & mpfr::mpreal::operator+= ( const unsigned long long int  u)
inline

Definition at line 1152 of file mpreal.h.

const mpreal mpfr::mpreal::operator- ( ) const
inline

Definition at line 1263 of file mpreal.h.

mpreal & mpfr::mpreal::operator-- ( )
inline

Definition at line 1181 of file mpreal.h.

const mpreal mpfr::mpreal::operator-- ( int  )
inline

Definition at line 1186 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const long long int  u)
inline

Definition at line 1153 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const unsigned long long int  u)
inline

Definition at line 1154 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const mpreal v)
inline

Definition at line 1195 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const mpz_t  v)
inline

Definition at line 1202 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const mpq_t  v)
inline

Definition at line 1209 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const long double  u)
inline

Definition at line 1216 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const double  u)
inline

Definition at line 1223 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const unsigned long int  u)
inline

Definition at line 1235 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const unsigned int  u)
inline

Definition at line 1242 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const long int  u)
inline

Definition at line 1249 of file mpreal.h.

mpreal & mpfr::mpreal::operator-= ( const int  u)
inline

Definition at line 1256 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const long long int  u)
inline

Definition at line 1157 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const unsigned long long int  u)
inline

Definition at line 1158 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const mpreal v)
inline

Definition at line 1396 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const mpz_t  v)
inline

Definition at line 1403 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const mpq_t  v)
inline

Definition at line 1410 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const long double  v)
inline

Definition at line 1417 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const double  v)
inline

Definition at line 1424 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const unsigned long int  v)
inline

Definition at line 1435 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const unsigned int  v)
inline

Definition at line 1442 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const long int  v)
inline

Definition at line 1449 of file mpreal.h.

mpreal & mpfr::mpreal::operator/= ( const int  v)
inline

Definition at line 1456 of file mpreal.h.

mpreal & mpfr::mpreal::operator<<= ( const unsigned long int  u)
inline

Definition at line 1513 of file mpreal.h.

mpreal & mpfr::mpreal::operator<<= ( const unsigned int  u)
inline

Definition at line 1520 of file mpreal.h.

mpreal & mpfr::mpreal::operator<<= ( const long int  u)
inline

Definition at line 1527 of file mpreal.h.

mpreal & mpfr::mpreal::operator<<= ( const int  u)
inline

Definition at line 1534 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const mpreal v)
inline

Definition at line 907 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const mpf_t  v)
inline

Definition at line 926 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const mpz_t  v)
inline

Definition at line 934 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const mpq_t  v)
inline

Definition at line 942 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const long double  v)
inline

Definition at line 950 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const double  v)
inline

Definition at line 958 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const unsigned long int  v)
inline

Definition at line 974 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const unsigned long long int  v)
inline

Definition at line 990 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const long long int  v)
inline

Definition at line 998 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const unsigned int  v)
inline

Definition at line 982 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const long int  v)
inline

Definition at line 1006 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const int  v)
inline

Definition at line 1014 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const char *  s)
inline

Definition at line 1022 of file mpreal.h.

mpreal & mpfr::mpreal::operator= ( const std::string &  s)
inline

Definition at line 1045 of file mpreal.h.

template<typename real_t >
mpreal & mpfr::mpreal::operator= ( const std::complex< real_t > &  z)
inline

Definition at line 1069 of file mpreal.h.

mpreal & mpfr::mpreal::operator>>= ( const unsigned long int  u)
inline

Definition at line 1541 of file mpreal.h.

mpreal & mpfr::mpreal::operator>>= ( const unsigned int  u)
inline

Definition at line 1548 of file mpreal.h.

mpreal & mpfr::mpreal::operator>>= ( const long int  u)
inline

Definition at line 1555 of file mpreal.h.

mpreal & mpfr::mpreal::operator>>= ( const int  u)
inline

Definition at line 1562 of file mpreal.h.

std::ostream & mpfr::mpreal::output ( std::ostream &  os) const
inline

Definition at line 1873 of file mpreal.h.

void mpfr::mpreal::set_default_prec ( mp_prec_t  prec)
inlinestatic

Definition at line 2666 of file mpreal.h.

void mpfr::mpreal::set_default_rnd ( mp_rnd_t  rnd_mode)
inlinestatic

Definition at line 2671 of file mpreal.h.

int mpfr::mpreal::set_emax ( mp_exp_t  exp)
inlinestatic

Definition at line 2131 of file mpreal.h.

int mpfr::mpreal::set_emin ( mp_exp_t  exp)
inlinestatic

Definition at line 2121 of file mpreal.h.

int mpfr::mpreal::set_exp ( mp_exp_t  e)
inline

Definition at line 2001 of file mpreal.h.

void mpfr::mpreal::set_prec ( mp_prec_t  prec,
mp_rnd_t  rnd_mode = get_default_rnd() 
)
inline

Definition at line 1990 of file mpreal.h.

mpreal & mpfr::mpreal::setInf ( int  Sign = +1)
inline

Definition at line 1958 of file mpreal.h.

mpreal & mpfr::mpreal::setNan ( )
inline

Definition at line 1965 of file mpreal.h.

mpreal & mpfr::mpreal::setPrecision ( int  Precision,
mp_rnd_t  RoundingMode = get_default_rnd() 
)
inline

Definition at line 1951 of file mpreal.h.

mpreal & mpfr::mpreal::setSign ( int  Sign,
mp_rnd_t  RoundingMode = get_default_rnd() 
)
inline

Definition at line 1939 of file mpreal.h.

mpreal & mpfr::mpreal::setZero ( int  Sign = +1)
inline

Definition at line 1972 of file mpreal.h.

int mpfr::mpreal::subnormalize ( int  t,
mp_rnd_t  rnd_mode = get_default_rnd() 
)
inline

Definition at line 2109 of file mpreal.h.

bool mpfr::mpreal::toBool ( ) const
inline

Definition at line 1712 of file mpreal.h.

double mpfr::mpreal::toDouble ( mp_rnd_t  mode = GMP_RNDN) const
inline

Definition at line 1716 of file mpreal.h.

float mpfr::mpreal::toFloat ( mp_rnd_t  mode = GMP_RNDN) const
inline

Definition at line 1715 of file mpreal.h.

long double mpfr::mpreal::toLDouble ( mp_rnd_t  mode = GMP_RNDN) const
inline

Definition at line 1717 of file mpreal.h.

long long mpfr::mpreal::toLLong ( mp_rnd_t  mode = GMP_RNDZ) const
inline

Definition at line 1718 of file mpreal.h.

long mpfr::mpreal::toLong ( mp_rnd_t  mode = GMP_RNDZ) const
inline

Definition at line 1713 of file mpreal.h.

std::string mpfr::mpreal::toString ( int  n = -1,
int  b = 10,
mp_rnd_t  mode = mpreal::get_default_rnd() 
) const
inline

Definition at line 1755 of file mpreal.h.

std::string mpfr::mpreal::toString ( const std::string &  format) const
inline

Definition at line 1735 of file mpreal.h.

unsigned long long mpfr::mpreal::toULLong ( mp_rnd_t  mode = GMP_RNDZ) const
inline

Definition at line 1719 of file mpreal.h.

unsigned long mpfr::mpreal::toULong ( mp_rnd_t  mode = GMP_RNDZ) const
inline

Definition at line 1714 of file mpreal.h.

Friends And Related Function Documentation

const mpreal abs ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2223 of file mpreal.h.

const mpreal acos ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2236 of file mpreal.h.

const mpreal acosh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2255 of file mpreal.h.

const mpreal acot ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2242 of file mpreal.h.

const mpreal acoth ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2245 of file mpreal.h.

const mpreal acsc ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2244 of file mpreal.h.

const mpreal acsch ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2247 of file mpreal.h.

const mpreal agm ( const mpreal v1,
const mpreal v2,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2366 of file mpreal.h.

const mpreal ai ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2467 of file mpreal.h.

const mpreal asec ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2243 of file mpreal.h.

const mpreal asech ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2246 of file mpreal.h.

const mpreal asin ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2237 of file mpreal.h.

const mpreal asinh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2256 of file mpreal.h.

const mpreal atan ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2238 of file mpreal.h.

const mpreal atan2 ( const mpreal y,
const mpreal x,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2273 of file mpreal.h.

const mpreal atanh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2257 of file mpreal.h.

const mpreal besselj0 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2268 of file mpreal.h.

const mpreal besselj1 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2269 of file mpreal.h.

const mpreal besseljn ( long  n,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2322 of file mpreal.h.

const mpreal bessely0 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2270 of file mpreal.h.

const mpreal bessely1 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2271 of file mpreal.h.

const mpreal besselyn ( long  n,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2329 of file mpreal.h.

const mpreal cbrt ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2221 of file mpreal.h.

const mpreal ceil ( const mpreal v)
friend

Definition at line 2509 of file mpreal.h.

int cmpabs ( const mpreal a,
const mpreal b 
)
friend

Definition at line 2208 of file mpreal.h.

const mpreal const_catalan ( mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2493 of file mpreal.h.

const mpreal const_euler ( mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2486 of file mpreal.h.

const mpreal const_infinity ( int  sign = 1,
mp_prec_t  prec = mpreal::get_default_prec() 
)
friend

Definition at line 2500 of file mpreal.h.

const mpreal const_log2 ( mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2472 of file mpreal.h.

const mpreal const_pi ( mp_prec_t  prec = mpreal::get_default_prec(),
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2479 of file mpreal.h.

const mpreal cos ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2230 of file mpreal.h.

const mpreal cosh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2249 of file mpreal.h.

const mpreal cot ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2235 of file mpreal.h.

const mpreal coth ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2254 of file mpreal.h.

const mpreal csc ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2234 of file mpreal.h.

const mpreal csch ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2253 of file mpreal.h.

const mpreal digamma ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2466 of file mpreal.h.

const mpreal dim ( const mpreal a,
const mpreal b,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2201 of file mpreal.h.

const mpreal div_2si ( const mpreal v,
long int  k,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 1632 of file mpreal.h.

const mpreal div_2ui ( const mpreal v,
unsigned long int  k,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 1625 of file mpreal.h.

const mpreal eint ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2261 of file mpreal.h.

const mpreal erf ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2266 of file mpreal.h.

const mpreal erfc ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2267 of file mpreal.h.

const mpreal exp ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2227 of file mpreal.h.

const mpreal exp10 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2229 of file mpreal.h.

const mpreal exp2 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2228 of file mpreal.h.

const mpreal expm1 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2260 of file mpreal.h.

const mpreal fabs ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2222 of file mpreal.h.

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

Definition at line 2301 of file mpreal.h.

const mpreal floor ( const mpreal v)
friend

Definition at line 2516 of file mpreal.h.

const mpreal fma ( const mpreal v1,
const mpreal v2,
const mpreal v3,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2336 of file mpreal.h.

const mpreal fmax ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2550 of file mpreal.h.

const mpreal fmin ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2557 of file mpreal.h.

const mpreal fmod ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2440 of file mpreal.h.

const mpreal fms ( const mpreal v1,
const mpreal v2,
const mpreal v3,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2351 of file mpreal.h.

const mpreal frac ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2542 of file mpreal.h.

const mpreal gamma ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2262 of file mpreal.h.

const mpreal grandom ( gmp_randstate_t &  state,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2639 of file mpreal.h.

const mpreal grandom ( unsigned int  seed = 0)
friend

Definition at line 2646 of file mpreal.h.

const mpreal hypot ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2280 of file mpreal.h.

bool() isfinite ( const mpreal v)
friend

Definition at line 1702 of file mpreal.h.

bool() isinf ( const mpreal v)
friend

Definition at line 1701 of file mpreal.h.

bool isint ( const mpreal v)
friend

Definition at line 1704 of file mpreal.h.

bool() isnan ( const mpreal v)
friend

Definition at line 1700 of file mpreal.h.

bool isnum ( const mpreal v)
friend
bool isregular ( const mpreal v)
friend

Definition at line 1707 of file mpreal.h.

bool iszero ( const mpreal v)
friend

Definition at line 1703 of file mpreal.h.

const mpreal lgamma ( const mpreal v,
int *  signp = 0,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2310 of file mpreal.h.

const mpreal li2 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2404 of file mpreal.h.

const mpreal lngamma ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2264 of file mpreal.h.

const mpreal log ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2224 of file mpreal.h.

const mpreal log10 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2226 of file mpreal.h.

const mpreal log1p ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2259 of file mpreal.h.

const mpreal log2 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2225 of file mpreal.h.

const mpreal logb ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2240 of file mpreal.h.

const mpreal mod ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2415 of file mpreal.h.

const mpreal modf ( const mpreal v,
mpreal n 
)
friend

Definition at line 2094 of file mpreal.h.

const mpreal mul_2si ( const mpreal v,
long int  k,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 1618 of file mpreal.h.

const mpreal mul_2ui ( const mpreal v,
unsigned long int  k,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 1610 of file mpreal.h.

const mpreal nextabove ( const mpreal x)
friend

Definition at line 2571 of file mpreal.h.

const mpreal nextbelow ( const mpreal x)
friend

Definition at line 2578 of file mpreal.h.

const mpreal nexttoward ( const mpreal x,
const mpreal y 
)
friend

Definition at line 2564 of file mpreal.h.

const mpreal operator- ( const unsigned long int  b,
const mpreal a 
)
friend

Definition at line 1290 of file mpreal.h.

const mpreal operator- ( const unsigned int  b,
const mpreal a 
)
friend

Definition at line 1297 of file mpreal.h.

const mpreal operator- ( const long int  b,
const mpreal a 
)
friend

Definition at line 1304 of file mpreal.h.

const mpreal operator- ( const int  b,
const mpreal a 
)
friend

Definition at line 1311 of file mpreal.h.

const mpreal operator- ( const double  b,
const mpreal a 
)
friend

Definition at line 1277 of file mpreal.h.

const mpreal operator/ ( const unsigned long int  b,
const mpreal a 
)
friend

Definition at line 1470 of file mpreal.h.

const mpreal operator/ ( const unsigned int  b,
const mpreal a 
)
friend

Definition at line 1477 of file mpreal.h.

const mpreal operator/ ( const long int  b,
const mpreal a 
)
friend

Definition at line 1484 of file mpreal.h.

const mpreal operator/ ( const int  b,
const mpreal a 
)
friend

Definition at line 1491 of file mpreal.h.

const mpreal operator/ ( const double  b,
const mpreal a 
)
friend

Definition at line 1498 of file mpreal.h.

std::ostream& operator<< ( std::ostream &  os,
const mpreal v 
)
friend

Definition at line 1899 of file mpreal.h.

std::istream& operator>> ( std::istream &  is,
mpreal v 
)
friend

Definition at line 1904 of file mpreal.h.

const mpreal pow ( const mpreal a,
const mpreal b,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2683 of file mpreal.h.

const mpreal pow ( const mpreal a,
const mpz_t  b,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2690 of file mpreal.h.

const mpreal pow ( const mpreal a,
const unsigned long int  b,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2697 of file mpreal.h.

const mpreal pow ( const mpreal a,
const long int  b,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2709 of file mpreal.h.

const mpreal pow ( const unsigned long int  a,
const mpreal b,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2731 of file mpreal.h.

const mpreal pow ( const unsigned long int  a,
const unsigned long int  b,
mp_rnd_t  rnd_mode 
)
friend

Definition at line 2766 of file mpreal.h.

const mpreal random ( unsigned int  seed = 0)
friend

Definition at line 2614 of file mpreal.h.

const mpreal random2 ( mp_size_t  size,
mp_exp_t  exp 
)
friend

Definition at line 2602 of file mpreal.h.

const mpreal rec_sqrt ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2455 of file mpreal.h.

const mpreal rem ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2409 of file mpreal.h.

const mpreal remainder ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2287 of file mpreal.h.

const mpreal remquo ( long *  q,
const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2294 of file mpreal.h.

const mpreal rint ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2537 of file mpreal.h.

const mpreal rint_ceil ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2538 of file mpreal.h.

const mpreal rint_floor ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2539 of file mpreal.h.

const mpreal rint_round ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2540 of file mpreal.h.

const mpreal rint_trunc ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2541 of file mpreal.h.

const mpreal root ( const mpreal v,
unsigned long int  k,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2194 of file mpreal.h.

const mpreal round ( const mpreal v)
friend

Definition at line 2523 of file mpreal.h.

const mpreal sec ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2233 of file mpreal.h.

const mpreal sech ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2252 of file mpreal.h.

int sgn ( const mpreal v)
friend

Definition at line 1934 of file mpreal.h.

const mpreal sin ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2231 of file mpreal.h.

int sin_cos ( mpreal s,
mpreal c,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2213 of file mpreal.h.

const mpreal sinh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2250 of file mpreal.h.

int sinh_cosh ( mpreal s,
mpreal c,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2399 of file mpreal.h.

const mpreal sqr ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2164 of file mpreal.h.

const mpreal sqrt ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2167 of file mpreal.h.

const mpreal sqrt ( const unsigned long int  v,
mp_rnd_t  rnd_mode 
)
friend

Definition at line 2170 of file mpreal.h.

const mpreal sum ( const mpreal  tab[],
const unsigned long int  n,
int &  status,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2381 of file mpreal.h.

void swap ( mpfr::mpreal x,
mpfr::mpreal y 
)
friend

Definition at line 2546 of file mpreal.h.

const mpreal tan ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2232 of file mpreal.h.

const mpreal tanh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2251 of file mpreal.h.

const mpreal tgamma ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2263 of file mpreal.h.

const mpreal trunc ( const mpreal v)
friend

Definition at line 2530 of file mpreal.h.

const mpreal urandom ( gmp_randstate_t &  state,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2593 of file mpreal.h.

const mpreal urandomb ( gmp_randstate_t &  state)
friend

Definition at line 2585 of file mpreal.h.

const mpreal zeta ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::get_default_rnd() 
)
friend

Definition at line 2265 of file mpreal.h.

Member Data Documentation

mpfr_t mpfr::mpreal::mp
private

Definition at line 144 of file mpreal.h.


The documentation for this class was generated from the following file:


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:11:00