i used this library several years ago for a project... it's quite impressive.... however, i don't really remember anything to help you with.
so, i don't want to sound dismissive, but i think this sort of highly specialized library you'll probably find more precise help on their mailing list or archives
http://gmplib.org/#MAILINGLISTS
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179