X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Wed, 28 Feb 2007 19:15:24 -0500 Message-Id: <200703010015.l210FOi6004906@envy.delorie.com> From: DJ Delorie To: djgpp-workers AT delorie DOT com In-reply-to: (Gordon DOT Schumacher AT seagate DOT com) Subject: Re: Final version of gettimeofday() patch References: Reply-To: djgpp-workers AT delorie DOT com > + double secs; We need to avoid floating point in libc, whenever possible. Could this be done with suitably scaled integer math? CLOCKS_PER_SEC is scaled by five to make it an integer.