[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-discuss
Subject:    change limb size
From:       user42 () zip ! com ! au (Kevin Ryde)
Date:       2004-06-08 0:14:24
Message-ID: 878yezyq9e.fsf () zip ! com ! au
[Download RAW message or body]

Olivier Ruatta <Olivier.Ruatta@sophia.inria.fr> writes:
>
> #define mp_bits_per_limb 2 //here you can change 2 for everythings you ant, nothing change

No, that's a constant.

>   mp_limb_t n[40]; mpn_random(n,ns);

Maybe mpz_urandomb does what you want.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic