Charles Greathouse on Tue, 03 Dec 2013 23:41:06 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: reverse of digits() |
On Tue, Dec 03, 2013 at 11:25:17AM -0500, Charles Greathouse wrote:I suggest you check out the code, it does not use convi.
> I think there's a reason, but not a good reason: the current code uses
> convi to convert the number to base 10^9, so of course this is base-10
> specific. (I guess this is memory-inefficient for 64-bit systems?)
However, what is the purpose of sumdigits ?
Cheers
Bill.