All Questions
Tagged with fixed-point math
4 questions
5
votes
0
answers
110
views
Efficient computation of 2^x (antilog2) for fixed-point
I've created a log2 AGC for an FPGA project, similar to Dan Boschen's solution in this question. I implemented a hardware version of log2 based on Dan's linked page in the previous question - ...
1
vote
0
answers
95
views
Problem with natural logarithmic function in fixed point notation
I am facing a problem with natural logarithmic function in fixed-point notation.
Let's say
$$x = 0.54, \qquad\text{then}\qquad \ln(x) = -0.616186, \qquad\text{a negative number} \tag{1}$$
Then in ...
10
votes
4
answers
4k
views
Books/resources for implementing various mathematical functions in fixed point arithmetic for DSP purposes
I'm looking for books or resources that cover the following in detail:
implementing mathematical functions (e.g., logarithm, exponential, sine, cosine, inverse) in fixed point arithmetic for DSP ...
9
votes
2
answers
683
views
Derivation of fixed-point $\tt atan2$ with self-normalization
I'm trying to understand the maths behind this Fast fixed-point $\tt atan2$ calculation with self-normalization. In particular, equation $(2)$ for theta1 appears to ...