GMP variable's bit size..
Posted
by kishorebjv
on Stack Overflow
See other posts from Stack Overflow
or by kishorebjv
Published on 2010-03-22T01:10:02Z
Indexed on
2010/03/22
1:11 UTC
Read the original article
Hit count: 444
gmp
How to know the size of a declared variable in GMP??or how can we decide the size of an integer in GMP?
mpz_random(temp,1); in manual it is given that this function allocates 1limb(=32bits for my comp) size to the "temp".... but it is having 9 digit number only.. SO i dont think that 32 bit size number holds only 9 digits number..
So please help me to know the size of integer variable in GMP ..
thanks in adv..
© Stack Overflow or respective owner