_Q16div Function

This function returns the quotient of its arguments.

Include

<libq.h>

Prototype

_Q16 _Q16div(_Q16 dividend, _Q16 divisor);

Arguments

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

Return Value

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