Assurance of Accuracy in Floating-Point Calculations - A Software Model Study

被引:0
作者
Jorgensen, Alan A. [1 ]
Masters, Andrew C. [1 ]
Guha, Ratan K. [2 ]
机构
[1] True North Floating Point, Las Vegas, NV 89122 USA
[2] Univ Cent Florida, Dept Comp Sci, Orlando, FL 32816 USA
来源
2019 6TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI 2019) | 2019年
关键词
floating-point; rounding; cancellation; error; Kahan Submission - Full/Regular Research Paper Conference - CSCI-ISCS;
D O I
10.1109/CSCI49370.2019.00091
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Since the days of the earliest computers, floating-point arithmetic has been a workable solution to represent real numbers with a finite number of bits, though it cannot precisely represent all real numbers. This results in invisible, unknowable, and sometimes catasfrophic error - particularly in complex calculations - when an insufficient number of significant digits have been retained. This paper describes a novel bounded floatingpoint extension of the current floating-point standard that makes this error visible and knowable. It ensures accuracy by bounding a calculation result between a lower bound and an upper bound on the real value represented. A bounded floating-point software model (emulating the hardware implementation of the bounded floating-point system) is presented that can identify the loss of significant digits and pinpoint failure points. By utilizing this model, the superiority of the Kahan thin triangle algorithm versus earlier Heron algorithm is shown.
引用
收藏
页码:471 / 475
页数:5
相关论文
共 19 条
  • [1] [Anonymous], 2013, Computer Organization and Design MIPS Edition: The Hardware/Software Interface
  • [2] Eha B., 2012, CABLE NEWS NETW 0809
  • [3] Ercegovac M. D., 2004, Digital Arithmetic
  • [4] WHAT EVERY COMPUTER SCIENTIST SHOULD KNOW ABOUT FLOATING-POINT ARITHMETIC
    GOLDBERG, D
    [J]. COMPUTING SURVEYS, 1991, 23 (01) : 5 - 48
  • [5] Haigh T., 1989, TURING AWARD WM KAHA
  • [6] Higham N. J, 2002, Accuracy and Stability of Numerical Algorithms, V80
  • [7] ISO/IEC/IEEE, 2011, 60559 ISOIECIEEE
  • [8] Jorgensen A., 2017, U. S. Patent, Patent No. [9.817.662, 981766214]
  • [9] Kahan W., 2012, IFIP WORK C UNC QUAN
  • [10] Kahan W., 2014, "Miscalculating area and angles of a needle-like triangle