packages feed

floatshow 0.2.0 → 0.2.1

raw patch · 4 files changed

+5/−5 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Changes view
@@ -1,3 +1,4 @@+0.2.1:  Typos in haddocks corrected 0.2.0:  Raw interface for non-RealFloat types         Back to the old integerToDigits because we may now deal with         larger Integers, the performance loss for Double/Float is
Text/FShow/Raw.hs view
@@ -55,7 +55,7 @@   --   specifying that as a constant will be faster than calculating the   --   logarithm for each individual mantissa.   --   If @x = m*2^e@ with @m /= 0@, then-  --   @'decodeL' x == ('integerLog2' (abs m), m, e)@ must hold.+  --   @'decodeL' x == ('integerLog2' ('abs' m), m, e)@ must hold.   {-# INLINE decodeL #-}   decodeL :: a -> (Int, Integer, Int)   decodeL x = case decode x of@@ -70,7 +70,7 @@   --   when it is nonzero,   --   -- @-  --   'showDigits' _ = 2 + 'floor' ((highBit+1) * 'logBase 10 2)+  --   'showDigits' _ = 2 + 'floor' ((highBit+1) * 'logBase' 10 2)   -- @   --   --   is sufficient to make the values and formatted 'String's@@ -88,7 +88,7 @@   --   So, with mantissae of width varying over a large range, the only   --   feasible way of obtaining a bijection between values and their   --   decimal representations is printing to full precision in-  --   general, optionally capping atthe upper limit.+  --   general, optionally capping at the upper limit.   --   --   The default implementation prints values exactly, which in general   --   is undesirable because it involves huge 'Integer's and long
Text/FShow/RealFloat/Internals.hs view
@@ -25,7 +25,6 @@ import Data.Array.IArray  #if __GLASGOW_HASKELL__ >= 702-import GHC.Base import GHC.Integer.Logarithms  -- | Integer base-@2@ logarithm of a positive 'Integer'.
floatshow.cabal view
@@ -7,7 +7,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             0.2.0+Version:             0.2.1  -- Constraint on the version of Cabal needed to build this package. Cabal-version:       >=1.6