Givaro
Functions
test-random.C File Reference

we test bounds for random Integers More...

#include <iostream>
#include <givaro/givrandom.h>
#include <givaro/givinteger.h>
#include <givaro/modular.h>
#include <givaro/montgomery.h>
#include <givaro/modular-ruint.h>
#include <givaro/modular-balanced.h>
+ Include dependency graph for test-random.C:

Functions

int test1 (size_t nbiters)
 tests ret= .func(arg,arg); ... More...
 
int test2 (size_t nbiters)
 tests More...
 
int test3 (size_t nbiters)
 tests More...
 
int test4 (size_t nbiters)
 test possibly <0 random numbers More...
 
int test5 (size_t nbiters)
 tests standard interface More...
 
int brandtest (uint64_t seed, size_t nbiters)
 
template<typename Field >
int modtest (Field &F, uint64_t seed)
 
int main (int argc, char **argv)
 

Detailed Description

we test bounds for random Integers

Test:
we test bounds for random Integers

Function Documentation

◆ test1()

int test1 ( size_t  nbiters)

tests ret= .func(arg,arg); ...

◆ test2()

int test2 ( size_t  nbiters)

tests

ret= ::func(arg,arg); 

◆ test3()

int test3 ( size_t  nbiters)

tests

::func(ret,arg,arg); 

◆ test4()

int test4 ( size_t  nbiters)

test possibly <0 random numbers

◆ test5()

int test5 ( size_t  nbiters)

tests standard interface

◆ brandtest()

int brandtest ( uint64_t  seed,
size_t  nbiters 
)

◆ modtest()

int modtest ( Field F,
uint64_t  seed 
)

◆ main()

int main ( int  argc,
char **  argv 
)