Your class BigInt is so nice! Would you mind to add a sqrt() function to BigInt? It should work as in the similar Java-BigInteger sqrt() method. Regards, Andreas