On Wed, Dec 05, 2001 at 05:53:39PM +1000, Allan Rae wrote: > So how many decimal places do you want to be able to represent by the > int? You need to choose how many bits there should be before and > after the decimal point in order to determine what fixed-point we > will use.
One after the point should be ok, two are most certainly sufficient for all cases. Which would give a range of 0.0001 ... 400000 for 32bit numbers. No need to worry at both ends. Andre' -- André Pönitz .............................................. [EMAIL PROTECTED]