定浮点数据算术及其优化  被引量:3

Optimizing Decimal Fixed and Floating Point Arithmetic for Computers

在线阅读下载全文

作  者:石学林[1] 张兆庆[1] 武成岗[1] 

机构地区:[1]中国科学院计算技术研究所,中国科学院研究生院北京100080

出  处:《计算机科学》2005年第6期176-180,共5页Computer Science

摘  要:定点算法对于商业计算非常重要,但由于成本和功耗的限制,某些嵌入式芯片尚不能提供浮点部件。针对这些情况,我们必须寻求支持整数ALU的十进制定浮点算数的解决方案。本文提出一种新的基于十进制编码的长整数方法以进行小数运算。实验表明我们的数据模型和算法其性能优于 Java BigDecimal,在实际商业应用中获得了 20%加速。Fixed point arithmetic is very boportant for business computing. And also some embedded chips do not provide float unit because of the limit of cost and power. Under both these conditions,we must find a solution to sup- port decimal fixed or float point arithmetic on Integer ALU. This paper presents a new approach based on decimal en- coded long integer to do decimal arithmetic. Experiments show that our data model and algorithms is superior to Java BigDecimal in performance. We get a speedup of 20% in real commercial applications.

关 键 词:浮点数据 优化 算术 嵌入式芯片 十进制编码 定点算法 浮点部件 解决方案 Java 数据模型 商业应用 ALU 整数 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论] G613.4[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象