# US 2020/0394019 A1 · Transcendental function evaluation

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

- Number: US 2020/0394019 A1
- Document ID: US20200394019A1
- Status: Published application
- Kind: A1
- Application number: 16/934,539
- Filed: 2020-07-21
- Published: 2020-12-17
- Earliest claimed: 2018-06-05
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Prasanth Viswanathan Pillai; Richard Mark Poley; Venkatesh Natarajan; Alexander Tessarolo
- Web page: https://patentgrep.com/patent/US20200394019A1

## CPC

- G06F 7/544: for evaluating functions by calculation {(G06F7/4824 takes precedence)}
- G06F 7/548: Trigonometric functions; Co-ordinate transformations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In described examples, an apparatus is arranged to generate a linear term, a quadratic term, and a constant term of a transcendental function with, respectively, a first circuit, a second circuit, and a third circuit in response to least significant bits of an input operand and in response to, respectively, a first, a second, and a third table value that is retrieved in response to, respectively, a first, a second, and a third index generated in response to most significant bits of the input operand. The third circuit is further arranged to generate a mantissa of an output operand in response to a sum of the linear term, the quadratic term, and the constant term.

## Claims

### Claim 1

An apparatus, comprising:
an input configured to receive an input operand having a mantissa, wherein the mantissa includes a set of most significant bits (MSBs) and a set of least significant bits (LSBs);
a first circuit configured to:
retrieve a first table value from a first table based on a first index based on the set of MSBs; and
generate a linear term based on the set of LSBs and the first table value;
a second circuit configured to:
retrieve a second table value from a second table based on a second index based on the set of MSBs; and
generate a quadratic term based on the set of LSBs and the second table value; and
a third circuit configured to:
retrieve a third table value from a third table based on a third index based on the set of MSBs;
generate a constant term based on the set of LSBs and the third table value; and
provide an output operand based on the linear term, the quadratic term, and the constant term.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein:
the third circuit is further configured to generate a sum of the linear term, the quadratic term, and the constant term; and
the output operand is based on the sum.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein:
the first table, the second table and the third table comprise a unified table.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein:
the input operand includes an exponent.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein:
the first index is further based on the exponent;
the second index is further based on the exponent; and
the third index is further based on the exponent.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein:
the output operand includes a mantissa.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein:
the first circuit and the second circuit are configured to operate in parallel during a first time interval; and
the third circuit is configured to operate during a second time interval.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein:
the third circuit is configured to generate the output operand as an exponential function.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein:
the first, second, and third tables include sequences of non-equally spaced segments of values.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein:
the first, second, and third table values are associated with endpoints of each of the non-equally spaced segments of the first, second, and third tables.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein:
spacing between segments is determined based on a least mean-square analysis of a regression of interval spacing and table lengths.

### Claim 12

A system, comprising:
a memory configured to receive and store an input operand having a mantissa that includes a set of most significant bits (MSBs) and a set of least significant bits (LSBs); and
an execution unit configured to generate as an approximation of a transcendental function based on the input operand stored and retrieved from the memory, comprising:
a first circuit configured to:
retrieve a first table value from a first table based on a first index based on the set of MSBs; and
generate a linear term based on the set of LSBs and the first table value;
a second circuit configured to:
retrieve a second table value from a second table based on a second index based on the set of MSBs; and
generate a quadratic term based on the set of LSBs and the second table value; and
a third circuit configured to:
retrieve a third table value from a third table based on a third index based on the set of MSBs;
generate a constant term based on the set of LSBs and the third table value;
generate a sum of the linear term, the quadratic term, and the constant term; and
provide an output operand based on the sum.

### Claim 13 (depends on 12)

The system of claim 12, wherein:
the input operand includes an exponent.

### Claim 14 (depends on 13)

The system of claim 13, wherein:
the first index is further based on the exponent;
the second index is further based on the exponent; and
the third index is further based on the exponent.

### Claim 15 (depends on 12)

The system of claim 12, wherein:
the third circuit is configured to generate the output operand as an exponential function; and
the first, second, and third tables include sequences of non-equally spaced segments of values.

### Claim 16

A method, comprising:
receiving, by an execution unit, an input operand that includes a mantissa, wherein the mantissa includes a set of most significant bits (MSBs) and a set of least significant bits (LSBs);
retrieving, by the execution unit, a first table value from a first table based on a first index based on the set of MSBs;
generating, by the execution unit, a linear term based on the set of LSBs and the first table value;
retrieving, by the execution unit, a second table value from a second table based on a second index based on the set of MSBs;
generating, by the execution unit, a quadratic term based on the set of LSBs and the second table value;
retrieving, by the execution unit, a third table value from a third table based on a third index based on the set of MSBs;
generating, by the execution unit, a constant term based on the set of LSBs and the third table value; and
outputting, by the execution unit, an output operand based on the linear, quadratic, and constant terms.

### Claim 17 (depends on 16)

The method of claim 16, wherein:
the first table, the second table, and the third tables include slices having constant spacing between slices.

### Claim 18 (depends on 16)

The method of claim 16, wherein:
the first table, the second table, and the third tables include slices having variable spacing between slices.

### Claim 19 (depends on 16)

The method of claim 16, wherein:
the first table, the second table, and the third table comprise a unified table.

### Claim 20 (depends on 16)

The method of claim 16, wherein:
the output operand is further based on a summation, by the execution unit, of the linear term, the quadratic term, and the constant term.
