_Q16mpy Function

This function returns the product of its arguments.

Include

<libq.h>

Prototype

_Q16 _Q16mpy(_Q16 a,_Q16 b);

Arguments

a a fixed-point number in Q16 format. The value of this argument ranges from 0 to 2147483647.
b a fixed-point number in Q16 format. The value of this argument ranges from 0 to 2147483647.

Return Value

This function returns the product of its arguments. The value ranges from 0 to 2147483647.