Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!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: Bignumber conversion and arithmetic on unsigned operand pairs using +,-,* now work in anybase. Date: Mon, 22 Jun 2015 01:19:55 +0100 Organization: A noiseless patient Spider Lines: 22 Message-ID: <87twu0iogk.fsf@bsb.me.uk> References: <43d7c692-c4f0-4b88-8bb0-35f621516925@googlegroups.com> <62d5c8c6-47dc-45f0-928c-d5e47ac41ac1@googlegroups.com> <1d378cba-f36f-418f-b15b-98115ae0f0fd@googlegroups.com> <87a8vskcyp.fsf@bsb.me.uk> <4723ff16-0052-41e3-8d3a-6c249345696e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="1510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ayhm3WNAqujsD3dRMhZjZrQSzdCntrY4=" Cancel-Lock: sha1:Rw2jiQKcg34CyIhcoUFdmtpwTRc= sha1:j7zN3ModWyPGQ/snS+DoE6I1eRU= X-BSB-Auth: 1.6a4a968ace05026852b9.20150622011955BST.87twu0iogk.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:28138 jonas.thornvall@gmail.com writes: > Den söndag 21 juni 2015 kl. 22:45:25 UTC+2 skrev Ben Bacarisse: >> jonas.thornvall@gmail.com writes: >> >> > Any improvements suggestion? >> >> None that you haven't ignored more than once already! > > And i who thought you would be impressed by the nifty way i do the > baseconversion. > It is probalistic. The only curious things is why you don't do it the simple way. I suspect it's because the code is so chaotic you can't use the simple algorithm, but it's now so tangled that I can't plough past the first dozen or so global names -- every function call could affect any of them in ways that only you know (thought I suspect even you don't know anymore) and I certainly don't have the time to check. -- Ben.