Method and apparatus for providing a base-2 logarithm approximation to a binary number
Abstract
An apparatus for providing a base-2 logarithm approximation to a binary number is disclosed. A position k of the most significant bit within a binary number is located. Then, all bits that are less significant than position k within the binary number are assigned as a fractional portion of a base-2 logarithm approximation of the binary number. Next, a subset of the fractional portion is utilized to generate an adjustment value β m for the fractional portion. The numeric value k is then converted to a binary value representing an integer portion of the base-2 logarithm approximation of the binary number. Finally, the integer portion is added to the fractional portion along with the adjustment value β m for the fractional portion to form the base-2 logarithm approximation of the binary number.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for approximating a base-2 logarithm of a binary number, said apparatus comprising: a primary encoder for determining a position k within said binary number at which a “1” is first occurred; a shift register for assigning all bits to the right of said position k within said binary number as a fractional portion of a base-2 logarithm approximation of said binary number; a lookup table for utilizing a subset of said fractional portion to generate an adjustment value βm for said fractional portion; wherein said lookup table further includes means for utilizing said subset of said fra
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗