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-Math-Double.html#v:log10

--
Felipe.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to