base-compat-0.12.2: A compatibility layer for base
Safe HaskellSafe-Inferred
LanguageHaskell2010

Numeric.Compat

Synopsis

Documentation

showBin :: (Integral a, Show a) => a -> ShowS Source #

Show non-negative Integral numbers in base 2.

showFFloatAlt :: RealFloat a => Maybe Int -> a -> ShowS #

showGFloatAlt :: RealFloat a => Maybe Int -> a -> ShowS #

showHFloat :: RealFloat a => a -> ShowS #

readBin :: (Eq a, Num a) => ReadS a Source #

Read an unsigned number in binary notation.

>>> readBin "10011"
[(19,"")]