Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends
mpfr::mpreal Class Reference

#include <mpreal.h>

List of all members.

Public Member Functions

int check_range (int t, mp_rnd_t rnd_mode=default_rnd)
bool fits_in_bits (double x, int n)
mp_exp_t get_exp ()
mp_prec_t get_prec () const
 mpreal ()
 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 (const std::string &s, mp_prec_t prec=default_prec, int base=default_base, mp_rnd_t mode=default_rnd)
 operator double () const
 operator float () const
 operator int () const
 operator long () const
 operator long double () const
 operator mpfr_ptr ()
 operator std::string () const
 operator unsigned int () const
 operator unsigned long () const
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)
const mpreal operator- () const
mprealoperator-- ()
const mpreal operator-- (int)
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 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 int v)
mprealoperator= (const long int v)
mprealoperator= (const int v)
mprealoperator= (const char *s)
mprealoperator>>= (const unsigned long int u)
mprealoperator>>= (const unsigned int u)
mprealoperator>>= (const long int u)
mprealoperator>>= (const int u)
int set_exp (mp_exp_t e)
void set_inf (int sign=+1)
void set_nan ()
void set_prec (mp_prec_t prec, mp_rnd_t rnd_mode=default_rnd)
void set_sign (int sign, mp_rnd_t rnd_mode=default_rnd)
int subnormalize (int t, mp_rnd_t rnd_mode=default_rnd)
std::string to_string (size_t n=0, int b=default_base, mp_rnd_t mode=default_rnd) const
 ~mpreal ()

Static Public Member Functions

static int get_default_base ()
static mp_prec_t get_default_prec ()
static mp_rnd_t get_default_rnd ()
static int get_double_bits ()
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_base (int base)
static void set_default_prec (mp_prec_t prec)
static void set_default_rnd (mp_rnd_t rnd_mode)
static void set_double_bits (int dbits)
static int set_emax (mp_exp_t exp)
static int set_emin (mp_exp_t exp)

Static Public Attributes

static int default_base = 10
static mp_prec_t default_prec = mpfr_get_default_prec()
static mp_rnd_t default_rnd = mpfr_get_default_rounding_mode()
static int double_bits = -1

Static Private Member Functions

static void * mpreal_allocate (size_t alloc_size)
static void mpreal_free (void *ptr, size_t size)
static void * mpreal_reallocate (void *ptr, size_t old_size, size_t new_size)
static void set_custom_malloc (void)

Private Attributes

mpfr_t mp

Static Private Attributes

static bool is_custom_malloc = false

Friends

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 _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 abs (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 acosh (const mpreal &v, 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 ai (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 asinh (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 atanh (const mpreal &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 ceil (const mpreal &v)
int cmpabs (const mpreal &a, const mpreal &b)
const mpreal const_catalan (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_infinity (int sign=1, mp_prec_t prec=mpreal::default_prec, mp_rnd_t rnd_mode=mpreal::default_rnd)
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 cos (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal cosh (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)
const mpreal coth (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 csch (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal digamma (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 div_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 eint (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 exp (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 exp2 (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 fabs (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal fac_ui (unsigned long int v, mp_prec_t prec=mpreal::default_prec, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal floor (const mpreal &v)
const mpreal fma (const mpreal &v1, const mpreal &v2, const mpreal &v3, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal fmax (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=default_rnd)
const mpreal fmin (const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=default_rnd)
const mpreal fmod (const mpreal &x, const mpreal &y, 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 frac (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal frexp (const mpreal &v, mp_exp_t *exp)
const mpreal gamma (const mpreal &v, 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 ldexp (const mpreal &v, mp_exp_t exp)
const mpreal lgamma (const mpreal &v, int *signp=0, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal li2 (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 log (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 log1p (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 max (const mpreal &x, const mpreal &y)
const mpreal min (const mpreal &x, const mpreal &y)
const mpreal modf (const mpreal &v, mpreal &n)
const mpreal mul_2si (const mpreal &v, long int k, 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 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 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=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 random2 (mp_size_t size, mp_exp_t exp)
const mpreal rec_sqrt (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 rint (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)
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 root (const mpreal &v, unsigned long int k, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal round (const mpreal &v)
const mpreal sec (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)
int sgn (const mpreal &v)
const mpreal sin (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 sinh (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)
int sinh_cosh (mpreal &s, mpreal &c, const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)
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 sum (const mpreal tab[], unsigned long int n, mp_rnd_t rnd_mode=mpreal::default_rnd)
void swap (mpreal &x, mpreal &y)
const mpreal tan (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 trunc (const mpreal &v)
const mpreal urandom (gmp_randstate_t &state, mp_rnd_t rnd_mode=mpreal::default_rnd)
const mpreal urandomb (gmp_randstate_t &state)
const mpreal zeta (const mpreal &v, mp_rnd_t rnd_mode=mpreal::default_rnd)

Detailed Description

Definition at line 97 of file mpreal.h.


Constructor & Destructor Documentation

Definition at line 89 of file mpreal.cpp.

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

Definition at line 96 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const mpfr_t  u)

Definition at line 103 of file mpreal.cpp.

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

Definition at line 110 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const mpz_t  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 117 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const mpq_t  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 124 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const double  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 131 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const long double  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 143 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const unsigned long int  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 150 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const unsigned int  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 157 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const long int  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 164 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const int  u,
mp_prec_t  prec = default_prec,
mp_rnd_t  mode = default_rnd 
)

Definition at line 171 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const char *  s,
mp_prec_t  prec = default_prec,
int  base = default_base,
mp_rnd_t  mode = default_rnd 
)

Definition at line 178 of file mpreal.cpp.

mpfr::mpreal::mpreal ( const std::string &  s,
mp_prec_t  prec = default_prec,
int  base = default_base,
mp_rnd_t  mode = default_rnd 
)

Definition at line 185 of file mpreal.cpp.

Definition at line 192 of file mpreal.cpp.


Member Function Documentation

int mpfr::mpreal::check_range ( int  t,
mp_rnd_t  rnd_mode = default_rnd 
) [inline]

Definition at line 2155 of file mpreal.h.

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

Definition at line 2899 of file mpreal.h.

int mpfr::mpreal::get_default_base ( ) [inline, static]

Definition at line 2873 of file mpreal.h.

mp_prec_t mpfr::mpreal::get_default_prec ( ) [inline, static]

Definition at line 2863 of file mpreal.h.

mp_rnd_t mpfr::mpreal::get_default_rnd ( ) [inline, static]

Definition at line 2884 of file mpreal.h.

int mpfr::mpreal::get_double_bits ( ) [inline, static]

Definition at line 2894 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emax ( void  ) [inline, static]

Definition at line 2175 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emax_max ( void  ) [inline, static]

Definition at line 2200 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emax_min ( void  ) [inline, static]

Definition at line 2195 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emin ( void  ) [inline, static]

Definition at line 2165 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emin_max ( void  ) [inline, static]

Definition at line 2190 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_emin_min ( void  ) [inline, static]

Definition at line 2185 of file mpreal.h.

mp_exp_t mpfr::mpreal::get_exp ( ) [inline]

Definition at line 2092 of file mpreal.h.

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

Definition at line 2072 of file mpreal.h.

void * mpfr::mpreal::mpreal_allocate ( size_t  alloc_size) [static, private]

Definition at line 483 of file mpreal.cpp.

void mpfr::mpreal::mpreal_free ( void *  ptr,
size_t  size 
) [static, private]

Definition at line 493 of file mpreal.cpp.

void * mpfr::mpreal::mpreal_reallocate ( void *  ptr,
size_t  old_size,
size_t  new_size 
) [static, private]

Definition at line 488 of file mpreal.cpp.

mpfr::mpreal::operator double ( ) const [inline]

Definition at line 2019 of file mpreal.h.

mpfr::mpreal::operator float ( ) const [inline]

Definition at line 2024 of file mpreal.h.

mpfr::mpreal::operator int ( ) const [inline]

Definition at line 2049 of file mpreal.h.

mpfr::mpreal::operator long ( ) const [inline]

Definition at line 2044 of file mpreal.h.

mpfr::mpreal::operator long double ( ) const [inline]

Definition at line 2029 of file mpreal.h.

mpfr::mpreal::operator mpfr_ptr ( ) [inline]

Definition at line 2054 of file mpreal.h.

mpfr::mpreal::operator std::string ( ) const

Definition at line 329 of file mpreal.cpp.

mpfr::mpreal::operator unsigned int ( ) const [inline]

Definition at line 2039 of file mpreal.h.

mpfr::mpreal::operator unsigned long ( ) const [inline]

Definition at line 2034 of file mpreal.h.

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

Definition at line 1170 of file mpreal.h.

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

Definition at line 1176 of file mpreal.h.

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

Definition at line 1182 of file mpreal.h.

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

Definition at line 1188 of file mpreal.h.

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

Definition at line 1193 of file mpreal.h.

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

Definition at line 1203 of file mpreal.h.

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

Definition at line 1209 of file mpreal.h.

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

Definition at line 1215 of file mpreal.h.

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

Definition at line 1221 of file mpreal.h.

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

Definition at line 852 of file mpreal.h.

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

Definition at line 965 of file mpreal.h.

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

Definition at line 971 of file mpreal.h.

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

Definition at line 789 of file mpreal.h.

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

Definition at line 795 of file mpreal.h.

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

Definition at line 801 of file mpreal.h.

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

Definition at line 807 of file mpreal.h.

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

Definition at line 813 of file mpreal.h.

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

Definition at line 818 of file mpreal.h.

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

Definition at line 828 of file mpreal.h.

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

Definition at line 834 of file mpreal.h.

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

Definition at line 840 of file mpreal.h.

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

Definition at line 846 of file mpreal.h.

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

Definition at line 1050 of file mpreal.h.

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

Definition at line 978 of file mpreal.h.

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

Definition at line 984 of file mpreal.h.

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

Definition at line 993 of file mpreal.h.

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

Definition at line 999 of file mpreal.h.

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

Definition at line 1005 of file mpreal.h.

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

Definition at line 1011 of file mpreal.h.

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

Definition at line 1016 of file mpreal.h.

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

Definition at line 1026 of file mpreal.h.

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

Definition at line 1032 of file mpreal.h.

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

Definition at line 1038 of file mpreal.h.

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

Definition at line 1044 of file mpreal.h.

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

Definition at line 1316 of file mpreal.h.

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

Definition at line 1322 of file mpreal.h.

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

Definition at line 1328 of file mpreal.h.

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

Definition at line 1334 of file mpreal.h.

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

Definition at line 1339 of file mpreal.h.

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

Definition at line 1349 of file mpreal.h.

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

Definition at line 1355 of file mpreal.h.

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

Definition at line 1361 of file mpreal.h.

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

Definition at line 1367 of file mpreal.h.

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

Definition at line 1475 of file mpreal.h.

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

Definition at line 1481 of file mpreal.h.

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

Definition at line 1487 of file mpreal.h.

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

Definition at line 1493 of file mpreal.h.

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

Definition at line 717 of file mpreal.h.

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

Definition at line 727 of file mpreal.h.

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

Definition at line 733 of file mpreal.h.

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

Definition at line 739 of file mpreal.h.

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

Definition at line 745 of file mpreal.h.

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

Definition at line 751 of file mpreal.h.

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

Definition at line 763 of file mpreal.h.

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

Definition at line 769 of file mpreal.h.

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

Definition at line 775 of file mpreal.h.

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

Definition at line 781 of file mpreal.h.

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

Definition at line 198 of file mpreal.cpp.

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

Definition at line 1499 of file mpreal.h.

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

Definition at line 1505 of file mpreal.h.

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

Definition at line 1511 of file mpreal.h.

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

Definition at line 1517 of file mpreal.h.

void mpfr::mpreal::set_custom_malloc ( void  ) [inline, static, private]

Definition at line 498 of file mpreal.cpp.

void mpfr::mpreal::set_default_base ( int  base) [inline, static]

Definition at line 2868 of file mpreal.h.

void mpfr::mpreal::set_default_prec ( mp_prec_t  prec) [inline, static]

Definition at line 2857 of file mpreal.h.

void mpfr::mpreal::set_default_rnd ( mp_rnd_t  rnd_mode) [inline, static]

Definition at line 2878 of file mpreal.h.

void mpfr::mpreal::set_double_bits ( int  dbits) [inline, static]

Definition at line 2889 of file mpreal.h.

int mpfr::mpreal::set_emax ( mp_exp_t  exp) [inline, static]

Definition at line 2180 of file mpreal.h.

int mpfr::mpreal::set_emin ( mp_exp_t  exp) [inline, static]

Definition at line 2170 of file mpreal.h.

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

Definition at line 2097 of file mpreal.h.

void mpfr::mpreal::set_inf ( int  sign = +1) [inline]

Definition at line 2082 of file mpreal.h.

void mpfr::mpreal::set_nan ( ) [inline]

Definition at line 2087 of file mpreal.h.

void mpfr::mpreal::set_prec ( mp_prec_t  prec,
mp_rnd_t  rnd_mode = default_rnd 
) [inline]

Definition at line 2077 of file mpreal.h.

void mpfr::mpreal::set_sign ( int  sign,
mp_rnd_t  rnd_mode = default_rnd 
) [inline]

Definition at line 2067 of file mpreal.h.

int mpfr::mpreal::subnormalize ( int  t,
mp_rnd_t  rnd_mode = default_rnd 
) [inline]

Definition at line 2160 of file mpreal.h.

std::string mpfr::mpreal::to_string ( size_t  n = 0,
int  b = default_base,
mp_rnd_t  mode = default_rnd 
) const

Definition at line 334 of file mpreal.cpp.


Friends And Related Function Documentation

bool _isinf ( const mpreal v) [friend]

Definition at line 1990 of file mpreal.h.

bool _isint ( const mpreal v) [friend]

Definition at line 2005 of file mpreal.h.

bool _isnan ( const mpreal v) [friend]

Definition at line 1985 of file mpreal.h.

bool _isnum ( const mpreal v) [friend]

Definition at line 1995 of file mpreal.h.

bool _isregular ( const mpreal v) [friend]

Definition at line 2011 of file mpreal.h.

bool _iszero ( const mpreal v) [friend]

Definition at line 2000 of file mpreal.h.

const mpreal _j0 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2560 of file mpreal.h.

const mpreal _j1 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2567 of file mpreal.h.

const mpreal _jn ( long  n,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2574 of file mpreal.h.

const mpreal _y0 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2581 of file mpreal.h.

const mpreal _y1 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2588 of file mpreal.h.

const mpreal _yn ( long  n,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2595 of file mpreal.h.

const mpreal abs ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2277 of file mpreal.h.

const mpreal acos ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2385 of file mpreal.h.

const mpreal acosh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2463 of file mpreal.h.

const mpreal agm ( const mpreal v1,
const mpreal v2,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 248 of file mpreal.cpp.

const mpreal ai ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2652 of file mpreal.h.

const mpreal asin ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2392 of file mpreal.h.

const mpreal asinh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2470 of file mpreal.h.

const mpreal atan ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2399 of file mpreal.h.

const mpreal atan2 ( const mpreal y,
const mpreal x,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2406 of file mpreal.h.

const mpreal atanh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2477 of file mpreal.h.

const mpreal cbrt ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2256 of file mpreal.h.

const mpreal ceil ( const mpreal v) [friend]

Definition at line 2712 of file mpreal.h.

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

Definition at line 2291 of file mpreal.h.

const mpreal const_catalan ( mp_prec_t  prec = mpreal::default_prec,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2687 of file mpreal.h.

const mpreal const_euler ( mp_prec_t  prec = mpreal::default_prec,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2679 of file mpreal.h.

const mpreal const_infinity ( int  sign = 1,
mp_prec_t  prec = mpreal::default_prec,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2695 of file mpreal.h.

const mpreal const_log2 ( mp_prec_t  prec = mpreal::default_prec,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2663 of file mpreal.h.

const mpreal const_pi ( mp_prec_t  prec = mpreal::default_prec,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2671 of file mpreal.h.

const mpreal cos ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2338 of file mpreal.h.

const mpreal cosh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2421 of file mpreal.h.

const mpreal cot ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2373 of file mpreal.h.

const mpreal coth ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2456 of file mpreal.h.

const mpreal csc ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2366 of file mpreal.h.

const mpreal csch ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2449 of file mpreal.h.

const mpreal digamma ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2645 of file mpreal.h.

const mpreal dim ( const mpreal a,
const mpreal b,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2284 of file mpreal.h.

const mpreal div_2si ( const mpreal v,
long int  k,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 1586 of file mpreal.h.

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

Definition at line 1579 of file mpreal.h.

const mpreal eint ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2505 of file mpreal.h.

const mpreal erf ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2546 of file mpreal.h.

const mpreal erfc ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2553 of file mpreal.h.

const mpreal exp ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2317 of file mpreal.h.

const mpreal exp10 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2331 of file mpreal.h.

const mpreal exp2 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2324 of file mpreal.h.

const mpreal expm1 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2498 of file mpreal.h.

const mpreal fabs ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2270 of file mpreal.h.

const mpreal fac_ui ( unsigned long int  v,
mp_prec_t  prec = mpreal::default_prec,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2484 of file mpreal.h.

const mpreal floor ( const mpreal v) [friend]

Definition at line 2720 of file mpreal.h.

const mpreal fma ( const mpreal v1,
const mpreal v2,
const mpreal v3,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 218 of file mpreal.cpp.

const mpreal fmax ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = default_rnd 
) [friend]

Definition at line 2794 of file mpreal.h.

const mpreal fmin ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = default_rnd 
) [friend]

Definition at line 2801 of file mpreal.h.

const mpreal fmod ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2618 of file mpreal.h.

const mpreal fms ( const mpreal v1,
const mpreal v2,
const mpreal v3,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 233 of file mpreal.cpp.

const mpreal frac ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2769 of file mpreal.h.

const mpreal frexp ( const mpreal v,
mp_exp_t *  exp 
) [friend]

Definition at line 2102 of file mpreal.h.

const mpreal gamma ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2512 of file mpreal.h.

const mpreal hypot ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 263 of file mpreal.cpp.

const mpreal ldexp ( const mpreal v,
mp_exp_t  exp 
) [friend]

Definition at line 2110 of file mpreal.h.

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

Definition at line 2526 of file mpreal.h.

const mpreal li2 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2611 of file mpreal.h.

const mpreal lngamma ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2519 of file mpreal.h.

const mpreal log ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2296 of file mpreal.h.

const mpreal log10 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2310 of file mpreal.h.

const mpreal log1p ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2491 of file mpreal.h.

const mpreal log2 ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2303 of file mpreal.h.

const mpreal max ( const mpreal x,
const mpreal y 
) [friend]

Definition at line 2784 of file mpreal.h.

const mpreal min ( const mpreal x,
const mpreal y 
) [friend]

Definition at line 2789 of file mpreal.h.

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

Definition at line 2145 of file mpreal.h.

const mpreal mul_2si ( const mpreal v,
long int  k,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 1572 of file mpreal.h.

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

Definition at line 1564 of file mpreal.h.

const mpreal nextabove ( const mpreal x) [friend]

Definition at line 2815 of file mpreal.h.

const mpreal nextbelow ( const mpreal x) [friend]

Definition at line 2822 of file mpreal.h.

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

Definition at line 2808 of file mpreal.h.

bool operator!= ( const mpreal a,
const mpreal b 
) [friend]

Definition at line 1920 of file mpreal.h.

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

Definition at line 1130 of file mpreal.h.

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

Definition at line 1137 of file mpreal.h.

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

Definition at line 1144 of file mpreal.h.

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

Definition at line 1151 of file mpreal.h.

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

Definition at line 1119 of file mpreal.h.

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

Definition at line 1427 of file mpreal.h.

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

Definition at line 1434 of file mpreal.h.

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

Definition at line 1441 of file mpreal.h.

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

Definition at line 1448 of file mpreal.h.

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

Definition at line 1461 of file mpreal.h.

bool operator< ( const mpreal a,
const mpreal b 
) [friend]

Definition at line 1725 of file mpreal.h.

std::ostream& operator<< ( std::ostream &  os,
const mpreal v 
) [friend]
bool operator<= ( const mpreal a,
const mpreal b 
) [friend]

Definition at line 1790 of file mpreal.h.

bool operator== ( const mpreal a,
const mpreal b 
) [friend]

Definition at line 1855 of file mpreal.h.

bool operator> ( const mpreal a,
const mpreal b 
) [friend]

Definition at line 1595 of file mpreal.h.

bool operator>= ( const mpreal a,
const mpreal b 
) [friend]

Definition at line 1660 of file mpreal.h.

std::istream& operator>> ( std::istream &  is,
mpreal v 
) [friend]
const mpreal pow ( const mpreal a,
const mpreal b,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2906 of file mpreal.h.

const mpreal pow ( const mpreal a,
const mpz_t  b,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2913 of file mpreal.h.

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

Definition at line 2920 of file mpreal.h.

const mpreal pow ( const mpreal a,
const long int  b,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2932 of file mpreal.h.

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

Definition at line 2954 of file mpreal.h.

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

Definition at line 2989 of file mpreal.h.

const mpreal random2 ( mp_size_t  size,
mp_exp_t  exp 
) [friend]

Definition at line 2847 of file mpreal.h.

const mpreal rec_sqrt ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2633 of file mpreal.h.

const mpreal remainder ( const mpreal x,
const mpreal y,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 291 of file mpreal.cpp.

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

Definition at line 306 of file mpreal.cpp.

const mpreal rint ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2705 of file mpreal.h.

const mpreal rint_ceil ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2741 of file mpreal.h.

const mpreal rint_floor ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2748 of file mpreal.h.

const mpreal rint_round ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2755 of file mpreal.h.

const mpreal rint_trunc ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2762 of file mpreal.h.

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

Definition at line 2263 of file mpreal.h.

const mpreal round ( const mpreal v) [friend]

Definition at line 2727 of file mpreal.h.

const mpreal sec ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2359 of file mpreal.h.

const mpreal sech ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2442 of file mpreal.h.

int sgn ( const mpreal v) [friend]

Definition at line 2061 of file mpreal.h.

const mpreal sin ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2345 of file mpreal.h.

int sin_cos ( mpreal s,
mpreal c,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2380 of file mpreal.h.

const mpreal sinh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2428 of file mpreal.h.

int sinh_cosh ( mpreal s,
mpreal c,
const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2606 of file mpreal.h.

const mpreal sqr ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2208 of file mpreal.h.

const mpreal sqrt ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2215 of file mpreal.h.

const mpreal sqrt ( const unsigned long int  v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2222 of file mpreal.h.

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

Definition at line 278 of file mpreal.cpp.

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

Definition at line 2778 of file mpreal.h.

const mpreal tan ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2352 of file mpreal.h.

const mpreal tanh ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2435 of file mpreal.h.

const mpreal trunc ( const mpreal v) [friend]

Definition at line 2734 of file mpreal.h.

const mpreal urandom ( gmp_randstate_t &  state,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2838 of file mpreal.h.

const mpreal urandomb ( gmp_randstate_t &  state) [friend]

Definition at line 2829 of file mpreal.h.

const mpreal zeta ( const mpreal v,
mp_rnd_t  rnd_mode = mpreal::default_rnd 
) [friend]

Definition at line 2539 of file mpreal.h.


Member Data Documentation

int mpfr::mpreal::default_base = 10 [static]

Definition at line 104 of file mpreal.h.

mp_prec_t mpfr::mpreal::default_prec = mpfr_get_default_prec() [static]

Definition at line 103 of file mpreal.h.

mp_rnd_t mpfr::mpreal::default_rnd = mpfr_get_default_rounding_mode() [static]

Definition at line 102 of file mpreal.h.

int mpfr::mpreal::double_bits = -1 [static]

Definition at line 105 of file mpreal.h.

bool mpfr::mpreal::is_custom_malloc = false [static, private]

Definition at line 446 of file mpreal.h.

mpfr_t mpfr::mpreal::mp [private]

Definition at line 99 of file mpreal.h.


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


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:38