Re: [pure-lang-users] math.pure
Status: Beta
Brought to you by:
agraef
From: Eddie R. <er...@bm...> - 2008-06-28 20:17:15
|
On Sat, 2008-06-28 at 22:13 +0200, Albert Graef wrote: > Eddie Rucker wrote: > > However, instead of log x being the log base 10 how about > > > > log b::int x::double | log b::bigint x::double = ln x / ln b; > > Seems useful. Well, log is customary for base 10 logarithms, at least on > this side of the Atlantic. I could rename that function to log10, though Yes, it's that way here too. log x is really log_b 10 x . How about: logb b::int x::double | logb b::bigint x::double = ln x / ln b; e.r. |