/* @val: The 16-bit value to divide by two Return: The approximate division of val by two  */
static u16 div2_u16(u16 val)
/* @val: The 16-bit value to divide by two Return: The approximate division of val by two  */
static u16 div2_u16(u16 val)
{
	return (32767 * val) / 65535;
}