TomsFastMath is a portable fixed precision math library designed for very fast exponentiations. WWW: http://www.libtomcrypt.org/tfm