|
Scl< MPZ > | operator+ (const Scl< MPZ > &a1, const Scl< MPZ > &a2) |
|
Scl< MPZ > | operator- (const Scl< MPZ > &a1, const Scl< MPZ > &a2) |
|
Scl< MPZ > | operator* (const Scl< MPZ > &a1, const Scl< MPZ > &a2) |
|
Scl< MPZ > | operator/ (const Scl< MPZ > &a, const Scl< MPZ > &b) |
|
Scl< MPZ > | operator% (const Scl< MPZ > &a, const Scl< MPZ > &b) |
|
void | convert (Scl< MPZ > &n, char *s) |
|
std::ostream & | operator<< (std::ostream &os, const Scl< MPZ > &b) |
|
std::istream & | operator>> (std::istream &is, Scl< MPZ > &b) |
|
void | SqrtRem (Scl< MPZ > &sqrt, Scl< MPZ > &rem, const Scl< MPZ > &b) |
|
void | QuoRem (Scl< MPZ > &q, Scl< MPZ > &r, const Scl< MPZ > &divdend, const Scl< MPZ > &divisor) |
|
unsigned long | QuoRem (Scl< MPZ > &q, Scl< MPZ > &r, const Scl< MPZ > &divdend, unsigned long divisor) |
|
void | DivMod (Scl< MPZ > &q, Scl< MPZ > &r, const Scl< MPZ > &divdend, const Scl< MPZ > &divisor) |
|
void | DivMod (Scl< MPZ > &q, Scl< MPZ > &r, const Scl< MPZ > &divdend, unsigned long divisor) |
|
void | ExtGCD (Scl< MPZ > &gcd, Scl< MPZ > &a, Scl< MPZ > &b, const Scl< MPZ > &x, const Scl< MPZ > &y) |
|
void | HalfExtGCD (Scl< MPZ > &gcd, Scl< MPZ > &a, const Scl< MPZ > &x, const Scl< MPZ > &y) |
|
unsigned long | BigIntToUL (const Scl< MPZ > &b) |
|
signed long | BigIntToSL (const Scl< MPZ > &b) |
|
size_t | log (const Scl< MPZ > &b) |
|
size_t | log (const Scl< MPZ > &b, int base) |
|
int | sign (const Scl< MPZ > &b) |
|
int | compare (const Scl< MPZ > &b1, const Scl< MPZ > &b2) |
|
int | compare (const Scl< MPZ > &b, unsigned long ul) |
|
int | compare (const Scl< MPZ > &b, long sl) |
|
bool | IsPositive (const Scl< MPZ > &b) |
|
bool | IsNegative (const Scl< MPZ > &b) |
|
bool | IsZero (const Scl< MPZ > &b) |
|
bool | IsOne (const Scl< MPZ > &b) |
|
bool | IsMinusOne (const Scl< MPZ > &b) |
|
bool | IsOdd (const Scl< MPZ > &b) |
|
bool | IsEven (const Scl< MPZ > &b) |
|
bool | IsPerfectSquare (const Scl< MPZ > &b) |
|
bool | IsProbablyPrime (const Scl< MPZ > &b, int reps) |
|
bool | has_positive_sign (const Scl< MPZ > &x) |
|