5.3.51 _Q16log10 Function
This function finds the log (base 10) of a Q16 value.
Include
<libq.h>
Prototype
_Q16 _Q16log10(_Q16 x);
Argument
x |
a fixed-point number in Q16 format. The value of this argument ranges from 1 to 2147483647. |
Return Value
This function returns the log of x
in Q16 format. The value
ranges from -315653 to 295925.