# US 2015/0149522 A1 · Fast normalization in a mixed precision floating-point unit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149522 A1
- Document ID: US20150149522A1
- Status: Published application
- Kind: A1
- Application number: 14/151,006
- Filed: 2014-01-09
- Published: 2015-05-28
- Earliest claimed: 2013-11-26
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Maarten J. Boersma; Thomas Fuchs; Markus Kaltenbach; David Lang
- Web page: https://patentgrep.com/patent/US20150149522A1

## CPC

- G06F 7/483: Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers {(G06F7/4806, G06F7/4824, G06F7/49, G06F7/491, G06F7/544 take precedence)}
- G06F 5/01: for shifting, e.g. justifying, scaling, normalising {(digital stores in which the information is moved stepwise, e.g. shift-registers G11C19/00; digital stores in which the information circulates G11C21/00)}
- G06F 5/012: {in floating-point computations}
- G06F 7/49936: {Normalisation mentioned as feature only}
- G06F 7/4991: {Overflow or underflow}
- G06F 7/49947: {Rounding}
- G06F 2207/3808: concerning the type of numbers or the way they are handled
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A hardware circuit for returning single precision denormal results to double precision. A hardware circuit component configured to count leading zeros of an unrounded single precision denormal result. A hardware circuit component configured to pre-compute a first exponent and a second exponent for the unrounded single precision denormal result. A hardware circuit component configured to perform a second normalization of the rounded single precision denormal result back to architected format.

## Claims

### Claim 1

A method for returning scalar single precision denormal results to double precision normal results in architected format, the method comprising:
counting leading zeros of an unrounded single precision denormal result;
pre-computing a first exponent and a second exponent for the unrounded single precision denormal result; and
performing a second normalization of the rounded single precision denormal result back to architected format.

### Claim 2 (depends on 1)

The method of claim 1, wherein counting leading zeros of an unrounded single precision denormal result, further comprises counting leading zeros in parallel to fraction rounding of the unrounded single precision denormal result.

### Claim 3 (depends on 1)

The method of claim 1, wherein pre-computing the first exponent and the second exponent for the unrounded single precision denormal result, further comprises pre-computing the first exponent as the minimum exponent threshold of the single precision denormal result minus the number of leading zeros of the unrounded single precision denormal result.

### Claim 4 (depends on 1)

The method of claim 1, wherein pre-computing the first exponent and the second exponent for the unrounded single precision denormal result, further comprises pre-computing the second exponent as the minimum exponent threshold of the single precision denormal result minus the number of leading zeros of the unrounded single precision denormal result plus one.

### Claim 5 (depends on 1)

The method of claim 1, wherein performing the second normalization of the rounded single precision denormal result back to architected format, further comprises selecting the first exponent for a final fraction result based, at least in part, on a determination that the number of leading zeros has changed as a result of fraction rounding.

### Claim 6 (depends on 1)

The method of claim 1, wherein performing the second normalization of the rounded single precision denormal result back to architected format, further comprises selecting the second exponent for a final fraction result based, at least in part, on a determination that the number of leading zeros has not changed as a result of fraction rounding.

### Claim 7 (depends on 5)

The method of claim 5, wherein selecting the first exponent, further comprises determining whether the number of leading zeros of the unrounded single precision denormal result does not equal the number of leading zeros of the rounded single precision denormal result.

### Claim 8 (depends on 6)

The method of claim 6, wherein selecting the second exponent, further comprises determining whether the number of leading zeros of the unrounded single precision denormal result equals the number of leading zeros of the rounded single precision denormal result.

### Claim 9 (depends on 1)

The method of claim 1, wherein performing the second normalization of the rounded single precision denormal result back to architected format, further comprises normalizing the selected exponent in parallel to faction normalization.
