[speex-dev] fixed point macros

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Mon May 10 10:06:42 PDT 2004


Actually, you get to decide where the "decimal" (binary?) point is. For
example, if you use MULT16_16_Q14 to multiply a 8.8 number by a 4.12
number, well you end up with a 10.6 number (8+12 after the point, minus
14 for the shift). 

        Jean-Marc

Le lun 10/05/2004 à 12:47, Rib Rdb a écrit :
> Do the two types have a constant integer and fractional part (ie 8.8 
> and 16.16), or does it vary.  If it varies, is there any way to figure 
> out where the split is for a certain variable?


-- 
Jean-Marc Valin
http://www.xiph.org/~jm/
LABORIUS
Université de Sherbrooke, Québec, Canada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040510/818b9f09/signature-0001.pgp


More information about the Speex-dev mailing list