Technique for approximating functions based on lagrange polynomials
Abstract
A technique for approximating output values of a function based on LaGrange polynomials is provided. Factorization of a LaGrange polynomial results in a simplified representation of the LaGrange polynomial. With this simplified representation, an output value of a function may be determined based on an input value that includes an input mantissa and an input exponent. Based on a first portion of the input mantissa, a point value and at least one slope value are provided. Each of the at least one slope value is based on a LaGrange polynomial approximation of the function. Thereafter, the point value and the at least one slope value are combined with a second portion of the input mantissa to provide an output mantissa. Based on this technique, a single set of relatively simple hardware elements may be used to implement a variety of functions with high precision.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 24.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a graphics processing circuit, a method for calculating an output value of a function based on an input value, wherein the input value comprises an input mantissa and an input exponent, the input mantissa further comprising a first portion and a second portion, and wherein the output value comprises an output mantissa and an output exponent, the method comprising: converting the input value such that the input mantissa is within a predefined range; providing a point value stored in memory based on the first portion of the input mantissa; providing at least one slope value stored in memory b
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗