Manlio Perillo wrote:
> By the way, in GHC.Float there is a (private):
> integerLogBase :: Integer -> Integer -> Int

Yes, I have needed this function many times.
Too bad it is not exposed.

In this case, though, we only need base 2.
For that, it would be nice if we could just read
it directly from the internal representation of
the Integer.

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

Reply via email to