freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] FT_MulFix


From: Tom Kacvinsky
Subject: Re: [Devel] FT_MulFix
Date: Wed, 23 May 2001 11:13:32 -0400 (EDT)

5.2 in 16.16 fixed format is really 65536 * 5.2 = 0x00053333, and 2.2 in fixed 
format
is 0x00023333.  The return values should be 0x000B70A3 (or close to it).

Tom

On Wed, 23 May 2001, Mike Owens wrote:

> Please excuse my ignorance on this but I can't seem to figure it out. Math
> wasn't my best subject. I'm trying to mulitply 2 numbers 5.2 x 2.2.  Is the
> 16.16 format like
>
> FT_MulFix( 0x52000, 0x22000 ) ?
>
> This returns a value of 0xAE400.
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]