My Project
|
#include <mpr_complex.h>
Public Member Functions | |
gmp_float (const int v=0) | |
gmp_float (const long v) | |
gmp_float (const mprfloat v) | |
gmp_float (const mpf_t v) | |
gmp_float (const mpz_t v) | |
gmp_float (const gmp_float &v) | |
~gmp_float () | |
gmp_float & | operator= (const gmp_float &a) |
gmp_float & | operator= (const mpz_t &a) |
gmp_float & | operator= (const mprfloat a) |
gmp_float & | operator= (const long a) |
gmp_float & | operator+= (const gmp_float &a) |
gmp_float & | operator-= (const gmp_float &a) |
gmp_float & | operator*= (const gmp_float &a) |
gmp_float & | operator/= (const gmp_float &a) |
gmp_float & | neg () |
gmp_float | operator^ (const int exp) const |
int | sign () |
bool | isZero () const |
bool | isOne () const |
bool | isMOne () const |
void | setFromStr (const char *in) |
const mpf_t * | mpfp () const |
mpf_t * | _mpfp () |
operator double () | |
operator double () const | |
Data Fields | |
mpf_t | t |
Friends | |
gmp_float | operator+ (const gmp_float &a, const gmp_float &b) |
gmp_float | operator- (const gmp_float &a, const gmp_float &b) |
gmp_float | operator* (const gmp_float &a, const gmp_float &b) |
gmp_float | operator/ (const gmp_float &a, const gmp_float &b) |
bool | operator== (const gmp_float &a, const gmp_float &b) |
bool | operator> (const gmp_float &a, const gmp_float &b) |
bool | operator< (const gmp_float &a, const gmp_float &b) |
bool | operator>= (const gmp_float &a, const gmp_float &b) |
bool | operator<= (const gmp_float &a, const gmp_float &b) |
gmp_float | operator- (const gmp_float &a) |
Definition at line 31 of file mpr_complex.h.
|
inline |
Definition at line 34 of file mpr_complex.h.
|
inline |
Definition at line 38 of file mpr_complex.h.
Definition at line 42 of file mpr_complex.h.
|
inline |
Definition at line 46 of file mpr_complex.h.
|
inline |
Definition at line 50 of file mpr_complex.h.
Definition at line 55 of file mpr_complex.h.
|
inline |
Definition at line 60 of file mpr_complex.h.
|
inline |
Definition at line 134 of file mpr_complex.h.
bool gmp_float::isMOne | ( | ) | const |
Definition at line 273 of file mpr_complex.cc.
bool gmp_float::isOne | ( | ) | const |
Definition at line 257 of file mpr_complex.cc.
bool gmp_float::isZero | ( | ) | const |
Definition at line 252 of file mpr_complex.cc.
|
inline |
Definition at line 133 of file mpr_complex.h.
|
inline |
Definition at line 100 of file mpr_complex.h.
|
inline |
Definition at line 136 of file mpr_complex.h.
|
inline |
Definition at line 137 of file mpr_complex.h.
Definition at line 88 of file mpr_complex.h.
Definition at line 193 of file mpr_complex.cc.
Definition at line 214 of file mpr_complex.cc.
Definition at line 94 of file mpr_complex.h.
Definition at line 65 of file mpr_complex.h.
Definition at line 80 of file mpr_complex.h.
Definition at line 75 of file mpr_complex.h.
Definition at line 70 of file mpr_complex.h.
Definition at line 107 of file mpr_complex.h.
void gmp_float::setFromStr | ( | const char * | in | ) |
Definition at line 78 of file mpr_complex.cc.
|
inline |
Definition at line 123 of file mpr_complex.h.
Definition at line 179 of file mpr_complex.cc.
Definition at line 167 of file mpr_complex.cc.
Definition at line 314 of file mpr_complex.cc.
Definition at line 173 of file mpr_complex.cc.
Definition at line 185 of file mpr_complex.cc.
Definition at line 237 of file mpr_complex.cc.
mpf_t gmp_float::t |
Definition at line 151 of file mpr_complex.h.