PDA

View Full Version : [ubuntu] gmp bits



kishorebjv
March 25th, 2010, 05:00 AM
In GMP library,

_mp_size holds the number of limbs of an integer..

we can create integers of size
1 limb(32bits),2 limbs(64bits),3 limbs(96bits)...so on. using mpz_init or mpz_random functions..

cant we create an integer variable of size 8bit or 16 bit.. other than multiples of 32 bit size ???

can you code for that??

thank you ..