From: Phrogz Date: 2007-02-08T08:20:09+09:00 Subject: Re: Adding Math.log2 and Math.logn to the core library. On Feb 7, 2:57 pm, Keynan Pratt wrote: > perhaps it would be wiser to add > > def log_(n, x) > log x / log n > end > > so that any log base may be used. Other than changing the order of parameters (which I'm personally ambivalent about, and would certainly accept this order if that's how most other libraries do it) and changing the name to end in an underscore (which I'm not sure I like), what are you proposing that I wasn't? Simply that we ONLY add the log-base-n capability that I described, without a specific method for log-base-2 calculations?