On Sat, 19 Nov 2005 19:20, Russell Shaw wrote:
> > I'd rather use something like
> >
> > #define _USE_FULL_ITOA
> > #include <stdlib.h>
> >
> > ... itoa(x, s, 13);
>
> That won't save any library space tho. If the reduced version is faster
> and saves a lot of space, then it could be worthwhile having a compile-time
> option.

It will if it's implemented correctly, eg in stdlib.h

#ifdef _USE_FULL_ITOA
#define itoa _itoa_full
#else
#define itoa _itoa_small
#endif

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgp3xB5SQCU3x.pgp
Description: PGP signature

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to