Decimal floating-point instruction in a round-for-reround mode

US12223290B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12223290-B2
Application numberUS-202318338901-A
CountryUS
Kind codeB2
Filing dateJun 21, 2023
Priority dateMar 1, 2007
Publication dateFeb 11, 2025
Grant dateFeb 11, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A decimal floating-point instruction is executed in a round-for-reround mode. The decimal floating-point instruction is configured to perform a decimal floating-point operation on a decimal floating-point operand. The executing includes forming based on performing the decimal floating-point operation, an intermediate result having a high order portion and a low order portion. The high order portion has a least significant digit. A rounded-for-reround number is created from the intermediate result. The rounded-for-reround number includes the high order portion of the intermediate result and based on the least significant coefficient digit of the high order portion being a selected value and based on the low order portion having another selected value, the least significant digit of the rounded-for-reround number is incremented. The rounded-for-reround number is stored.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method of facilitating processing within a computing environment, the computer-implemented method comprising: executing, by a computer processor of the computing environment, a decimal floating-point instruction in a round-for-reround mode, wherein the computer processor is part of a machine that includes one or more floating point registers and wherein the decimal floating-point instruction is configured to perform a decimal floating-point operation on a decimal floating-point operand, the executing the decimal floating-point instruction comprising: forming, by the computer processor, based on performing the decimal floating-point operation, an intermediate result having a high order portion and a low order portion, the high order portion having a least significant digit; creating from the intermediate result a rounded-for-reround number, the rounded-for-reround number comprising the high order portion of the intermediate result, and wherein based on the least significant digit of the high order portion being a selected value and based on the low order portion having another selected value, incrementing the least significant digit of the rounded-for-reround number; and storing in a selected location, by the computer processor, the rounded-for-reround number. 2. The computer-implemented method of claim 1 , wherein based on the rounded-for-reround number having a predefined least significant digit, the rounded-for-reround number is exact. 3. The computer-implemented method of claim 2 , wherein based on the rounded-for-reround number having the predefined least significant digit, the rounded-for-reround number is exact and the low order portion is a certain value. 4. The computer-implemented method of claim 3 , wherein the certain value is zero. 5. The computer-implemented method of claim 1 , wherein the selected value is zero. 6. The computer-implemented method of claim 1 , wherein the selected value is five. 7. The computer-implemented method of claim 1 , wherein the another selected value is a value other than zero. 8. The computer-implemented method of claim 1 , wherein the rounded-for-reround number is a decimal floating-point number. 9. The computer-implemented method of claim 1 , further comprising: executing a decimal floating-point reround instruction, the executing the decimal floating-point reround instruction comprising: rounding the rounded-for-reround number to produce a rounded result; and storing the rounded result as a result of executing the decimal floating-point reround instruction. 10. The computer-implemented method of claim 9 , wherein the intermediate result has a number of decimal coefficient digits of precision, and wherein the rounded result represents a decimal floating-point number having at least one fewer decimal coefficient digits of precision than the number of decimal coefficient digits of precision of the intermediate result. 11. The computer-implemented method of claim 1 , wherein the decimal floating-point operand is fetched by an execution unit of the computer processor. 12. The computer-implemented method of claim 1 , further comprising fetching the decimal floating-point instruction in the machine, the machine implementing a plurality of floating-point registers. 13. The computer-implemented method of claim 1 , further comprising: executing another instance of the decimal floating-point instruction in the round-for-reround mode, wherein the another instance of the decimal floating-point instruction is configured to perform another decimal floating-point operation on another decimal floating-point operand, the executing the another instance of the decimal floating-point instruction comprising: forming another intermediate result having another high order portion and another low order portion, the another high order portion having another least significant digit; creating from the another intermediate result another rounded-for-reround number, the creating the another rounded-for-reround number comprising based on the another low order portion being a particular value, leaving the another least significant digit of the another intermediate result unchanged; and storing the another rounded-for-reround number. 14. The computer-implemented method of claim 13 , wherein the particular value is zero. 15. A computer system for facilitating processing within a computing environment, the computer system comprising: a memory; and one or more computer processors in communication with the memory, the one or more computer processors being part of a machine that includes one or more floating point registers, and wherein the computer system is configured to perform a method, said method comprising: executing a decimal floating-point instruction in a round-for-reround mode, wherein the decimal floating-point instruction is configured to perform a decimal floating-point operation on a decimal floating-point operand, the executing the decimal floating-point instruction comprising: forming based on performing the decimal floating-point operation, an intermediate result having a high order portion and a low order portion, the high order portion having a least significant digit; creating from the intermediate result a rounded-for-reround number, the rounded-for-reround number comprising the high order portion of the intermediate result, and wherein based on the least significant digit of the high order portion being a selected value and based on the low order portion having another selected value, incrementing the least significant digit of the rounded-for-reround number; and storing in a selected location the rounded-for-reround number. 16. The computer system of claim 15 , wherein based on the rounded-for-reround number having a predefined least significant digit, the rounded-for-reround number is exact. 17. The computer system of claim 16 , wherein based on the rounded-for-reround number having the predefined least significant digit, the rounded-for-reround number is exact and the low order portion is a certain value. 18. The computer system of claim 15 , wherein the method further comprises: executing a decimal floating-point reround instruction, the executing the decimal floating-point reround instruction comprising: rounding the rounded-for-reround number to produce a rounded result; and storing the rounded result as a result of executing the decimal floating-point reround instruction. 19. The computer system of claim 18 , wherein the intermediate result has a number of decimal coefficient digits of precision, and wherein the rounded result represents a decimal floating-point number having at least one fewer decimal coefficient digits of precision than the number of decimal coefficient digits of precision of the intermediate result. 20. A computer program product for facilitating processing within a computing environment, said computer program product comprising: one or more computer readable storage media and program instructions collectively stored on the one or more computer readable storage media readable by at least one processing circuit to: execute, by a computer processor, a decimal floating-point instruction in a round-for-reround mode, wherein the computer processor is part of a machine that includes one or more floating point registers and the decimal floating-point instruction is configured to perform a decimal floating-point operation on a decimal floating-point operand, and wherein execution of the decimal floating-

Assignees

Inventors

Classifications

  • Rounding away from zero · CPC title

  • Rounding towards zero (G06F7/49957 takes precedence) · CPC title

  • Rounding towards negative infinity, e.g. truncation of two's complement numbers (G06F7/49957 takes precedence) · CPC title

  • Rounding to nearest (G06F7/49957 takes precedence) · CPC title

  • Rounding · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12223290B2 cover?
A decimal floating-point instruction is executed in a round-for-reround mode. The decimal floating-point instruction is configured to perform a decimal floating-point operation on a decimal floating-point operand. The executing includes forming based on performing the decimal floating-point operation, an intermediate result having a high order portion and a low order portion. The high order por…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F7/491. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 11 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).