|
 |
In article <46f198c1$1@news.povray.org>, ele### [at] netscape net
says...
> Ger nous apporta ses lumieres en ce 2007/09/19 13:16:
> > Zeger Knaepen wrote:
> >
> > If vars are defined as float then why the need to define them as such?
On
> > the other hand, integers are much faster so why not use both?
> >
> Integer operations are not faster than floating point ones, this is due t
o the
> arithmetic coprocessor that is integrated in all processors since the adv
ent of
> the Pentium. In fact, the oposite is almost always thrue for any multipli
cation,
> division and modulo. It was even the case for the 286, 386 and 486 whenev
er you
> also had an arithmetic coprocessor installed on your machine.
>
Tell that to the people that wrote Franctint (on a 486, Pentium or
anything else). lol But seriously, even if they where marginally faster
at one point, for specific situations, this isn't necessarily true now,
nor applicable to what **this** program is doing. The results even in
Fractint differed in some cases, depending on if you used the faster
integers or floating point. One of the points of having POVRay behave as
it does is "predictability" in what you get from it.
--
void main () {
call functional_code()
else
call crash_windows();
}
<A HREF='http://www.daz3d.com/index.php?refid=16130551'>Get 3D Models,
3D Content, and 3D Software at DAZ3D!</A>
Post a reply to this message
|
 |