IEEE-754 Precision- p base-β Arithmetic Implemented in Binary

Author:

Rump Siegfried M.1ORCID

Affiliation:

1. Institute for Reliable Computing, Hamburg University of Technology, Germany, and Visiting Professor at Waseda University, Faculty of Science and Engineering, Japan

Abstract

We show how an IEEE-754 conformant precision- p base-β arithmetic can be implemented based on some binary floating-point and/or integer arithmetic. This includes the four basic operations and square root subject to the five IEEE-754 rounding modes, namely the nearest roundings with roundTiesToEven and roundTiesToAway, the directed roundings downwards and upwards, as well as rounding towards zero. Exceptional values like ∞ of NaN are covered according to the IEEE-754 arithmetic standard. The results of the precision- p base-β operations are computed using some underlying precision- q binary arithmetic. We distinguish two cases. When using a precision- q binary integer arithmetic, the base-β precision p is limited for all operations by β 2 p ≤ 2 q , whereas using a precision- q binary floating-point arithmetic imposes stronger limits on the base-β precision, namely β 2 p ≤ 2 q for addition and multiplication, β 2 p ≤ 2 q-1 for division and β 2 p ≤ 2 q -3 for the square root. Those limitations cannot be improved. The algorithms are implemented in a Matlab/Octave flbeta-toolbox with the choice of using uint64 or binary64 as underlying arithmetic. The former allows larger precisions, the latter is advantageous for the square root, whereas computing times are similar. The flbeta-toolbox offers precision- p base-β scalar, vector and matrix operations including sparse matrices as well as corresponding interval operations. The base β can be chosen in the range β ∊ [2,64]. The flbeta-toolbox will be part of Version 13 of INTLAB [ 18 ], the Matlab/Octave toolbox for reliable computing.

Publisher

Association for Computing Machinery (ACM)

Subject

Applied Mathematics,Software

Reference22 articles.

1. R. Brent and P. Zimmermann. 2010. Modern Computer Arithmetic. Cambridge University Press New York NY USA (2010). R. Brent and P. Zimmermann. 2010. Modern Computer Arithmetic . Cambridge University Press New York NY USA (2010).

2. CPFloat: A C Library for Simulating Low-precision Arithmetic

3. When is double rounding innocuous?

4. FloatX

5. N. J. Higham . 2002. Accuracy and Stability of Numerical Algorithms ( 2 nd Ed.). SIAM Publications , Philadelphia . N. J. Higham. 2002. Accuracy and Stability of Numerical Algorithms (2nd Ed.). SIAM Publications, Philadelphia.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3