Method and apparatus for rounding the result of an arithmetic operation
Abstract
An apparatus for rounding an answer produced during the execution of an operation by a multiple stage execution pipeline includes first circuitry for detecting when the operation is iterative and accuracy bits associated with the answer to determine if a rounding calculation is required. When the first circuitry detects a rounding calculation is required, it sets a correction factor for the answer in accordance with a rounding mode and the detected accuracy. In a method practiced by the apparatus, the rounding an answer produced during the execution of an operation occurs through the steps of detecting, when the operation is iterative, accuracy bits associated with the answer to determine if a rounding calculation is required, and, when the rounding calculation is required, setting a correction factor for the answer in accordance with a rounding mode and the detected accuracy bits.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 24.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for rounding an approximate answer produced during the execution of an operation by a multiple stage execution pipeline, comprising: first circuitry for determining if a rounding calculation is required wherein, when a rounding calculation is required, said second circuitry establishes a correction factor for the approximate answer and initiates the execution of the rounding calculation by the pipeline; second circuitry for outputting calculated accuracy bits when no rounding calculation is required and for outputting forced accuracy bits when a rounding calculation is required;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗