Planeshift
Public Member Functions | Static Public Member Functions | Friends

MpfrFloat Class Reference

#include <MpfrFloat.h>

List of all members.

Public Member Functions

void abs ()
template<typename Mpfr_t >
void get_raw_mpfr_data (Mpfr_t &dest_mpfr_t)
const char * getAsString (unsigned precision) const
bool isInteger () const
 MpfrFloat (double value)
 MpfrFloat (const MpfrFloat &)
 MpfrFloat (long value)
 MpfrFloat ()
 MpfrFloat (int value)
 MpfrFloat (const char *value, char **endptr)
 MpfrFloat (long double value)
void negate ()
bool operator!= (const MpfrFloat &) const
bool operator!= (double) const
MpfrFloat operator% (const MpfrFloat &) const
MpfrFloatoperator%= (const MpfrFloat &)
MpfrFloat operator* (const MpfrFloat &) const
MpfrFloat operator* (double) const
MpfrFloatoperator*= (const MpfrFloat &)
MpfrFloatoperator*= (double)
MpfrFloat operator+ (const MpfrFloat &) const
MpfrFloat operator+ (double) const
MpfrFloatoperator+= (const MpfrFloat &)
MpfrFloatoperator+= (double)
MpfrFloat operator- (const MpfrFloat &) const
MpfrFloat operator- (double) const
MpfrFloat operator- () const
MpfrFloatoperator-= (const MpfrFloat &)
MpfrFloatoperator-= (double)
MpfrFloat operator/ (const MpfrFloat &) const
MpfrFloat operator/ (double) const
MpfrFloatoperator/= (const MpfrFloat &)
MpfrFloatoperator/= (double)
bool operator< (const MpfrFloat &) const
bool operator< (double) const
bool operator<= (const MpfrFloat &) const
bool operator<= (double) const
MpfrFloatoperator= (double value)
MpfrFloatoperator= (long double value)
MpfrFloatoperator= (int value)
MpfrFloatoperator= (const MpfrFloat &)
MpfrFloatoperator= (long value)
bool operator== (double) const
bool operator== (const MpfrFloat &) const
bool operator> (const MpfrFloat &) const
bool operator> (double) const
bool operator>= (const MpfrFloat &) const
bool operator>= (double) const
void parseValue (const char *value, char **endptr)
void parseValue (const char *value)
double toDouble () const
long toInt () const
 ~MpfrFloat ()

Static Public Member Functions

static MpfrFloat abs (const MpfrFloat &)
static MpfrFloat acos (const MpfrFloat &)
static MpfrFloat acosh (const MpfrFloat &)
static MpfrFloat asin (const MpfrFloat &)
static MpfrFloat asinh (const MpfrFloat &)
static MpfrFloat atan (const MpfrFloat &)
static MpfrFloat atan2 (const MpfrFloat &, const MpfrFloat &)
static MpfrFloat atanh (const MpfrFloat &)
static MpfrFloat cbrt (const MpfrFloat &)
static MpfrFloat ceil (const MpfrFloat &)
static MpfrFloat const_e ()
static MpfrFloat const_log2 ()
static MpfrFloat const_pi ()
static MpfrFloat cos (const MpfrFloat &)
static MpfrFloat cosh (const MpfrFloat &)
static MpfrFloat cot (const MpfrFloat &)
static MpfrFloat csc (const MpfrFloat &)
static MpfrFloat dim (const MpfrFloat &, const MpfrFloat &)
static MpfrFloat exp (const MpfrFloat &)
static MpfrFloat exp10 (const MpfrFloat &)
static MpfrFloat exp2 (const MpfrFloat &)
static MpfrFloat floor (const MpfrFloat &)
static unsigned long getCurrentDefaultMantissaBits ()
static MpfrFloat hypot (const MpfrFloat &, const MpfrFloat &)
static MpfrFloat log (const MpfrFloat &)
static MpfrFloat log10 (const MpfrFloat &)
static MpfrFloat log2 (const MpfrFloat &)
static MpfrFloat parseString (const char *str, char **endptr)
static MpfrFloat pow (const MpfrFloat &, long exponent)
static MpfrFloat pow (const MpfrFloat &, const MpfrFloat &)
static MpfrFloat root (const MpfrFloat &, unsigned long root)
static MpfrFloat round (const MpfrFloat &)
static MpfrFloat sec (const MpfrFloat &)
static void setDefaultMantissaBits (unsigned long bits)
static MpfrFloat sin (const MpfrFloat &)
static void sincos (const MpfrFloat &, MpfrFloat &sin, MpfrFloat &cos)
static MpfrFloat sinh (const MpfrFloat &)
static MpfrFloat someEpsilon ()
static MpfrFloat sqrt (const MpfrFloat &)
static MpfrFloat tan (const MpfrFloat &)
static MpfrFloat tanh (const MpfrFloat &)
static MpfrFloat trunc (const MpfrFloat &)

Friends

MpfrFloat operator+ (double lhs, const MpfrFloat &rhs)
MpfrFloat operator- (double lhs, const MpfrFloat &rhs)

Detailed Description

Definition at line 6 of file MpfrFloat.h.


Constructor & Destructor Documentation

MpfrFloat::MpfrFloat ( )
MpfrFloat::MpfrFloat ( double  value)
MpfrFloat::MpfrFloat ( long double  value)
MpfrFloat::MpfrFloat ( long  value)
MpfrFloat::MpfrFloat ( int  value)
MpfrFloat::MpfrFloat ( const char *  value,
char **  endptr 
)
MpfrFloat::~MpfrFloat ( )
MpfrFloat::MpfrFloat ( const MpfrFloat )

Member Function Documentation

void MpfrFloat::abs ( )
static MpfrFloat MpfrFloat::abs ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::acos ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::acosh ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::asin ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::asinh ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::atan ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::atan2 ( const MpfrFloat ,
const MpfrFloat  
) [static]
static MpfrFloat MpfrFloat::atanh ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::cbrt ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::ceil ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::const_e ( ) [static]
static MpfrFloat MpfrFloat::const_log2 ( ) [static]
static MpfrFloat MpfrFloat::const_pi ( ) [static]
static MpfrFloat MpfrFloat::cos ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::cosh ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::cot ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::csc ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::dim ( const MpfrFloat ,
const MpfrFloat  
) [static]
static MpfrFloat MpfrFloat::exp ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::exp10 ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::exp2 ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::floor ( const MpfrFloat ) [static]
template<typename Mpfr_t >
void MpfrFloat::get_raw_mpfr_data ( Mpfr_t &  dest_mpfr_t)
const char* MpfrFloat::getAsString ( unsigned  precision) const
static unsigned long MpfrFloat::getCurrentDefaultMantissaBits ( ) [static]
static MpfrFloat MpfrFloat::hypot ( const MpfrFloat ,
const MpfrFloat  
) [static]
bool MpfrFloat::isInteger ( ) const
static MpfrFloat MpfrFloat::log ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::log10 ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::log2 ( const MpfrFloat ) [static]
void MpfrFloat::negate ( )
bool MpfrFloat::operator!= ( const MpfrFloat ) const
bool MpfrFloat::operator!= ( double  ) const
MpfrFloat MpfrFloat::operator% ( const MpfrFloat ) const
MpfrFloat& MpfrFloat::operator%= ( const MpfrFloat )
MpfrFloat MpfrFloat::operator* ( const MpfrFloat ) const
MpfrFloat MpfrFloat::operator* ( double  ) const
MpfrFloat& MpfrFloat::operator*= ( const MpfrFloat )
MpfrFloat& MpfrFloat::operator*= ( double  )
MpfrFloat MpfrFloat::operator+ ( const MpfrFloat ) const
MpfrFloat MpfrFloat::operator+ ( double  ) const
MpfrFloat& MpfrFloat::operator+= ( double  )
MpfrFloat& MpfrFloat::operator+= ( const MpfrFloat )
MpfrFloat MpfrFloat::operator- ( ) const
MpfrFloat MpfrFloat::operator- ( double  ) const
MpfrFloat MpfrFloat::operator- ( const MpfrFloat ) const
MpfrFloat& MpfrFloat::operator-= ( const MpfrFloat )
MpfrFloat& MpfrFloat::operator-= ( double  )
MpfrFloat MpfrFloat::operator/ ( const MpfrFloat ) const
MpfrFloat MpfrFloat::operator/ ( double  ) const
MpfrFloat& MpfrFloat::operator/= ( double  )
MpfrFloat& MpfrFloat::operator/= ( const MpfrFloat )
bool MpfrFloat::operator< ( const MpfrFloat ) const
bool MpfrFloat::operator< ( double  ) const
bool MpfrFloat::operator<= ( double  ) const
bool MpfrFloat::operator<= ( const MpfrFloat ) const
MpfrFloat& MpfrFloat::operator= ( long double  value)
MpfrFloat& MpfrFloat::operator= ( double  value)
MpfrFloat& MpfrFloat::operator= ( long  value)
MpfrFloat& MpfrFloat::operator= ( const MpfrFloat )
MpfrFloat& MpfrFloat::operator= ( int  value)
bool MpfrFloat::operator== ( const MpfrFloat ) const
bool MpfrFloat::operator== ( double  ) const
bool MpfrFloat::operator> ( const MpfrFloat ) const
bool MpfrFloat::operator> ( double  ) const
bool MpfrFloat::operator>= ( double  ) const
bool MpfrFloat::operator>= ( const MpfrFloat ) const
static MpfrFloat MpfrFloat::parseString ( const char *  str,
char **  endptr 
) [static]
void MpfrFloat::parseValue ( const char *  value,
char **  endptr 
)
void MpfrFloat::parseValue ( const char *  value)
static MpfrFloat MpfrFloat::pow ( const MpfrFloat ,
long  exponent 
) [static]
static MpfrFloat MpfrFloat::pow ( const MpfrFloat ,
const MpfrFloat  
) [static]
static MpfrFloat MpfrFloat::root ( const MpfrFloat ,
unsigned long  root 
) [static]
static MpfrFloat MpfrFloat::round ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::sec ( const MpfrFloat ) [static]
static void MpfrFloat::setDefaultMantissaBits ( unsigned long  bits) [static]
static MpfrFloat MpfrFloat::sin ( const MpfrFloat ) [static]
static void MpfrFloat::sincos ( const MpfrFloat ,
MpfrFloat sin,
MpfrFloat cos 
) [static]
static MpfrFloat MpfrFloat::sinh ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::someEpsilon ( ) [static]
static MpfrFloat MpfrFloat::sqrt ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::tan ( const MpfrFloat ) [static]
static MpfrFloat MpfrFloat::tanh ( const MpfrFloat ) [static]
double MpfrFloat::toDouble ( ) const
long MpfrFloat::toInt ( ) const
static MpfrFloat MpfrFloat::trunc ( const MpfrFloat ) [static]

Friends And Related Function Documentation

MpfrFloat operator+ ( double  lhs,
const MpfrFloat rhs 
) [friend]
MpfrFloat operator- ( double  lhs,
const MpfrFloat rhs 
) [friend]

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