When Diku was originally developed memory and CPU were very hard pressed. So I beleive everything that could be done wsa done to make the code as efficient as possible.
This is why I would guess.. Since, I've used floats many times :) Jason > -----Original Message----- > From: Michael Barton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 14, 2004 9:25 PM > To: Eljon Curry; [email protected] > Subject: Re: Question on Calucations of percentages > > Ever notice there are no floating-point operations whatsoever > in stock ROM? > Is there some hardware floating around without any FPU that > they were worried about supporting? Or was it just a speed issue? > > ----- Original Message ----- > From: "Eljon Curry" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, January 14, 2004 6:14 PM > Subject: RE: Question on Calucations of percentages > > > > Ehhh... > > > > 0.20 X 670 Since 20% is .2 of the number. > > > > Arkham > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Cyhawk > > Sent: Wednesday, January 14, 2004 7:00 PM > > To: [email protected] > > Subject: Question on Calucations of percentages > > > > > > Ok ive looked all over for this in man files, cprogramming sites, > > everywhere.. > > How do i figure out the precentage of a number. > > > > like 20% of 670 > > > > As always any help is appreciated =) > > > > -Thri > > > > > > (My only other option is writing a switch statement, which > im almost sure > > is unnessecary ;) > > > > > > -- > > ROM mailing list > > [email protected] > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > > > > > > -- > > ROM mailing list > > [email protected] > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom >

