fast-digits-0.3.2.0: Integer-to-digits conversion.
Copyright(c) Andrew Lelechenko 2015-2016
LicenseGPL-3
Maintainerandrew.lelechenko@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.FastDigits.Internal

Description

 
Synopsis

Documentation

selectPower :: Word# -> (# Word#, Word# #) Source #

Take an integer base and return (pow, base^pow), where base^pow <= maxBound and pow is as large as possible.

selectPower' :: Word -> (Word, Word) Source #

Take an integer base and return (pow, base^pow), where base^pow <= maxBound and pow is as large as possible.