itoa'd you so?

Levi Pearson levi at cold.org
Fri Sep 21 16:21:56 MDT 2007


Steve <smorrey at gmail.com> writes:
> So does this presnet a real world bug, or would the user just perform
> some bounds checking prior to handing it off to the function?

Well, you could specify that your function isn't required to work on
the smallest int value representable in your int, but that makes the
function less general.  Presumably, if you want to translate integers
to strings, you want to be able to do it for any integer you can
represent!

                --Levi



More information about the PLUG mailing list