说明:该MF C程序可以进行长整数的四则,阶乘,幂的计算。重要的是在除法上做了性能的优化。
The MFC program can be carried long integer four, factorial, power calculations. It is important to do the division of the performance optimization.
在筛法和费尔马小定理的基础上,利用索阶乘及判别数对如何判别一个整数是否是一个素数的算法加以改进。
The algorithm of distinguishing prime number is improved on the basis of Eratosthenes' sieve method and Fermat 's minor theorem.
应用推荐