10-29-2010 04:05 AM
I need to implement the natural logarithm function and I'm trying to find out if I can use any IP core before implementing it myself. From what I've understood by reading here and there on the web, it could be possible to compute a logarithm by using the Cordic algorithm... However, mathematically, the logarithm depends on the inverse sinh function, which is not implemented by Cordic 4.0. I probably might calculate somehow, but I would need to instantiate too many cores.
Am I making any mistakes or not noticing something or is it actually impossible to computer a logarithm with the Cordic core?
01-12-2011 06:56 AM
05-24-2012 06:16 AM
the logarithm depends on the inverse sinh function
You can use the atanh instead by expecting ln (x) = atanh((x-1) / (x+1))