Re: Mana Energy
by
root at 2007-02-14 21:14:06
It looks to me like the typical error incurred by floating point arithmetic. The numbers are entered and displayed in decimal form but are represented internally in a binary form of limited length. Fractions that terminate in decimal form don't necessarily also terminate in binary form. For example, 0.2 in binary is written as 0.00110011... As a result you tend to get an accumulation of tiny errors when dealing with values smaller than 1.
The issue can be skirted by picking a fixed limit to the precision of the numbers and rounding everything off to that precision. But the rules don't specify a precision limit for ME or for the amount that can be spent on Dispel, so Jeff would have to impose one by fiat to do that. The errors are small enough that they're probably not worth worrying about.
Replies