Quote Originally Posted by estanisgeyer View Post
I use "double" because of the accuracy.
What accuracy?

You could write some kind of a wrapper around GMP's integer arithmetics.