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

Public Member Functions | Private Types | Private Attributes

__gmp_expr< mpz_t, mpz_t > Class Template Reference

List of all members.

Public Member Functions

mpz_srcptr __get_mp () const
mpz_ptr __get_mp ()
 __gmp_expr (const char *s, int base)
 __gmp_expr (const std::string &s)
template<class T , class U >
 __gmp_expr (const __gmp_expr< T, U > &expr)
 __gmp_expr (const std::string &s, int base)
 __gmp_expr (unsigned int i)
 __gmp_expr (mpz_srcptr z)
 __gmp_expr (signed short int s)
 __gmp_expr (signed char c)
 __gmp_expr (unsigned short int s)
 __gmp_expr (signed long int l)
 __gmp_expr (const __gmp_expr &z)
 __gmp_expr (unsigned char c)
 __gmp_expr (unsigned long int l)
 __gmp_expr (float f)
 __gmp_expr (signed int i)
 __gmp_expr (double d)
 __gmp_expr (const char *s)
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
mpz_srcptr get_mpz_t () const
mpz_ptr get_mpz_t ()
unsigned long int get_prec () const
signed long int get_si () const
std::string get_str (int base=10) const
unsigned long int get_ui () const
__gmp_expr & operator= (float f)
__gmp_expr & operator= (unsigned int i)
__gmp_expr & operator= (signed long int l)
__gmp_expr & operator= (const std::string &s)
__gmp_expr & operator= (unsigned short int s)
__gmp_expr & operator= (unsigned char c)
__gmp_expr & operator= (double d)
__gmp_expr & operator= (signed char c)
template<class T , class U >
__gmp_expr< value_type,
value_type > & 
operator= (const __gmp_expr< T, U > &expr)
__gmp_expr & operator= (signed int i)
__gmp_expr & operator= (const __gmp_expr &z)
__gmp_expr & operator= (const char *s)
__gmp_expr & operator= (unsigned long int l)
__gmp_expr & operator= (signed short int s)
int set_str (const char *s, int base)
int set_str (const std::string &s, int base)

Private Types

typedef mpz_t value_type

Private Attributes

value_type mp

Detailed Description

template<>
class __gmp_expr< mpz_t, mpz_t >

Definition at line 1717 of file Lgmpfrxx.h.


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

Generated by  Doxygen 1.6.0   Back to index