|
From: | Colin O'Flynn |
Subject: | Re: [avr-libc-dev] Re: [avr-gcc-list] Poll: Who uses itoa() & cowith base != {2, 8, 10, 16}? |
Date: | Mon, 21 Nov 2005 23:13:25 -0400 |
User-agent: | KMail/1.8.2 |
Hey, >if the base value is not a compile-time constant I'd imagine in most situations the value would be a constant. And IMHO it fails more "gracefully" - you end up with a situations where the end result is more code usage. In the other case you end up with a broken function if the user does not realize they need to specify the full version. Imagine if you were using non-standard bases and assumed that the itoa function was working and you're trying to debug your system... Warm Regards, -Colin
[Prev in Thread] | Current Thread | [Next in Thread] |