• DocumentCode
    1571887
  • Title

    Isolating critical cases for reciprocals using integer factorization

  • Author

    Harrison, John

  • Author_Institution
    Intel Corp., Hillsboro, OR, USA
  • fYear
    2003
  • Firstpage
    148
  • Lastpage
    157
  • Abstract
    One approach to testing and/or proving correctness of a floating-point algorithm computing a function f is based on finding input floating-point numbers a such that the exact result f(a) is very close to a "rounding boundary", i.e. a floating-point number or a midpoint between them. We show how to do this for the reciprocal function by utilizing prime factorizations. We present the method and show examples, as well as making a fairly detailed study of its expected and worst-case behavior. We point out how this analysis of reciprocals can be useful in analyzing certain reciprocal algorithms, and also show how the approach can be trivially adapted to the reciprocal square root function.
  • Keywords
    floating point arithmetic; functional analysis; program verification; critical case isolation; floating-point algorithm; functional analysis; input floating-point numbers; integer factorization; prime factorization; prime factorizations; reciprocal algorithm; reciprocal function; reciprocal square root function; worst-case behavior; Algorithm design and analysis; Approximation algorithms; Computer aided instruction; Computer aided software engineering; Computer architecture; Computer displays; Concrete; Error correction; Sufficient conditions; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Arithmetic, 2003. Proceedings. 16th IEEE Symposium on
  • ISSN
    1063-6889
  • Print_ISBN
    0-7695-1894-X
  • Type

    conf

  • DOI
    10.1109/ARITH.2003.1207673
  • Filename
    1207673