Logo Search packages:      
Sourcecode: lcalc version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Types | Private Attributes

__gmp_expr< mpfr_t, mpfr_t > Class Template Reference

Inheritance diagram for __gmp_expr< mpfr_t, mpfr_t >:
Inheritance graph
[legend]
Collaboration diagram for __gmp_expr< mpfr_t, mpfr_t >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

mpfr_srcptr __get_mp () const
mpfr_ptr __get_mp ()
template<class T , class U >
 __gmp_expr (const __gmp_expr< T, U > &expr)
template<class T , class U >
 __gmp_expr (const __gmp_expr< T, U > &expr, unsigned long int prec)
 __gmp_expr (unsigned int i)
 __gmp_expr (const std::string &s)
 __gmp_expr (const std::string &s, unsigned long int prec, int base=0)
 __gmp_expr (unsigned int i, unsigned long int prec)
 __gmp_expr (mpfr_srcptr f)
 __gmp_expr (mpfr_srcptr f, unsigned long int prec)
 __gmp_expr (signed short int s)
 __gmp_expr (signed short int s, unsigned long int prec)
 __gmp_expr (unsigned char c, unsigned long int prec)
 __gmp_expr (float f, unsigned long int prec)
 __gmp_expr (signed char c)
 __gmp_expr (unsigned short int s)
 __gmp_expr (unsigned short int s, unsigned long int prec)
 __gmp_expr (signed char c, unsigned long int prec)
 __gmp_expr (signed long int l)
 __gmp_expr (signed long int l, unsigned long int prec)
 __gmp_expr (unsigned long int l)
 __gmp_expr (unsigned long int l, unsigned long int prec)
 __gmp_expr (const __gmp_expr &f)
 __gmp_expr (float f)
 __gmp_expr (unsigned char c)
 __gmp_expr (const __gmp_expr &f, unsigned long int prec)
 __gmp_expr (signed int i)
 __gmp_expr (double d)
 __gmp_expr (double d, unsigned long int prec)
 __gmp_expr (signed int i, unsigned long int prec)
 __gmp_expr (const char *s)
 __gmp_expr (const char *s, unsigned long int prec, int base=0)
bool fits_sint_p () const
bool fits_slong_p () const
bool fits_sshort_p () const
bool fits_uint_p () const
bool fits_ulong_p () const
bool fits_ushort_p () const
double get_d () const
mpfr_ptr get_mpfr_t ()
mpfr_srcptr get_mpfr_t () const
unsigned long int get_prec () const
signed long int get_si () const
std::string get_str (mp_exp_t &expo, int base=10, size_t size=0) const
unsigned long int get_ui () const
__gmp_expr & operator= (unsigned short int s)
__gmp_expr & operator= (unsigned long int l)
template<class T , class U >
__gmp_expr< value_type,
value_type > & 
operator= (const __gmp_expr< T, U > &expr)
__gmp_expr & operator= (float f)
__gmp_expr & operator= (unsigned char c)
__gmp_expr & operator= (const char *s)
__gmp_expr & operator= (const __gmp_expr &f)
__gmp_expr & operator= (signed int i)
__gmp_expr & operator= (signed long int l)
__gmp_expr & operator= (double d)
__gmp_expr & operator= (const std::string &s)
__gmp_expr & operator= (signed char c)
__gmp_expr & operator= (signed short int s)
__gmp_expr & operator= (unsigned int i)
void prec_round (unsigned long int prec)
void set_prec (unsigned long int prec)
void set_prec_raw (unsigned long int prec)
int set_str (const char *s, int base)
int set_str (const std::string &s, int base)

Static Public Member Functions

static int get_base ()
static mpfr_prec_t get_dprec ()
static mpfr_rnd_t get_rnd ()
static void set_base (int b=10)
static void set_dprec (mpfr_prec_t p=53)
static void set_rnd (mpfr_rnd_t r=GMP_RNDN)

Private Types

typedef mpfr_t value_type

Private Attributes

value_type mp

Detailed Description

template<>
class __gmp_expr< mpfr_t, mpfr_t >

Definition at line 2064 of file Lgmpfrxx.h.


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

Generated by  Doxygen 1.6.0   Back to index