From: Yukihiro Matsumoto Date: 2007-02-08T19:09:40+09:00 Subject: Re: Adding Math.log2 and Math.logn to the core library. Hi, In message "Re: Adding Math.log2 and Math.logn to the core library." on Thu, 8 Feb 2007 09:08:38 +0900, Morton Goldberg writes: |Well, I can find examples with the base first or second. Perhaps for |Ruby it would most idiomatic to define log as follows | | def Math.log(x, b=Math::E); ... ; end 1.9 Math.log does work so. matz.