Givaro
Functions
test-integer.C File Reference

(4.0.4)

tests integer.h fucntions not tested elsewhere. More...

#include <stdlib.h>
#include "gmp++/gmp++.h"
#include <typeinfo>
#include <iostream>
+ Include dependency graph for test-integer.C:

Functions

int main (int argc, char **argv)
 

Detailed Description

tests integer.h fucntions not tested elsewhere.

Test:
tests integer.h fucntions not tested elsewhere.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)
Todo:
test gcd...
Examples
examples/FiniteField/all_field.C, examples/FiniteField/domain_to_operatorstyle.C, examples/FiniteField/exponentiation.C, examples/FiniteField/ff_arith.C, examples/FiniteField/GF128.C, examples/FiniteField/GFirreducible.C, examples/FiniteField/gfq_atomic.C, examples/FiniteField/Test_Extension.C, examples/FiniteField/zpz_atomic.C, examples/Integer/iexponentiation.C, examples/Integer/ifactor.C, examples/Integer/ifactor_lenstra.C, examples/Integer/igcd.C, examples/Integer/igcdext.C, examples/Integer/ilcm.C, examples/Integer/ispower.C, examples/Integer/isprime.C, examples/Integer/isproot.C, examples/Integer/lambda.C, examples/Integer/lambda_inv.C, examples/Integer/ModularSquareRoot.C, examples/Integer/nb_primes.C, examples/Integer/nextprime.C, examples/Integer/order.C, examples/Integer/phi.C, examples/Integer/prevprime.C, examples/Integer/primitiveelement.C, examples/Integer/primitiveroot.C, examples/Integer/probable_primroot.C, examples/Integer/ProbLucas.C, examples/Integer/RSA_breaking.C, examples/Integer/RSA_decipher.C, examples/Integer/RSA_encipher.C, examples/Integer/RSA_keys_generator.C, examples/Polynomial/highorder.C, examples/Polynomial/interpolate.C, examples/Polynomial/isirred.C, examples/Polynomial/isprimitive.C, examples/Polynomial/pol_arith.C, examples/Polynomial/pol_eval.C, examples/Polynomial/pol_factor.C, examples/Polynomial/PolynomialCRT.C, examples/Polynomial/trunc_arith.C, examples/Rational/iratrecon.C, and examples/Rational/polydouble.C.