Re: [Dev-C++] Re: Dev-cpp-users digest, Vol 1 #2274 - 11 msgs
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-12-30 23:08:32
|
Yes, of course your solution is the "ultimate" way of writing it. The important thing about the two ways of using division is to point out problems with truncation errors where multiple integer divisions are used. /Per W On Thu, 30 Dec 2004, Reuven R. wrote: > (ticks2/CLOCKS_PER_SEC-ticks1/CLOCKS_PER_SEC)<1) > became > (((ticks2-ticks1)/CLOCKS_PER_SEC)<1) > so why not go a bit further and... > ((ticks2-ticks1)<CLOCKS_PER_SEC) > ?;) > > ===== > http://www.mia.org.il/petition/index1.html > http://hungersite.com > > in case, ur wondering, about the first link - > http://www.terror-victims.israel.net/mainh.swf > > and who'd thought that we'll need http://www.petitiononline.com/rjw23/ ,eh? > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |