摘要
以LCC软件为设计基础,提出了双精度浮点数比较大小算法的设计方法,通过程序验证了算法的精确度,分别分析了绝对误差和相对误差方法设计算法,最后从双精度浮点数在计算机中的表示方法角度提出了浮点数线性化后相等比较改进的方法。
Based on LCC software for design, this paper puts forward the design method of the double precision doubling- point comparisons algorithm, the accuracy of the algorithm is verified in applications, and the algorithm is designed with the absolute error and relative error method respectively. Finally aimed at representation for double-precision doubling-point number, the paper presents the arithmetic for floating point linearization.
出处
《船电技术》
2017年第1期40-42,48,共4页
Marine Electric & Electronic Engineering
关键词
比较
算法
双精度
有效数字
compare
algorithms
double precision
significance digit