节点文献
高精度定点数平方根汇编子程序的实现原理
The Programming Principle of the High Accuracy Fixed-point Number Square Root Assembly Subrotine
【摘要】 在8/16位单片机或32位定点DSP实时测控系统中,汇编应用程序仍占主导地位。介绍一种用定点实数格式实现平方根汇编子程序的方法,并通过与3字节浮点数平方根汇编子程序运算结果比较发现:前者比后者的精度更高,在保持精度不变时,开平方根数的范围更大。
【Abstract】 In real time measurement control sysytem of 8-16 bits single chip microcomputer or 32 bits DSP,assembly application progrom still dominates.This paper introduces a method that implements the square root assembly subrotine(the former)with the fixed-point number format.By comparing with the calculating results of 3 bytes float-point number square root assembly subrotine(the latter),it was found that the former′s calculating accuracy is higher than the latter′s and the range of the square root numbers is wider in keeping accuracy constant.
【关键词】 平方根;
定点数;
定点CPU;
数字信号处理;
电力监测;
【Key words】 squareroot; fixed-point number; fixed-point CPU; DSP; electric power monitering;
【Key words】 squareroot; fixed-point number; fixed-point CPU; DSP; electric power monitering;
- 【文献出处】 江苏石油化工学院学报 ,Journal of Jiangsu Institute of Petrochemical Technology , 编辑部邮箱 ,2002年04期
- 【分类号】TP311.52
- 【被引频次】4
- 【下载频次】160