delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/17/21:12:23

Date: Sat, 17 May 1997 18:07:03 -0700 (PDT)
From: KaRNaGE <dlydiard AT linknet DOT kitsap DOT lib DOT wa DOT us>
To: Dj Delorie <djgpp AT delorie DOT com>
Subject: float & ints & triangle3d_f
Message-ID: <Pine.GSO.3.96.970517180056.23053B-100000@linknet.kitsap.lib.wa.us>
MIME-Version: 1.0

i searched the back mail, and from what i read, floats are faster then
ints, on a pentuim?....before i convert all my code to floating point,
i was wondering a few things:

Are floats still faster then ints on a pentuim pro?
Is comparing floats slower then comparing ints? i.e. if (a < b)
will type casting floats to ints slow my code down?..
and is triangle3d_f (allegro) faster then the fixed point version on a
pentuim (i'm assuming it is)?

i tried looking with the mail search engine, but i couldn't find any
straight answers............thankz...


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019