对于小的整数幂,比如2和3(或以2为基数,这比较特殊),通常会选择完全错误的算法。
It usually chooses completely the wrong algorithm for small integral powers like two and three, or for special cases like a base of two.
与旧的VG类型一样,其大小使用兆字节为单位,并且大小变量必须等于2的整数幂。
As with the older VG types, the size is specified in units of megabytes and the size variable must be equal to a power of 2.
说明:该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.
I'm going to write a function to compute integer power exponents.
我要去写一个,计算一个整数幂指数的方法。
应用推荐