Solving constraints on the invisible bits of the intermediate result for floating-point verification

Merav Aharoni, Sigal Asaf, Ron Maharik, Ilan Nehama, Ilya Nikulshin, Abraham Ziv

Research output: Contribution to conferencePaperpeer-review

Abstract

Test generation for datapath floating-point verification involves targeting intricate corner cases, which can often be solved only through complex constraint solving. In the process of calculating the result, we use an intermediate result whose significand comprises a finite number of bits and a sticky bit that is 0 if and only if the intermediate result is exact. We refer to all the bits beyond those represented in the final result as the invisible bits. We deal with corner cases that can only be defined via constraints on the intermediate result. Our work investigates the following problem: Given a floating-point operation, and constraints on the invisible bits and the sticky bit, find two inputs for the operation that yield an intermediate result compatible with the constraints. The paper supplies a deterministic solution for addition and subtraction, and probabilistic solutions for multiplication and division. It also discusses the application of these algorithms to the verification of floating-point implementations.

Original languageEnglish
Pages76-83
Number of pages8
DOIs
StatePublished - 2005
Event17th IEEE Symposium on Computer Arithmetic, ARITH-17 2005 - Cape Cod, MA, United States
Duration: 27 Jun 200529 Jun 2005

Conference

Conference17th IEEE Symposium on Computer Arithmetic, ARITH-17 2005
Country/TerritoryUnited States
CityCape Cod, MA
Period27/06/0529/06/05

ASJC Scopus subject areas

  • Software
  • Theoretical Computer Science
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'Solving constraints on the invisible bits of the intermediate result for floating-point verification'. Together they form a unique fingerprint.

Cite this