On Dec 4, 2007 9:21 AM, Steven Fodstad <[EMAIL PROTECTED]> wrote:
> For the index, how about this:
>
> truncate  . (/(log 2)) . log . fromIntegral

That will not work.  It will convert the Integer to Double, which will
overflow if the Integer is very large.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to