Claims
- 1. A digital signal system for determining an approximate antilog x from a value of ƒ(x), wherein x has a base b, the system comprising:
circuitry for storing the value of ƒ(x) as a digital representation, wherein the value of ƒ(x) has an integer portion and a decimal portion; circuitry for setting a most significant digit bit position MSD of the approximate antilog x in response to the integer portion of ƒ(x), wherein adjacent the most significant digit bit position MSD is located a set of bits in respective lesser significant bit locations; a table for storing a set of predetermined logarithms having the base b, wherein each of the predetermined logarithms corresponds to a number in a set of numbers; and circuitry for determining a value for each bit in a first bit group of t bits in the set of bits in respective lesser significant bit locations in response to locating a predetermined logarithm in the table having a value relating to the value ƒ(x) minus (MSD−t).
- 2. The digital system of claim 1 wherein the circuitry for determining determines the value for each bit in the first bit group as an address of the located predetermined logarithm in the table.
- 3. The digital system of claim 1 wherein the circuitry for determining determines the value for each bit in the first bit group in response to locating a predetermined logarithm in the table having a value closest to and less than ƒ(x) minus (MSD−t).
- 4. The digital system of claim 3 wherein the circuitry for determining determines the value for each bit in the first bit group as an address of the located predetermined logarithm in the table.
- 5. The digital system of claim 4 and further comprising circuitry for determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations, wherein the second bit group consists of all lesser significant bits adjacent to the first bit group.
- 6. The digital system of claim 5:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the circuitry for determining a value for each bit in a second bit group determines the value equal to 20Δ=(f(x)-log2(Ia)-(MSD-t))2(MSD-t)log2(Ia+1)-log2(Ia).
- 7. The digital system of claim 5:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the circuitry for determining a value for each bit in a second bit group determines the value equal to (ƒ(x)−log2(Ia)−(MSD−t))2(MSD−t)[ln(2)(Ia+0.5)].
- 8. The digital system of claim 7 wherein the circuitry for storing the value of ƒ(x) comprises circuitry for storing the value of ƒ(x) as a binary representation.
- 9. The digital system of claim 8 wherein the base b equals two.
- 10. The digital system of claim 3 and further comprising circuitry for determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations, wherein the second bit group consists of all lesser significant bits adjacent to the first bit group.
- 11. The digital system of claim 10:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the circuitry for determining a value for each bit in a second bit group determines the value equal to 21Δ=(f(x)-log2(Ia)-(MSD-t))2(MSD-t)log2(Ia+1)-log2(Ia).
- 12. The digital system of claim 10:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the circuitry for determining a value for each bit in a second bit group determines the value equal to (ƒ(x)−log2(Ia)−(MSD−t))2(MSD−1)[ln(2)(Ia+0.5)].
- 13. The digital system of claim 1 wherein each number in the set of numbers consists of an integer.
- 14. The digital system of claim 1 wherein the set of numbers having predetermined logarithms stored in the table consists of 2t integers.
- 15. The digital system of claim 14 wherein the integers consist of consecutive integers from 2t to 2t+1−1.
- 16. The digital system of claim 1:and further comprising circuitry for determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations; wherein the second bit group consists of all lesser significant bits adjacent to the first bit group; wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the circuitry for determining a value for each bit in a second bit group determines the value equal to 22Δ=(f(x)-log2(Ia)-(MSD-t))2(MSD-t)log2(Ia+1)-log2(Ia).
- 17. The digital system of claim 1:and further comprising circuitry for determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations; wherein the second bit group consists of all lesser significant bits adjacent to the first bit group; wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the circuitry for determining a value for each bit in a second bit group determines the value equal to (ƒ(x)−log2(Ia)−(MSD−t))2(MSD−t)[ln(2)(Ia+0.5)].
- 18. The digital system of claim 1 and further comprising:
an input for receiving a signal; and circuitry for measuring an attribute of the signal, wherein the attribute relates at least in part to the value of ƒ(x).
- 19. The system of claim 18 wherein the signal is an audio signal.
- 20. The system of claim 18 wherein the attribute of the signal is a signal amplitude.
- 21. A method of operating a digital signal system for determining an approximate antilog x from a value of ƒ(x), wherein x has a base b, comprising the steps of:
storing the value of ƒ(x) as a digital representation, wherein the value of ƒ(x) has an integer portion and a decimal portion; setting a most significant digit bit position MSD of the approximate antilog x in response to the integer portion of ƒ(x), wherein adjacent the most significant digit bit position MSD is located a set of bits in respective lesser significant bit locations; by accessing a table that stores a set of predetermined logarithms having the base b, wherein each of the predetermined logarithms corresponds to a number in a set of numbers, the step of determining a value for each bit in a first bit group of t bits in the set of bits in respective lesser significant bit locations in response to locating a predetermined logarithm in the table having a value relating to the value ƒ(x) minus (MSD−t).
- 22. The method of claim 21 wherein the step of determining determines the value for each bit in the first bit group as an address of the located predetermined logarithm in the table.
- 23. The method of claim 21 wherein the step of determining determines the value for each bit in the first bit group in response to locating a predetermined logarithm in the table having a value closest to and less than ƒ(x) minus (MSD−t).
- 24. The method of claim 23 wherein the step of determining determines the value for each bit in the first bit group as an address of the located predetermined logarithm in the table.
- 25. The method of claim 24 and further determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations, wherein the second bit group consists of all lesser significant bits adjacent to the first bit group.
- 26. The method of claim 25:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the step of determining a value for each bit in a second bit group determines the value equal to 23Δ=(f(x)-log2(Ia)-(MSD-t))2(MSD-t)log2(Ia+1)-log2(Ia).
- 27. The method of claim 25:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the step of determining a value for each bit in a second bit group determines the value equal to (ƒ(x)−log2(Ia)−(MSD−t))2(MSD−t)[ln(2)(Ia+0.5)].
- 28. The method of claim 27 wherein the step of storing the value of ƒ(x) comprises storing the value of ƒ(x) as a binary representation.
- 29. The method of claim 28 wherein the base b equals two.
- 30. The method of claim 23 and further comprising determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations, wherein the second bit group consists of all lesser significant bits adjacent to the first bit group.
- 31. The method of claim 30:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the step of determining a value for each bit in a second bit group determines the value equal to 24Δ=(f(x)-log2(Ia)-(MSD-t))2(MSD-t)log2(Ia+1)-log2(Ia).
- 32. The method of claim 30:wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the step of determining a value for each bit in a second bit group determines the value equal to (ƒ(x)−log2(Ia)−(MSD−t))2(MSD−t)[ln(2)(Ia+0.5)].
- 33. The method of claim 21 wherein each number in the set of numbers consists of an integer.
- 34. The method of claim 21 wherein the set of numbers having predetermined logarithms stored in the table consists of 2t integers.
- 35. The method of claim 33 wherein the integers consist of consecutive integers from 2t to 2t+t−1.
- 36. The method of claim 21:and further determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations; wherein the second bit group consists of all lesser significant bits adjacent to the first bit group; wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the step of determining a value for each bit in a second bit group determines the value equal to 25Δ=(f(x)-log2(Ia)-(MSD-t))2(MSD-t)log2(Ia+1)-log2(Ia).
- 37. The method of claim 21:and further determining a value for each bit in a second bit group of the set of bits in respective lesser significant bit locations; wherein the second bit group consists of all lesser significant bits adjacent to the first bit group; wherein the located predetermined logarithm corresponds to an integer number Ia in the set of numbers; wherein the set of numbers further comprises an integer Ia+1; and wherein the step of determining a value for each bit in a second bit group determines the value equal to (ƒ(x)−log2(Ia)−(MSD−t))2(MSD−t)[ln(2)(Ia+0.5)].
CROSS-REFERENCES TO RELATED APPLICATIONS
[0001] This application is related to U.S. patent application Ser. No. ______ (docket: TI-33817), entitled “Circuits, Systems, And Methods Implementing Approximations For Logarithm, Inverse Logarithm, And Reciprocal”, and filed on the same date as the present application and having the same inventor.