HiRep 0.1
Loading...
Searching...
No Matches
bigfloat Class Reference

Public Member Functions

 bigfloat (const bigfloat &y)
 
 bigfloat (const unsigned long u)
 
 bigfloat (const long i)
 
 bigfloat (const int i)
 
 bigfloat (const float d)
 
 bigfloat (const double d)
 
 bigfloat (const char *str)
 
 operator const double (void) const
 
void setPrecision (unsigned long dprec)
 
unsigned long getPrecision (void) const
 
unsigned long getDefaultPrecision (void) const
 
bigfloatoperator= (const bigfloat &y)
 
bigfloatoperator= (const unsigned long y)
 
bigfloatoperator= (const signed long y)
 
bigfloatoperator= (const float y)
 
bigfloatoperator= (const double y)
 
size_t write (void)
 
size_t read (void)
 
bigfloatoperator+= (const bigfloat &y)
 
bigfloatoperator-= (const bigfloat &y)
 
bigfloatoperator*= (const bigfloat &y)
 
bigfloatoperator/= (const bigfloat &y)
 

Static Public Member Functions

static void setDefaultPrecision (unsigned long dprec)
 

Friends

bigfloat operator+ (const bigfloat &x, const bigfloat &y)
 
bigfloat operator+ (const bigfloat &x, const unsigned long y)
 
bigfloat operator- (const bigfloat &x, const bigfloat &y)
 
bigfloat operator- (const unsigned long x, const bigfloat &y)
 
bigfloat operator- (const bigfloat &x, const unsigned long y)
 
bigfloat operator- (const bigfloat &x)
 
bigfloat operator* (const bigfloat &x, const bigfloat &y)
 
bigfloat operator* (const bigfloat &x, const unsigned long y)
 
bigfloat operator/ (const bigfloat &x, const bigfloat &y)
 
bigfloat operator/ (const unsigned long x, const bigfloat &y)
 
bigfloat operator/ (const bigfloat &x, const unsigned long y)
 
bigfloat sqrt_bf (const bigfloat &x)
 
bigfloat sqrt_bf (const unsigned long x)
 
bigfloat abs_bf (const bigfloat &x)
 
bigfloat pow_bf (const bigfloat &a, long power)
 
bigfloat pow_bf (const bigfloat &a, bigfloat &power)
 
bigfloat exp_bf (const bigfloat &a)
 
bigfloat log_bf (const bigfloat &a)
 
int operator> (const bigfloat &x, const bigfloat &y)
 
int operator< (const bigfloat &x, const bigfloat &y)
 
int sgn (const bigfloat &)
 

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