Improving Floating-Point Numbers: A Lazy Approach to Adaptive Accuracy Refinement for Numerical Computations

被引:0
|
作者
Kawabata, Hideyuki [1 ]
Iwasaki, Hideya [2 ]
机构
[1] Hiroshima City Univ, Asa Minami Ku, 3-4-1 Ozuka Higashi, Hiroshima 7313194, Japan
[2] Univ Electrocommun, 1-5-1 Chofugaoka, Chofu, Tokyo 1828585, Japan
关键词
Improving floating-point numbers; Accurate numerical computation; Lazy evaluation; Haskell library;
D O I
10.1007/978-3-662-49498-1_16
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Numerical computation using floating-point numbers is prone to accuracy degradation due to round-off errors and cancellation of significant digits. Although multiple-precision arithmetic might alleviate this problem, it is difficult to statically decide the optimal degree of precision for each operation in a program. This paper presents a solution to this problem: the partial results in floating-point representations are incrementally improved using adaptive control. This process of adaptive accuracy refinement is implemented using lazy lists, each one containing a sequence of floating-point numbers with gradually improving accuracies. The computation process is driven by the propagation of demand for more accurate results. The concept of this improving floating-point number (IFN) mechanism was experimentally implemented in two ways: as a Haskell library and as a pure C library. Despite the simple approach, the results for numerical problems demonstrated the effectiveness of this mechanism.
引用
收藏
页码:390 / 418
页数:29
相关论文
共 50 条
  • [1] Termination of Floating-Point Computations
    Alexander Serebrenik
    Danny De Schreye
    [J]. Journal of Automated Reasoning, 2005, 34 : 141 - 177
  • [2] Termination of floating-point computations
    Serebrenik, A
    De Schreye, D
    [J]. JOURNAL OF AUTOMATED REASONING, 2005, 34 (02) : 141 - 177
  • [3] Refinement of rational end-points real numbers by means of floating-point numbers
    Ait-Ameur, Y
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 1999, 33 (02) : 133 - 162
  • [4] The pitfalls of verifying floating-point computations
    Monniaux, David
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2008, 30 (03):
  • [5] Verified Compilation of Floating-Point Computations
    Sylvie Boldo
    Jacques-Henri Jourdan
    Xavier Leroy
    Guillaume Melquiond
    [J]. Journal of Automated Reasoning, 2015, 54 : 135 - 163
  • [6] Verified Compilation of Floating-Point Computations
    Boldo, Sylvie
    Jourdan, Jacques-Henri
    Leroy, Xavier
    Melquiond, Guillaume
    [J]. JOURNAL OF AUTOMATED REASONING, 2015, 54 (02) : 135 - 163
  • [7] Faithfully Rounded Floating-point Computations
    Lange, Marko
    Rump, Siegfried M.
    [J]. ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2020, 46 (03):
  • [8] Symbolic execution of floating-point computations
    Botella, Bernard
    Gotlieb, Arnaud
    Michel, Claude
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2006, 16 (02): : 97 - 121
  • [9] Floating-point computations on reconfigurable computers
    Morris, Gerald R.
    [J]. PROCEEDINGS OF THE HPCMP USERS GROUP CONFERENCE 2007, 2007, : 339 - 344
  • [10] THE ACCURACY OF FLOATING-POINT SUMMATION
    HIGHAM, NJ
    [J]. SIAM JOURNAL ON SCIENTIFIC COMPUTING, 1993, 14 (04): : 783 - 799