5.3.80 _Q31atoi Function

This function takes a string which holds the ASCII representation of decimal digits and converts it into a single Q31 number.

Note: The decimal digit should not be beyond the range: -2147483648 to 2147483647.

Include

<libq.h>

Prototype

_Q31 _Q31atoi(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 Q31 format, which range is from -2147483648 to 2147483647.