Public Member Functions | Static Public Member Functions | Static Public Attributes | 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)
 operator double () const
 operator float () 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

Private Attributes

mpfr_t mp

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 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_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 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, 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 55 of file mpreal.h.


Constructor & Destructor Documentation

Definition at line 45 of file mpreal.cpp.

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

Definition at line 51 of file mpreal.cpp.

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

Definition at line 57 of file mpreal.cpp.

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

Definition at line 63 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 69 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 75 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 81 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 92 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 98 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 104 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 110 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 116 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 122 of file mpreal.cpp.

Definition at line 128 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 2089 of file mpreal.h.

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

Definition at line 2807 of file mpreal.h.

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

Definition at line 2781 of file mpreal.h.

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

Definition at line 2771 of file mpreal.h.

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

Definition at line 2792 of file mpreal.h.

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

Definition at line 2802 of file mpreal.h.

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

Definition at line 2109 of file mpreal.h.

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

Definition at line 2134 of file mpreal.h.

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

Definition at line 2129 of file mpreal.h.

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

Definition at line 2099 of file mpreal.h.

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

Definition at line 2124 of file mpreal.h.

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

Definition at line 2119 of file mpreal.h.

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

Definition at line 2026 of file mpreal.h.

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

Definition at line 2006 of file mpreal.h.

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

Definition at line 1958 of file mpreal.h.

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

Definition at line 1963 of file mpreal.h.

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

Definition at line 1983 of file mpreal.h.

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

Definition at line 1968 of file mpreal.h.

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

Definition at line 1988 of file mpreal.h.

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

Definition at line 260 of file mpreal.cpp.

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

Definition at line 1978 of file mpreal.h.

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

Definition at line 1973 of file mpreal.h.

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

Definition at line 1109 of file mpreal.h.

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

Definition at line 1115 of file mpreal.h.

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

Definition at line 1121 of file mpreal.h.

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

Definition at line 1127 of file mpreal.h.

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

Definition at line 1132 of file mpreal.h.

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

Definition at line 1142 of file mpreal.h.

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

Definition at line 1148 of file mpreal.h.

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

Definition at line 1154 of file mpreal.h.

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

Definition at line 1160 of file mpreal.h.

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

Definition at line 791 of file mpreal.h.

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

Definition at line 904 of file mpreal.h.

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

Definition at line 910 of file mpreal.h.

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

Definition at line 728 of file mpreal.h.

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

Definition at line 734 of file mpreal.h.

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

Definition at line 740 of file mpreal.h.

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

Definition at line 746 of file mpreal.h.

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

Definition at line 752 of file mpreal.h.

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

Definition at line 757 of file mpreal.h.

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

Definition at line 767 of file mpreal.h.

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

Definition at line 773 of file mpreal.h.

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

Definition at line 779 of file mpreal.h.

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

Definition at line 785 of file mpreal.h.

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

Definition at line 989 of file mpreal.h.

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

Definition at line 917 of file mpreal.h.

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

Definition at line 923 of file mpreal.h.

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

Definition at line 932 of file mpreal.h.

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

Definition at line 938 of file mpreal.h.

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

Definition at line 944 of file mpreal.h.

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

Definition at line 950 of file mpreal.h.

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

Definition at line 955 of file mpreal.h.

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

Definition at line 965 of file mpreal.h.

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

Definition at line 971 of file mpreal.h.

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

Definition at line 977 of file mpreal.h.

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

Definition at line 983 of file mpreal.h.

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

Definition at line 1255 of file mpreal.h.

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

Definition at line 1261 of file mpreal.h.

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

Definition at line 1267 of file mpreal.h.

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

Definition at line 1273 of file mpreal.h.

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

Definition at line 1278 of file mpreal.h.

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

Definition at line 1288 of file mpreal.h.

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

Definition at line 1294 of file mpreal.h.

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

Definition at line 1300 of file mpreal.h.

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

Definition at line 1306 of file mpreal.h.

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

Definition at line 1414 of file mpreal.h.

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

Definition at line 1420 of file mpreal.h.

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

Definition at line 1426 of file mpreal.h.

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

Definition at line 1432 of file mpreal.h.

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

Definition at line 660 of file mpreal.h.

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

Definition at line 666 of file mpreal.h.

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

Definition at line 672 of file mpreal.h.

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

Definition at line 678 of file mpreal.h.

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

Definition at line 684 of file mpreal.h.

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

Definition at line 690 of file mpreal.h.

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

Definition at line 702 of file mpreal.h.

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

Definition at line 708 of file mpreal.h.

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

Definition at line 714 of file mpreal.h.

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

Definition at line 720 of file mpreal.h.

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

Definition at line 134 of file mpreal.cpp.

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

Definition at line 1438 of file mpreal.h.

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

Definition at line 1444 of file mpreal.h.

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

Definition at line 1450 of file mpreal.h.

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

Definition at line 1456 of file mpreal.h.

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

Definition at line 2776 of file mpreal.h.

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

Definition at line 2765 of file mpreal.h.

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

Definition at line 2786 of file mpreal.h.

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

Definition at line 2797 of file mpreal.h.

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

Definition at line 2114 of file mpreal.h.

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

Definition at line 2104 of file mpreal.h.

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

Definition at line 2031 of file mpreal.h.

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

Definition at line 2016 of file mpreal.h.

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

Definition at line 2021 of file mpreal.h.

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

Definition at line 2011 of file mpreal.h.

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

Definition at line 2001 of file mpreal.h.

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

Definition at line 2094 of file mpreal.h.

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

Definition at line 265 of file mpreal.cpp.


Friends And Related Function Documentation

bool _isinf ( const mpreal v) [friend]

Definition at line 1929 of file mpreal.h.

bool _isint ( const mpreal v) [friend]

Definition at line 1944 of file mpreal.h.

bool _isnan ( const mpreal v) [friend]

Definition at line 1924 of file mpreal.h.

bool _isnum ( const mpreal v) [friend]

Definition at line 1934 of file mpreal.h.

bool _isregular ( const mpreal v) [friend]

Definition at line 1950 of file mpreal.h.

bool _iszero ( const mpreal v) [friend]

Definition at line 1939 of file mpreal.h.

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

Definition at line 2488 of file mpreal.h.

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

Definition at line 2495 of file mpreal.h.

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

Definition at line 2502 of file mpreal.h.

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

Definition at line 2509 of file mpreal.h.

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

Definition at line 2516 of file mpreal.h.

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

Definition at line 2523 of file mpreal.h.

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

Definition at line 2211 of file mpreal.h.

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

Definition at line 2319 of file mpreal.h.

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

Definition at line 2397 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 179 of file mpreal.cpp.

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

Definition at line 2326 of file mpreal.h.

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

Definition at line 2404 of file mpreal.h.

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

Definition at line 2333 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 2340 of file mpreal.h.

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

Definition at line 2411 of file mpreal.h.

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

Definition at line 2190 of file mpreal.h.

const mpreal ceil ( const mpreal v) [friend]

Definition at line 2631 of file mpreal.h.

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

Definition at line 2225 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 2606 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 2598 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 2614 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 2582 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 2590 of file mpreal.h.

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

Definition at line 2272 of file mpreal.h.

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

Definition at line 2355 of file mpreal.h.

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

Definition at line 2307 of file mpreal.h.

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

Definition at line 2390 of file mpreal.h.

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

Definition at line 2300 of file mpreal.h.

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

Definition at line 2383 of file mpreal.h.

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

Definition at line 2572 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 2218 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 1525 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 1518 of file mpreal.h.

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

Definition at line 2439 of file mpreal.h.

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

Definition at line 2474 of file mpreal.h.

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

Definition at line 2481 of file mpreal.h.

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

Definition at line 2251 of file mpreal.h.

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

Definition at line 2265 of file mpreal.h.

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

Definition at line 2258 of file mpreal.h.

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

Definition at line 2432 of file mpreal.h.

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

Definition at line 2204 of file mpreal.h.

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

Definition at line 2418 of file mpreal.h.

const mpreal floor ( const mpreal v) [friend]

Definition at line 2639 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 149 of file mpreal.cpp.

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

Definition at line 2546 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 164 of file mpreal.cpp.

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

Definition at line 2688 of file mpreal.h.

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

Definition at line 2036 of file mpreal.h.

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

Definition at line 2446 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 194 of file mpreal.cpp.

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

Definition at line 2044 of file mpreal.h.

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

Definition at line 2460 of file mpreal.h.

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

Definition at line 2539 of file mpreal.h.

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

Definition at line 2453 of file mpreal.h.

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

Definition at line 2230 of file mpreal.h.

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

Definition at line 2244 of file mpreal.h.

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

Definition at line 2425 of file mpreal.h.

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

Definition at line 2237 of file mpreal.h.

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

Definition at line 2703 of file mpreal.h.

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

Definition at line 2710 of file mpreal.h.

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

Definition at line 2079 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 1511 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 1503 of file mpreal.h.

const mpreal nextabove ( const mpreal x) [friend]

Definition at line 2723 of file mpreal.h.

const mpreal nextbelow ( const mpreal x) [friend]

Definition at line 2730 of file mpreal.h.

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

Definition at line 2716 of file mpreal.h.

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

Definition at line 1859 of file mpreal.h.

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

Definition at line 1069 of file mpreal.h.

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

Definition at line 1076 of file mpreal.h.

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

Definition at line 1083 of file mpreal.h.

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

Definition at line 1090 of file mpreal.h.

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

Definition at line 1058 of file mpreal.h.

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

Definition at line 1366 of file mpreal.h.

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

Definition at line 1373 of file mpreal.h.

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

Definition at line 1380 of file mpreal.h.

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

Definition at line 1387 of file mpreal.h.

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

Definition at line 1400 of file mpreal.h.

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

Definition at line 1664 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 1729 of file mpreal.h.

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

Definition at line 1794 of file mpreal.h.

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

Definition at line 1534 of file mpreal.h.

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

Definition at line 1599 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 2814 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 2821 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 2828 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 2840 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 2862 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 2897 of file mpreal.h.

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

Definition at line 2755 of file mpreal.h.

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

Definition at line 2561 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 222 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 237 of file mpreal.cpp.

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

Definition at line 2624 of file mpreal.h.

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

Definition at line 2660 of file mpreal.h.

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

Definition at line 2667 of file mpreal.h.

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

Definition at line 2674 of file mpreal.h.

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

Definition at line 2681 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 2197 of file mpreal.h.

const mpreal round ( const mpreal v) [friend]

Definition at line 2646 of file mpreal.h.

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

Definition at line 2293 of file mpreal.h.

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

Definition at line 2376 of file mpreal.h.

int sgn ( const mpreal v) [friend]

Definition at line 1995 of file mpreal.h.

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

Definition at line 2279 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 2314 of file mpreal.h.

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

Definition at line 2362 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 2534 of file mpreal.h.

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

Definition at line 2142 of file mpreal.h.

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

Definition at line 2149 of file mpreal.h.

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

Definition at line 2156 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 209 of file mpreal.cpp.

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

Definition at line 2697 of file mpreal.h.

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

Definition at line 2286 of file mpreal.h.

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

Definition at line 2369 of file mpreal.h.

const mpreal trunc ( const mpreal v) [friend]

Definition at line 2653 of file mpreal.h.

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

Definition at line 2746 of file mpreal.h.

const mpreal urandomb ( gmp_randstate_t &  state) [friend]

Definition at line 2737 of file mpreal.h.

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

Definition at line 2467 of file mpreal.h.


Member Data Documentation

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

Definition at line 62 of file mpreal.h.

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

Definition at line 61 of file mpreal.h.

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

Definition at line 60 of file mpreal.h.

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

Definition at line 63 of file mpreal.h.

mpfr_t mpfr::mpreal::mp [private]

Definition at line 57 of file mpreal.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:40