Mail Archives: djgpp/1998/07/19/17:39:12
Paul Shirley wrote:
>
> In article <Pine DOT SUN DOT 3 DOT 91 DOT 980714102032 DOT 6831H-100000 AT is>, Eli Zaretskii
> <eliz AT is DOT elta DOT co DOT il> 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
- Raw text -