Re: Exponentiation (expt / pow)

2009-01-01 Thread Konrad Hinsen
On 01.01.2009, at 01:19, Mark Engelberg wrote: > and pasted below. I'd like to hear some comments on whether I'm > utilizing multimethods correctly, I can't say, being new to multimethods as well, but... > and whether functions like this > would be beneficial for inclusion in the clojure contr

Exponentiation (expt / pow)

2008-12-31 Thread Mark Engelberg
As I posted a couple weeks ago, I've been finding it awkward that Clojure doesn't have too many math functions that know how to "do the right thing" with the various numeric types it uses. The one that's been bothering me the most is the lack of an expt function. Calling Math/pow automatically co