5.3.11 _Q15atoi Function
This function takes a string which holds the ASCII representation of decimal digits and converts it into a single Q15 number.
Note: The decimal digit should not be beyond the range: -32768 to 32767.
Include
<libq.h>
Prototype
_Q15 _Q15atoi(const char *s);
Argument
s |
a buffer holding the ASCII values of each decimal digit. |
Return Value
This function returns the integer equivalent of s
in Q15
format, which range is from -32768 to 32767.