about precision and format
glassy
glassymeow at yahoo.com
Thu Jul 13 13:18:30 CEST 2006
two questions:
in the GMP manual :
mpf_set_default_prec (unsigned long int prec) : sets the default precision to be at least prec bits.
okay if we want the precision 2048 bits, how may digits will be at the right of the mantissa if we want a decimal number ?
second question: in the gmp_sprintf(s, "%77.72Fe" , @r) what is the meaning of the format string "%77.72Fe" how could we interpret it.
and also gmp_sprintz(s, "%Zd" , @r) how could we intepret the string "%Zd"
thanks
glassy
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-discuss/attachments/20060713/be35ceb9/attachment.html
More information about the gmp-discuss
mailing list