ieee754 0.7.2 → 0.7.3
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.AEq: class Eq a => AEq a
+ Data.AEq: class Eq a => AEq a where === = (==) ~== = (==)
Files
- Data/AEq.hs +1/−1
- NEWS +5/−0
- ieee754.cabal +2/−2
Data/AEq.hs view
@@ -74,7 +74,7 @@ approxEqIEEE :: (IEEE a) => a -> a -> Bool approxEqIEEE x y = ( sameSignificandBits x y >= d- || (x < epsilon && y < epsilon)+ || (abs x < epsilon && abs y < epsilon) || (isNaN x && isNaN y) ) where
NEWS view
@@ -1,3 +1,8 @@+Changes in 0.7.3:++* Bugfix from Björn Buckwalter: any two negative values were aproxEqIEEE++ Changes in 0.7.2: * Fix aliasing warnings in C code
ieee754.cabal view
@@ -1,5 +1,5 @@ name: ieee754-version: 0.7.2+version: 0.7.3 homepage: http://github.com/patperry/hs-ieee754 synopsis: Utilities for dealing with IEEE floating point numbers description:@@ -9,7 +9,7 @@ category: Math license: BSD3 license-file: LICENSE-copyright: (c) 2010. Patrick Perry <patperry@gmail.com>+copyright: (c) 2011. Patrick Perry <patperry@gmail.com> author: Patrick Perry maintainer: Patrick Perry <patperry@gmail.com> cabal-version: >= 1.2.0