• DocumentCode
    2780296
  • Title

    Number-theoretic test generation for directed rounding

  • Author

    Parks, Michael

  • Author_Institution
    Java Technol. Group, Sun Microsyst., Palo Alto, CA, USA
  • fYear
    1999
  • fDate
    1999
  • Firstpage
    241
  • Lastpage
    248
  • Abstract
    We present methods to generate systematically the hardest test cases for multiplication, division, and square root subject to directed rounding, essentially extending previous work on number-theoretic floating point testing to rounding modes other than to-nearest. The algorithms focus upon the rounding boundaries of the modes truncate, to-minus infinity, and to-infinity and programs based on them require little beyond exact arithmetic in the working precision to create billions of edge cases. We show that the amount of work required to calculate trial multiplicands pays off in the form of free extra tests due to an interconnection among the operations considered herein. Although these tests do not replace proofs of correctness, they can be used to gain a high degree of confidence that the accuracy requirements as mandated by IEEE Standard 754 have been satisfied
  • Keywords
    IEEE standards; floating point arithmetic; number theory; roundoff errors; IEEE Standard 754; directed rounding; division; edge cases; exact arithmetic; hardest test cases; multiplication; number-theoretic floating point testing; number-theoretic test generation; rounding boundaries; rounding modes; square root; to-minus infinity; trial multiplicands; truncate; Algorithm design and analysis; Approximation algorithms; Electrical capacitance tomography; Equations; Floating-point arithmetic; Hardware; Iterative algorithms; Java; Sun; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Arithmetic, 1999. Proceedings. 14th IEEE Symposium on
  • Conference_Location
    Adelaide, SA
  • ISSN
    1063-6889
  • Print_ISBN
    0-7695-0116-8
  • Type

    conf

  • DOI
    10.1109/ARITH.1999.762850
  • Filename
    762850