Is there anything in any of the interfaces to Integer that will allow me to quickly find the highest bit set in an Integer? If not, does anyone have any recommendations for how to do it efficiently. There are some obvious things that come to mind but which might involve quite a bit of useless copying of data internally by the implementation of Integer. -- Dan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
- [Haskell-cafe] Looking for smallest power of 2 &g... Dan Piponi
- Re: [Haskell-cafe] Looking for smallest powe... Brandon S. Allbery KF8NH
- Re: [Haskell-cafe] Looking for smallest ... Stefan O'Rear
- Re: [Haskell-cafe] Looking for smallest powe... Don Stewart
- Re: [Haskell-cafe] Looking for smallest ... Dan Piponi
- Re: [Haskell-cafe] Looking for small... Don Stewart
- Re: [Haskell-cafe] Looking for smallest powe... Sterling Clover
- Re: [Haskell-cafe] Looking for smallest ... Dan Piponi
- Re: [Haskell-cafe] Looking for small... David Benbennick
- [Haskell-cafe] Re: Looking for smallest ... ChrisK
- Re: [Haskell-cafe] Looking for smallest powe... Steven Fodstad