hottub.patents
US 12,190,078 B2#3642221 Most CitedActiveUnited States (USPTO)Utility

Rounding hexadecimal floating point numbers using binary incrementors

0Forward Citations (#3642221 Global)
0.0/yrCitation Velocity (#3642221 Global)
0.00Citation PageRank (#3642221 Global)
13Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
9Drawings / Sheets

Abstract

Rounding hexadecimal floating point numbers using binary incrementors, including: incrementing, by a first incrementor, a first subset of bits of an operand comprising a binary hexadecimal floating point operand; incrementing, by a second incrementor, a second subset of bits of the operand; generate an intermediate result based on a carryout of the second incrementor; and generate an incremented result based on a carryout of the first incrementor and one or more of: a first bit of the intermediate result or the carryout of the second incrementor.

Interactive Citation Constellation Global Citation Ranking

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

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method of rounding hexadecimal floating point numbers using binary incrementors, the method comprising: incrementing, by a first incrementor, a first subset of bits of an operand comprising a binary hexadecimal floating point operand; incrementing, by a second incrementor, a second subset of bits of the operand; generating, by a multiplexor, an intermediate result based on a carryout of the second incrementor; generating, by correction logic if a carryout of the first incrementor is set, an incremented result based on the carryout of the first incrementor and one or more of: a first bit of the intermediate result or the carryout of the second incrementor; and generating, by the correction logic if the carryout of the first incrementor is not set, the incremented result based on whether the first bit of the intermediate result is set.

  2. Claim 2Depends on #1

    The method of claim 1, wherein generating the intermediate result comprises: including, in the intermediate result, a non-incremented first subset of bits of the operand responsive to the carryout of the second incrementor not being set; including, in the intermediate result, an incremented first subset of bits of the operand responsive to the carryout of the second incrementor being set; and including, in the intermediate result, an incremented second subset of bits of the operand.

  3. Claim 3Depends on #1

    The method of claim 1, wherein generating the incremented result comprises: responsive to the carryout of the first incrementor being set and the carryout of the second incrementor being set: generating, as a fraction component of the incremented result, a first predefined portion of leading bits and the intermediate result excluding an output of the second incrementor; and incrementing an exponent component of the operand.

  4. Claim 4Depends on #1

    The method of claim 1, wherein generating the incremented result comprises: responsive to the carryout of the first incrementor not being set and the first bit of the intermediate result being set: generating, as a fraction component of the incremented result, a second predefined portion of leading bits and the intermediate result excluding an output of the second incrementor; and incrementing an exponent component of the operand.

  5. Claim 5Depends on #1

    The method of claim 1, wherein generating the incremented result comprises: responsive to the carryout of the first incrementor not being set and the first bit of the intermediate result not being set, generating, as a fraction component of the incremented result, the intermediate result excluding the first bit of the intermediate result.

  6. Claim 6Depends on #1

    The method of claim 1, wherein the second subset of bits of the operand comprises a four least significant bits of the operand.

  7. Claim 7Depends on #6

    The method of claim 6, wherein the second incrementor comprises a four-bit incrementor.

  8. Claim 8Depends on #1

    The method of claim 1, wherein the first incrementor comprises a fifty-three-bit incrementor.

  9. Claim 9Independent Claim

    A chip for rounding hexadecimal floating point numbers using binary incrementors, comprising: a first incrementor; a second incrementor; correction logic; and a multiplexor, wherein: the first incrementor increments a first subset of bits of an operand comprising a binary hexadecimal floating point operand; the second incrementor increments a second subset of bits of the operand; the multiplexor receives a non-incremented first subset of bits and the incremented first subset of bits and generates an intermediate result based on a carryout of the second incrementor; the correction logic generates an incremented result if a carryout of the first incrementor is set based on the carryout of the first incrementor and one or more of: a first bit of the intermediate result or the carryout of the second incrementor; and the correction logic generates the incremented result if the carryout of the first incrementor is not set based on whether the first bit of the intermediate result is set.

  10. Claim 10Depends on #9

    The chip of claim 9, wherein the multiplexor generates the intermediate result by: including, in the intermediate result, the non-incremented first subset of bits of the operand responsive to the carryout of the second incrementor not being set; including, in the intermediate result, the incremented first subset of bits of the operand responsive to the carryout of the second incrementor being set; and including, in the intermediate result, the incremented second subset of bits of the operand.

  11. Claim 11Depends on #9

    The chip of claim 9, wherein the correction logic generates the incremented result by: responsive to the carryout of the first incrementor being set and the carryout of the second incrementor being set: generating, as a fraction component of the incremented result, a first predefined portion of leading bits and the intermediate result excluding an output of the second incrementor; and incrementing an exponent component of the operand.

  12. Claim 12Depends on #9

    The chip of claim 9, wherein the correction logic generates the incremented result by: responsive to the carryout of the first incrementor not being set and the first bit of the intermediate result being set: generating, as a fraction component of the incremented result, a second predefined portion of leading bits and the intermediate result excluding an output of the second incrementor; and incrementing an exponent component of the operand.

  13. Claim 13Depends on #9

    The chip of claim 9, wherein the correction logic generates the incremented result by: responsive to the carryout of the first incrementor not being set and the first bit of the intermediate result not being set, generating, as a fraction component of the incremented result, the intermediate result excluding the first bit of the intermediate result.

  14. Claim 14Depends on #9

    The chip of claim 9, wherein the second subset of bits of the operand comprises a four least significant bits of the operand.

  15. Claim 15Depends on #14

    The chip of claim 14, wherein the second incrementor comprises a four-bit incrementor.

  16. Claim 16Depends on #9

    The chip of claim 9, wherein the first incrementor comprises a fifty-three-bit incrementor.

  17. Claim 17Independent Claim

    An apparatus for comprising: a processor; and memory coupled to the processor, wherein the processor comprises: a first incrementor; a second incrementor; correction logic; and a multiplexor, and wherein: the first incrementor increments a first subset of bits of an operand comprising a binary hexadecimal floating point operand; the second incrementor increments a second subset of bits of the operand; the multiplexor receives a non-incremented first subset of bits and the incremented first subset of bits and generates an intermediate result based on a carryout of the second incrementor; the correction logic generates an incremented result if a carryout of the first incrementor is set based on the carryout of the first incrementor and one or more of: a first bit of the intermediate result or the carryout of the second incrementor; and the correction logic generates the incremented result if the carryout of the first incrementor is not set based on whether the first bit of the intermediate result is set.

  18. Claim 18Depends on #17

    The apparatus of claim 17, wherein the multiplexor generates the intermediate result by: including, in the intermediate result, the non-incremented first subset of bits of the operand responsive to the carryout of the second incrementor not being set; including, in the intermediate result, the incremented first subset of bits of the operand responsive to the carryout of the second incrementor being set; and including, in the intermediate result, the incremented second subset of bits of the operand.

  19. Claim 19Depends on #17

    The apparatus of claim 17, wherein the correction logic generates the incremented result by: responsive to the carryout of the first incrementor being set and the carryout of the second incrementor being set: generating, as a fraction component of the incremented result, a first predefined portion of leading bits and the intermediate result excluding an output of the second incrementor; and incrementing an exponent component of the operand.

  20. Claim 20Depends on #17

    The apparatus of claim 17, wherein the correction logic generates the incremented result by: responsive to the carryout of the first incrementor not being set and the first bit of the intermediate result being set: generating, as a fraction component of the incremented result, a second predefined portion of leading bits and the intermediate result excluding an output of the second incrementor; and incrementing an exponent component of the operand.

Technical Overview & Description

BACKGROUND Field of the Invention The field of the invention is data processing, or, more specifically, methods, apparatus, and products for rounding hexadecimal floating point numbers using binary incrementors. Description of Related Art The development of the EDVAC computer system of 1948 is often cited as the beginning of the computer era. Since that time, computer systems have evolved into extremely complicated devices. Today's computers are much more sophisticated than early systems such as the EDVAC. Computer systems typically include a combination of hardware and software components, application programs, operating systems, processors, buses, memory, input/output devices, and so on. As advances in semiconductor processing and computer architecture push the performance of the computer higher and higher, more sophisticated computer software has evolved to take advantage of the higher performance of the hardware, resulting in computer systems today that are much more powerful than just a few years ago. Programming languages such as COBOL use hexadecimal floating point formatting to encode floating point numbers. Existing COBOL implementations lack native implementations for rounding functions other than truncation (e.g., round toward zero). In order to work around these limitations, multiple COBOL operations are used in order to work around this limitation and perform other rounding operations. The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular descriptions of exemplary embodiments of the invention as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts of exemplary embodiments of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 A shows an example placement for incrementing and rounding decisions for hexadecimal floating point numbers according to some embodiments of the present disclosure. FIG. 1 B shows an example placement for in

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (13)

PatentTitleYearCitations

Non-Patent Literature (10)

  • E. M. Schwarz, R. M. Smith and C. A. Krygowski,
  • “
  • The S/390 G5 floating point unit supporting hex and binary architectures,
  • ”
  • Proceedings 14th IEEE Symposium on Computer Arithmetic (Cat. No. 99CB36336), Adelaide, SA, Australia, 1999, pp. 258-265, doi: 10.1109/ARITH.1999.762852. (Year: 1999).
  • G. Gerwig et al.,
  • “
  • The IBM eServer z990 floating-point unit,
  • ”
  • in IBM Journal of Research and Development, vol. 48, No. 3.4, pp. 311-322, May 2004, doi: 10.1147/rd.483.0311. (Year: 2004).