At 09:15 PM 10/14/99 -0400, Darxus wrote:
>What's the best way of finding the number of decimal digits for the number
>2^p-1 ?
p * log10(2) and round up to the next integer. log10(2) = 0.301029996.
+---------------------------------------------------------+
| Jud McCranie |
| |
| Programming Achieved with Structure, Clarity, And Logic |
+---------------------------------------------------------+
_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers