Givaro
Namespaces | Functions
gmp++_int_misc.C File Reference

miscing stuff. More...

#include <iostream>
#include <cmath>
#include "gmp++/gmp++.h"
#include <sstream>
+ Include dependency graph for gmp++_int_misc.C:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 Givaro
 Namespace in which the whole Givaro library resides.
 
 Givaro::Protected
 

Functions

Integer fact (uint64_t l)
 
Integer & sqrt (Integer &r, const Integer &p)
 
Integer & sqrtrem (Integer &r, const Integer &p, Integer &rem)
 
Integer sqrt (const Integer &p)
 
Integer sqrtrem (const Integer &p, Integer &rem)
 
bool root (Integer &q, const Integer &, uint32_t n)
 
void swap (Integer &, Integer &)
 
double naturallog (const Integer &a)
 
bool isOdd (const Integer &a)
 Tests parity of an integer. More...
 
int64_t logp (const Integer &a, const Integer &p)
 
double logtwo (const Integer &a)
 
int32_t probab_prime (const Integer &p, int32_t r=_GIVARO_ISPRIMETESTS_)
 
Integer & nextprime (Integer &, const Integer &p)
 
Integer & prevprime (Integer &, const Integer &p)
 
int32_t kronecker (const Integer &u, const Integer &v)
 
int32_t jacobi (const Integer &u, const Integer &v)
 
int32_t legendre (const Integer &u, const Integer &v)
 
uint64_t length (const Integer &a)
 
Integer abs (const Integer &n)
 

Detailed Description

miscing stuff.