From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f6c360ce344b2364 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.193.129 with SMTP id ho1mr26136970pbc.8.1340279435483; Thu, 21 Jun 2012 04:50:35 -0700 (PDT) Path: l9ni3076pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Austin Obyrne Newsgroups: comp.lang.ada Subject: Re: My Invention of "Bug Sort". Date: Thu, 21 Jun 2012 04:50:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <3852c348-a728-44ed-b065-c8a596c1e235@googlegroups.com> <698085ff-6ca3-4a0e-b963-11bdcf11e6b5@googlegroups.com> NNTP-Posting-Host: 31.52.108.135 Mime-Version: 1.0 X-Trace: posting.google.com 1340279434 4984 127.0.0.1 (21 Jun 2012 11:50:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 21 Jun 2012 11:50:34 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.52.108.135; posting-account=pmkN8QoAAAAtIhXRUfydb0SCISnwaeyg User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-06-21T04:50:34-07:00 List-Id: On Thursday, June 21, 2012 8:23:12 AM UTC+1, Manuel Collado wrote: > El 21/06/2012 7:13, Simon Wright escribi=F3: > > "Jeffrey R. Carter" writes: > > > >>> 2 ) In "O(N log N)" do I assume log to the base 'e' or what. > >> > >> In "Big-O" notation, log is understood to be to the base 2. > > > > Isn't there a constant factor between log2(x) and ln(x)? Which is taken > > up in the O? > > > > N =3D e**x =3D 2**y > > > > Taking natural logs, > > > > ln N =3D x =3D y.ln 2 >=20 > Yes. In "Big-O" notation, the base for log() is irrelevant. >=20 > O(log N) =3D O(ln N) >=20 > Both expressions denote exactly the same set of functions. >=20 > --=20 > Manuel Collado - http://lml.ls.fi.upm.es/~mcollado --------------- This is surprising to me - is it right? <