Sender: nate AT cartsys DOT com Message-ID: <35B246DF.6B08164@cartsys.com> Date: Sun, 19 Jul 1998 12:19:59 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Paul Shirley CC: djgpp AT delorie DOT com Subject: Re: Use of FLT_EPSILON References: <6odqk1$p23$1 AT nnrp1 DOT dejanews DOT com> <2kS7KGAWILr1EwAu AT foobar DOT co DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Paul Shirley wrote: > > In article , Eli Zaretskii > writes > >Also, I think you are mistaken in your perception of ugliness: by far > >the most inefficient part of the above computation is the call to > >`fabs' library function, all the rest is usually very fast on modern > >machines. > > Does djgpp actually generate a function call? mingw32 inlines it. You're right. `fabs' is a builtin function for GCC, so it will be inlined unless you use `-fno-builtins'. In fact, it can even be computed at compile time, if possible. -- Nate Eldredge nate AT cartsys DOT com