Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Optimise adder Date: Fri, 22 May 2015 10:38:41 +0100 Organization: A noiseless patient Spider Lines: 21 Message-ID: <877fs1j6ji.fsf@bsb.me.uk> References: <874mn6m0tt.fsf@bsb.me.uk> <140fbc59-9fd9-41dd-bcb5-55b8c304e5b8@googlegroups.com> <87vbfllxxb.fsf@bsb.me.uk> <69862aa5-cdf8-4d22-beca-c37c59b90e63@googlegroups.com> <87egm9lpmh.fsf@bsb.me.uk> <2823f00c-b09d-45df-b14c-5eadf3d141b8@googlegroups.com> <87382pll4i.fsf@bsb.me.uk> <5c25f904-8d8f-46e9-8366-d8263c30f23a@googlegroups.com> <87fv6pjzn2.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="27949"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/V+f4nQHM7sV49lx9bDC+IoJoD63i9ctA=" Cancel-Lock: sha1:MCkyuOswB7UcnWzPrjn/yAYlA74= sha1:+uumjpTHIWn4OeaSBorRbHJs8qc= X-BSB-Auth: 1.4902bf47de35560f8c95.20150522103841BST.877fs1j6ji.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:27809 jonas.thornvall@gmail.com writes: > Den fredag 22 maj 2015 kl. 01:10:16 UTC+2 skrev Ben Bacarisse: >> How well does the code work with base 1,000,000,000,000,000,000,000,000,000, >> 000,000,000,000,000,000,000,000,000,000,000? What about base 2^1024? >> >> This test case aside, your code does not permit the use of any base. > I think it can handle bignumb bases once base an array, I am not even > sure what you mean that it do not permit the use of anybase. I meant any base. It can add any numbers (provided there is time an memory enough) but it can't use any base. It's not a complex idea. At last it seems you are poised to agree that your posted code does not (yet) permit the use of any base. -- Ben.