Method and apparatus for providing a base-2 logarithm approximation to a binary number
AssigneeLockheed Martin Corporation
InventorJ. Andrew Johnson
Life of this patent
Estimating the term…
Loading patent…
AssigneeLockheed Martin Corporation
InventorJ. Andrew Johnson
Estimating the term…
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.
An apparatus for approximating a base-2 logarithm of a binary number, said apparatus comprising:
An apparatus for approximating a base-2 logarithm of a binary number, said apparatus comprising:
A recordable type signal bearing media having a computer program product for approximating a base-2 logarithm of a binary number comprising:
Dependencies are inferred from the claim text.