资料
  • 资料
  • 专题
快速整数平方根
推荐星级:
时间:2019-12-24
大小:182.06KB
阅读数:239
上传用户:二不过三
查看他发布的资源
下载次数
0
所需E币
3
ebi
新用户注册即送 300 E币
更多E币赚取方法,请查看
close
资料介绍
One very common and relatively quick method for find- ing the square root of a number is the Newton-Raphson method. Although this method is quick in terms of mathematics, it also requires extensive use of division to produce results, usually iterating many times. In the PIC18CXX2 microcontroller family, though not difficult, division does requires several basic operations. How- ever, with the help of the single cycle hardware multi- plier, one of the many nice features in the PIC18CXX2 and the use of a technique different from the Newton- Raphson method, division is avoided. The following TB040 Fast Integer Square Root algorithm demonstrates how the single cycle multiplier Author: Ross M. Fosler is useful in calculating a square root and at the same Microchip Technology Inc. time, save processor time. THE ALGORITHM INTRODUCTION Using the binary nature of the microcontroller, the One very common and relatively quick method for find- square root of a f……
版权说明:本资料由用户提供并上传,仅用于学习交流;若内容存在侵权,请进行举报,或 联系我们 删除。
相关评论 (下载后评价送E币 我要评论)
没有更多评论了
  • 可能感兴趣
  • 关注本资料的网友还下载了
  • 技术白皮书