SharkD <nomail@nomail> wrote:
> #local increment = 1/radii;
That's not an integer.
> #local i = i + increment;
And thus your loop counter isn't either.
> If "increment" is indeed stored as a float, shouldn't "6 * increment" evaluate
> to the same number as "increment + increment + increment + increment +
> increment + increment"?
No. We are talking about floating point numbers with limited number of bits.
That kind of thing is *not* guaranteed at all.
--
- Warp
Post a reply to this message
|