fixedprec 0.1 → 0.2
raw patch · 3 files changed
+14/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog +9/−0
- Data/Number/FixedPrec.hs +1/−0
- fixedprec.cabal +4/−2
+ ChangeLog view
@@ -0,0 +1,9 @@+ChangeLog++v0.2 2013/06/30+ (2013/06/30) PS1 - fixed cabal compilation warnings.+ (2013/05/29) PS1 - check for non-positive argument in floorlog.+ This fixes an infinite loop bug.++v0.1 2013/05/27+ First public release.
Data/Number/FixedPrec.hs view
@@ -84,6 +84,7 @@ -- for exact types such as 'Rational' and 'EReal'. floorlog :: (Fractional b, Ord b) => b -> b -> (Integer, b) floorlog b x + | x <= 0 = error "floorlog: argument not positive" | 1 <= x && x < b = (0, x) | 1 <= x*b && x < 1 = (-1, b*x) | r < b = (2*n, r)
fixedprec.cabal view
@@ -1,6 +1,6 @@ Name: fixedprec -- don't forget to bump the "this" source tag-Version: 0.1+Version: 0.2 License: BSD3 cabal-version: >= 1.8 Build-type: Simple@@ -17,6 +17,8 @@ Data.Number.Fixed and Data.Number.CReal, but more efficient. bug-reports: mailto:selinger@mathstat.dal.ca +extra-source-files: ChangeLog+ Library Build-Depends: base >= 3 && < 5@@ -27,5 +29,5 @@ Ghc-Options: -Wall -fno-warn-name-shadowing- -fno-warn-unused-binds+ -fno-warn-unused-matches -fno-warn-type-defaults