* H. Peter Anvin <[email protected]> wrote:

> If the goal is to feed this to the field width in printf, which I would 
> think would be the dominant use, then you do have to account for the 
> minus sign.

The input here is always a nonzero positive integer.

Anyway, I have no objections against using the more generic library 
function either.

Thanks,

        Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to