Hi all,<br><br>Suppose my program needs to deal with huge numbers with thousands of precision digits. However, the focus is on the last 10s of digits of these huge numbers. That's to say, the final results is between 0 and 1, which is obtained form a series of calculations of huge numbers, and then add and subtract, so only the last a few digits remain, but the intermediate numbers can be as large as gamma(1000).
<br><br>Is there a way that I can extract the last N digits from large GMP or MPFR numbers? Let's say N=10?<br><br>Thanks a lot,<br><br><br>