Hoogle Search
Within LTS Haskell 24.17 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showBin :: Integral a => a -> ShowSbase Numeric Show non-negative Integral numbers in base 2.
showEFloat :: RealFloat a => Maybe Int -> a -> ShowSbase Numeric Show a signed RealFloat value using scientific (exponential) notation (e.g. 2.45e2, 1.5e-3). In the call showEFloat digs val, if digs is Nothing, the value is shown to full precision; if digs is Just d, then at most d digits after the decimal point are shown.
showFFloat :: RealFloat a => Maybe Int -> a -> ShowSbase Numeric Show a signed RealFloat value using standard decimal notation (e.g. 245000, 0.0015). In the call showFFloat digs val, if digs is Nothing, the value is shown to full precision; if digs is Just d, then at most d digits after the decimal point are shown.
showFFloatAlt :: RealFloat a => Maybe Int -> a -> ShowSbase Numeric Show a signed RealFloat value using standard decimal notation (e.g. 245000, 0.0015). This behaves as showFFloat, except that a decimal point is always guaranteed, even if not needed.
showFloat :: RealFloat a => a -> ShowSbase Numeric Show a signed RealFloat value to full precision using standard decimal notation for arguments whose absolute value lies between 0.1 and 9,999,999, and scientific notation otherwise.
showGFloat :: RealFloat a => Maybe Int -> a -> ShowSbase Numeric Show a signed RealFloat value using standard decimal notation for arguments whose absolute value lies between 0.1 and 9,999,999, and scientific notation otherwise. In the call showGFloat digs val, if digs is Nothing, the value is shown to full precision; if digs is Just d, then at most d digits after the decimal point are shown.
showGFloatAlt :: RealFloat a => Maybe Int -> a -> ShowSbase Numeric Show a signed RealFloat value using standard decimal notation for arguments whose absolute value lies between 0.1 and 9,999,999, and scientific notation otherwise. This behaves as showFFloat, except that a decimal point is always guaranteed, even if not needed.
showHFloat :: RealFloat a => a -> ShowSbase Numeric Show a floating-point value in the hexadecimal format, similar to the %a specifier in C's printf.
>>> showHFloat (212.21 :: Double) "" "0x1.a86b851eb851fp7" >>> showHFloat (-12.76 :: Float) "" "-0x1.9851ecp3" >>> showHFloat (-0 :: Double) "" "-0x0p+0"
showHex :: Integral a => a -> ShowSbase Numeric Show non-negative Integral numbers in base 16.
showInt :: Integral a => a -> ShowSbase Numeric Show non-negative Integral numbers in base 10.