文件名称:tdzl1.3
介绍说明--下载内容均来自于网络,请自行研究使用
高效整数开平方
我能实现的最高效率的函数,用于将一个unsigned int数开平方。如果被求的数不是完全平方数,求出它的平方根的整数部分。尽你所可能的优化它的效率,并用文字证明你优化策略有效。
函数的声明为:
unsigned short work(unsigned int n)
用到了位运算-Efficient integer square root realized that I can function at maximum efficiency for a number of unsigned int open square. If they are seeking a few not entirely square, find the square root of its integer part. Do you have it possible to optimize the efficiency and use of text that you optimize the strategy effectively. Function declaration: unsigned short work (unsigned int n) use the bitwise
我能实现的最高效率的函数,用于将一个unsigned int数开平方。如果被求的数不是完全平方数,求出它的平方根的整数部分。尽你所可能的优化它的效率,并用文字证明你优化策略有效。
函数的声明为:
unsigned short work(unsigned int n)
用到了位运算-Efficient integer square root realized that I can function at maximum efficiency for a number of unsigned int open square. If they are seeking a few not entirely square, find the square root of its integer part. Do you have it possible to optimize the efficiency and use of text that you optimize the strategy effectively. Function declaration: unsigned short work (unsigned int n) use the bitwise
相关搜索: 开平方
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tdzl1.3.cpp