POV-Ray : Newsgroups : povray.general : Status of Moray? : Re: New SDL for POVRay Server Time
13 Jul 2025 18:58:34 EDT (-0400)
  Re: New SDL for POVRay  
From: Alain
Date: 19 Sep 2007 17:46:41
Message: <46f198c1$1@news.povray.org>
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 to the 
arithmetic coprocessor that is integrated in all processors since the advent of 
the Pentium. In fact, the oposite is almost always thrue for any multiplication, 
division and modulo. It was even the case for the 286, 386 and 486 whenever you 
also had an arithmetic coprocessor installed on your machine.

-- 
Alain
-------------------------------------------------
Don't cry because it is over, smile because it happened.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.