Patents
US 9,851,946 B2#27373788 Most CitedActiveUnited States (USPTO)Utility

Round for reround mode in a decimal floating point instruction

4Forward Citations (#27373788 Global)
0.4/yrCitation Velocity (#18563780 Global)
1.01Citation PageRank (#40971294 Global)
27Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A round-for-reround mode (preferably in a BID encoded Decimal format) of a floating point instruction prepares a result for later rounding to a variable number of digits by detecting that the least significant digit may be a 0, and if so changing it to 1 when the trailing digits are not all 0. A subsequent reround instruction is then able to round the result to any number of digits at least 2 fewer than the number of digits of the result. An optional embodiment saves a tag indicating the fact that the low order digit of the result is 0 or 5 if the trailing bits are non-zero in a tag field rather than modify the result. Another optional embodiment also saves a half-way-and-above indicator when the trailing digits represent a decimal with a most significant digit having a value of 5. An optional subsequent reround instruction is able to round the result to any number of digits fewer or equal to the number of digits of the result using the saved tags.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for rounding a Decimal Floating Point number to a lesser precision in a computer processor, the method comprising: a) first emulating, by a computer processor, execution of a decimal floating point instruction to perform a decimal floating point operation utilizing a round-for-reround mode, the first emulating comprising: fetching from computer processor storage, by the computer processor, a decimal floating point operand having a first number of bits representing a first decimal number, the first decimal number having a first number of decimal digits of precision

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (27)

PatentTitleYearCitations
US 4,823,260 AMixed-precision floating point operations from a single instruction opcode198966
US 5,551,013 AMultiprocessor for hardware emulation1996599
US 5,574,873 ADecoding guest instruction to directly access emulation routines that emulate the guest instructions1996543
US 5,696,711 AApparatus and method for performing variable precision floating point rounding operations199778
US 5,790,825 AMethod for emulating guest instructions on a host computer through dynamic recompilation of host instructions1998540
US 6,009,261 APreprocessing of stored target routines for emulating incompatible instructions on a target processor1999525
US 6,044,392 AMethod and apparatus for performing rounding in a data processor200028
US 6,108,772 AMethod and apparatus for supporting multiple floating point processing models2000104
US 6,308,255 B1Symmetrical multiprocessing bus and chipset used for coprocessor support allowing non-native code to run in a system2001547
US 6,463,582 B1Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method2002775
US 2002198918 A1Floating point unit for detecting and representing inexact computations without flags or traps—18
US 6,560,623 B1Method and apparatus for producing correctly rounded values of functions using double precision operands200330
US 2003115236 A1Elimination of rounding step in the short path of a floating point adder—18
US 2004158600 A1Method and system for determining the correct rounding of a function—15
US 6,785,701 B2Apparatus and method of performing addition and rounding operation in parallel for floating-point arithmetic logical unit200413
US 2004254973 A1Rounding mode insensitive method and apparatus for integer rounding—17
US 2004254971 A1Method and system for computing alignment sticky bit in floating-point operations—17
US 6,854,001 B2Apparatus and method for simultaneously displaying a number along with its number of significant figures200527
US 6,978,289 B1Apparatus and method for minimizing accumulated rounding errors in coefficient values in a lookup table for interpolating polynomials200516
US 2006047738 A1Decimal rounding mode which preserves data information for further rounding to less precision—18
US 7,035,892 B2Apparatus and method for reducing precision of data200617
US 7,035,891 B2Reduced-hardware soft error detection200617
US 7,062,525 B1Circuit and method for normalizing and rounding floating-point results and processor incorporating the circuit or the method200619
US 7,069,286 B2Solution space principle component-based adaptive filter and method of operation thereof20065
US 7,069,288 B2Floating point system with improved support of interval arithmetic200621
US 2006242213 A1Variable Precision Processor—15

Non-Patent Literature (5)

  • Bernal et al, "integer Representation of Decimal Numbers for Exact Computations", Journal of Research of the National Institute of Standards and Technology, vol. 111, No. 2, Mar.-Apr. 2006, pp. 79-88. NPL filed with IDS with PTO in U.S. Appl. No. 14/943,254.
  • IBM z/Architecture Preliminary Decimal Floating Point Architecture, Nov. 2006, SA23-2232-00; 4-1 through 4-2; 6-1 through 6-4; 9-1 through 9-2; 19-1; through 19-2; 20-1 through 20-42. NPL filed with IDS with PTO in U.S. Appl. No. 14/943,254.
  • U.S. Appl. No. 10/930,129 o Schwarz et al, filed Aug. 31, 2004, now abandoned, Office Action dated Oct. 19, 2007 NPL filed with IDS with PTO in U.S. Appl. No. 14/943,254.
  • U.S. Appl. No. 10/930,129 to Schwarz et al, filed Aug. 31, 2004, now abandoned, Final Office Action dated Dec. 21, 2007 NPL filed with IDS with PTO in U.S. Appl. No. 14/943,254.
  • U.S. Appl. No. 10/930,129 to Schwarz et al, filed Aug. 31, 2004, now abandoned, NPL filed with IDS with PTO in U.S. Appl. No. 14/943,254.