glob2-devel
[Top][All Lists]
Advanced

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

Re: [glob2-devel] Nicowar desync


From: Bradley Arsenault
Subject: Re: [glob2-devel] Nicowar desync
Date: Wed, 18 Jan 2006 18:11:58 -0800

On 1/17/06, Nuage <address@hidden> wrote:
> > I'm not sure what a "shifted int" is, could you explain it to me?
>
> For instance you use a Uint32 and say the highest 16 bits is the actual 
> integer
> value, and the 16 lower bits are the fixed decimal values.
>
> withFloat(a, b)
> {
>  float sum = 0;
>  sum += (a / b);
> }
>
> withFixed(a, b)
> {
>  Uint32 sum = 0;
>  sum += ((a << 16) / b);
> }
>
>
> _______________________________________________
> glob2-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/glob2-devel
>

I have never heard of the term before, and no one else recognizes it,
and I certainly don't know any fixed point decimal algorithms. Is it
possible that I could import part of Boost.Rational into the cvs
itself?




reply via email to

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