Yukihiro Matsumoto
2/8/2007 10:10:00 AM
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 <m_goldberg@ameritech.net> 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.