|
![](/i/fill.gif) |
In article <39abdd2e@news.povray.org> , Warp <war### [at] tag povray org> wrote:
> It's not the only benefit. The other benefit would be precision. If you
> use very large integers, floats may lose information.
Just like integer precision decreases the smaller the numbers get. Try 3/2
for example ;-)
You should also consider that POV-Ray uses floats/doubles for nearly every
internal calculation, so the use of integers does not make sense for a lot
of things. Only as counters and array indices they would be really useful,
but within the common ranges (those that don't blow the memory limits) of
for example +-1000000 the precision limit of doubles should be far (enough)
behind the comma even after several calculations with it.
Thorsten
Post a reply to this message
|
![](/i/fill.gif) |