5.3.19 _Q15log10 Function
This function finds the log (base 10) of a Q15 value.
Include
<libq.h>
Prototype
_Q15 _Q15log10(_Q15 x);
Argument
x |
a fixed-point number in Q15 format, which ranges from -215 to 215-1. The value of this argument ranges from 3277 to 32767. |
Return Value
This function returns the log of x
in Q15 format. The value
ranges from -32768 to 0.