
23 Aug
2009
23 Aug
'09
12:13 p.m.
On Sun, Aug 23, 2009 at 01:25:14PM +0200, Lennart Augustsson wrote:
You're absolutely right. It would be easy to change logBase to have special cases for, say, base 2 and base 10, and call the C library functions for those. In fact, I think it's a worth while change, since it's easy and get's better results for some cases.
For a short-term solution there's Don's cmath[1]. [1] http://hackage.haskell.org/packages/archive/cmath/0.3/doc/html/Foreign-C-Mat... -- Felipe.