引用本文: | 钟志新.计算机“二一十”进制数据转换算法.[J].国防科技大学学报,1993,15(1):31-36.[点击复制] |
Zhong Zhixin.The Reseach on BTD Algorithm of Data Conversion in Computer[J].Journal of National University of Defense Technology,1993,15(1):31-36[点击复制] |
|
|
|
本文已被:浏览 6665次 下载 6407次 |
计算机“二一十”进制数据转换算法 |
钟志新 |
(电子计算机系)
|
摘要: |
“二一十”转换是计算机中经常用到的,将二进制浮点数0.B1B2…Bn*2B 转换成十进制数 0.D1D2…Dm*10D 的关键是首先求出D。本文通过全面研制二进制浮点数的性质,推导出了一个关于精确求D的重要结论,并由此构造出一个实际应用时总误差最小的高效求D公式。 |
关键词: 数据,转换,浮点数,二进制,十进制,变指尾数点,下确界,最小值 |
DOI: |
投稿日期:1992-04-27 |
基金项目: |
|
The Reseach on BTD Algorithm of Data Conversion in Computer |
Zhong Zhixin |
(Department of Computer Science)
|
Abstract: |
The binary-to-decimal (BTD) conversion is often used in computer.It is the key problem to calculate D first for converting the binary floating point number (BFPN) O.B1B2…Bn*2B into the decimal 0.D1D2…Dm*10D. In this paper,we comprehensively studied the nature of BFPNand inferred an important conclusion for calculating D precisely. Based on the conclusion we constructed a high efficient formula which can not only calculate D but also keep the total error minimum in application. |
Keywords: date,conversion,floating point number,binary system,decimal system |
|
|