Approximation of non-linear functions in fixed point using look-up tables
Abstract
Computing a non-linear function ƒ(x) in hardware or embedded systems can be complex and resource intensive. In one or more aspects of the disclosure, a method, a computer-readable medium, and an apparatus are provided for computing a non-linear function ƒ(x) accurately and efficiently in hardware using look-up tables (LUTs) and interpolation or extrapolation. The apparatus may be a processor. The processor computes a non-linear function ƒ(x) for an input variable x, where ƒ(x)=g(y(x),z(x)). The processor determines an integer n by determining a position of a most significant bit (MSB) of an input variable x. In addition, the processor determines a value for y(x) based on a first look-up table and the determined integer n. Also, the processor determines a value for z(x) based on n and the input variable x, and based on a second look-up table. Further, the processor computes ƒ(x) based on the determined values for y(x) and z(x).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (3)
- Claim 1Independent Claim
A method of computing, in a processor, a non-linear function ƒ(x) for an input variable x, where ƒ(x)=g(y(x),z(x)), the method comprising: determining an integer n by determining a position of a most significant bit (MSB) of the input variable x; determining a value for y(x) based on a first look-up table and the determined integer n; determining a value for z(x) based on n and the input variable x, and based on a second look-up table; and computing ƒ(x) based on the determined values for y(x) and z(x).
- Claim 2Depends on #1
The method of claim 1 , wherein the position of the MSB of the input variable x is the position of the MSB of a binary representation of the input variable x.
- Claim 3Depends on #2
The method of claim 2 , wherein the position of the MSB of the binary representation of the input variable x is a position of a leading 1
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
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 (7)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- International Search Report and Written Opinion—PCT/US2017/045622—ISA/EPO—dated Apr. 5, 2018.
- Muller J-M., "Elementary Functions Algorithms and Implementation, Passage", Birkhaeuser, Basel, CH, 1997, pp. 143-145, XP001152382.
- MULLER J-M: "ELEMENTARY FUNCTIONS ALGORITHMS AND IMPLEMENTATION, PASSAGE", ELEMENTARY FUNCTIONS ALGORITHMS AND IMPLEMENTATION, BIRKHAEUSER, BASEL, CH, 1 January 1997 (1997-01-01), CH, pages I + 143 - 145, XP001152382
- Schulte M.J., et al., "Hardware Design for Exactly Rounded Elementary Functions", IEEE Transactions On Computers, vol. 43, No. 8, Aug. 1994 (Aug. 1994), pp. 964-973. XP000457356, ISSN: 0018-9340. DOI: 10.1109/12.295858.
- SCHULTE M.J., SWARTZLANDER E.E.: "HARDWARE DESIGN FOR EXACTLY ROUDNED ELEMENTARY FUCNTIONS.", IEEE TRANSACTIONS ON COMPUTERS, IEEE, USA, vol. 43., no. 08., 1 August 1994 (1994-08-01), USA, pages 964 - 973., XP000457356, ISSN: 0018-9340, DOI: 10.1109/12.295858