seeker_123
Member level 2
- Joined
- Apr 8, 2013
- Messages
- 53
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Location
- Bangalore
- Activity points
- 1,731
Hi
I want to implement floating point logarithmic unit
It is for double precision.
I have gone through following discussion on this forum.
https://www.edaboard.com/threads/270927/
https://www.edaboard.com/threads/267242/
so i think we can go for either LUT based or some taylor series method. or any other method..?
log(num) = exp * log(2) + log(man)
in above equation i think main issue is to calculate log(man) term.
in LUT based method as we can not go for larger size LUT we can have accuracy of 8 to 10 bits precision
same in taylor series expansion method we can go for 5 to 6 terms of expansion then result will be accurate upto 8 to 10 bits
means results are precise upto 8 to 10 bits of mantissa
am i right ..?
is it fine for double precision results ..?
if you have any suggestion please give.
thank you
I want to implement floating point logarithmic unit
It is for double precision.
I have gone through following discussion on this forum.
https://www.edaboard.com/threads/270927/
https://www.edaboard.com/threads/267242/
so i think we can go for either LUT based or some taylor series method. or any other method..?
log(num) = exp * log(2) + log(man)
in above equation i think main issue is to calculate log(man) term.
in LUT based method as we can not go for larger size LUT we can have accuracy of 8 to 10 bits precision
same in taylor series expansion method we can go for 5 to 6 terms of expansion then result will be accurate upto 8 to 10 bits
means results are precise upto 8 to 10 bits of mantissa
am i right ..?
is it fine for double precision results ..?
if you have any suggestion please give.
thank you
Last edited: