-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Fast conversion between double precision floating point and text -- -- A library that performs fast conversion between double precision -- floating point and text, implemented as bindings to the C++ -- double-conversion library written by Florian Loitsch at Google. @package double-conversion @version 0.1.0.0 -- | Fast, efficient support for converting between double precision -- floating point values and text. module Data.Double.Conversion -- | Compute a representation in exponential format with the requested -- number of digits after the decimal point. The last emitted digit is -- rounded. If -1 digits are requested, then the shortest exponential -- representation is computed. toExponential :: Int -> Double -> Text -- | Compute a decimal representation with a fixed number of digits after -- the decimal point. The last emitted digit is rounded. toFixed :: Int -> Double -> Text -- | Compute precision leading digits of the given value either in -- exponential or decimal format. The last computed digit is rounded. toPrecision :: Int -> Double -> Text -- | Compute the shortest string of digits that correctly represent the -- input number. toShortest :: Double -> Text