DSPRelated.com
Forums

Division in q notation

Started by mayank agarwal August 8, 2010

Hi,

Please explain how division takes place in Q format.Suppose we have to do 3/5.then 0.6 multiply by 2^15 in order to obtain the result in Q notation and convert the result in to hex.
Is it that much simple.
or in another scenario how do we implement 45/8.Is it 45<<3 or somethng else is involved.
how do we compute he results in q15 notation.

Regards,
Mayank
mayank,

I don't normally use the 'Q' notation, however; the following document explains the
details.



R. Williams

---------- Original Message -----------
From: mayank agarwal
To: c...
Sent: Sun, 8 Aug 2010 18:43:52 -0700 (PDT)
Subject: [c6x] Division in q notation

>
> Hi,
>
> Please explain how division takes place in Q format.Suppose we have to
> do 3/5.then 0.6 multiply by 2^15 in order to obtain the result in Q
> notation and convert the result in to hex. Is it that much simple. or
> in another scenario how do we implement 45/8.Is it 45<<3 or somethng
> else is involved. how do we compute he results in q15 notation.
> Regards, Mayank
------- End of Original Message -------

_____________________________________