> 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
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to