[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Poll: Who uses itoa() & co with base != {2, 8, 10, 16

From: Christopher X. Candreva
Subject: Re: [avr-gcc-list] Poll: Who uses itoa() & co with base != {2, 8, 10, 16}?
Date: Fri, 18 Nov 2005 15:44:23 -0500 (EST)

On Fri, 18 Nov 2005, Joerg Wunsch wrote:

> The only drawback of that approach is that its use will restrict the
> posible base of these functions to either 2, 8, 10, or 16.

> I tend to see this as benign, as I cannot imagine why anyone would
> want to print out numbers base 7 or base 13, so I'm inclined to
> replace the existing itoa() family by Dmitry's submission.  When doing
> so, I'll probably rename the existing implementations to itoa_full()
> etc. to preserve them in case anyone really needs that functionality.

I would agree, the savings are worth the trade off in this case.

Chris Candreva  -- address@hidden -- (914) 967-7816
WestNet Internet Services of Westchester

reply via email to

[Prev in Thread] Current Thread [Next in Thread]