Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.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: Best search algorithm to find a condition within a range. Date: Tue, 07 Apr 2015 13:27:28 +0100 Organization: A noiseless patient Spider Lines: 32 Message-ID: <87vbh8yvgv.fsf@bsb.me.uk> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="27063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dCT5zGOhozLGqTKehhByH0Obj1xhXCfE=" Cancel-Lock: sha1:15dnVskbDRD4DGPhKv0gPWvGbOE= sha1:3iciRwljmxkTF3HWPNMZi4s027k= X-BSB-Auth: 1.eba4338f4e5b9e530ca1.20150407132728BST.87vbh8yvgv.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:27221 jonas.thornvall@gmail.com writes: > I want todo faster baseconversion for very big bases like base 1 000 > 000, so instead of adding up digits i search it. The size of the base is immaterial, provided that it is in the range for which arithmetic operations are exact. 1,000,000 is well within that range. >