Hello community, here is the log from the commit of package ghc-ieee754 for openSUSE:Factory checked in at 2016-12-06 14:24:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-ieee754 (Old) and /work/SRC/openSUSE:Factory/.ghc-ieee754.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-ieee754" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-ieee754/ghc-ieee754.changes 2016-07-21 08:10:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ieee754.new/ghc-ieee754.changes 2016-12-06 14:24:43.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Nov 14 09:30:07 UTC 2016 - psimons@suse.com + +- Update to version 0.7.9 with cabal2obs. + +------------------------------------------------------------------- Old: ---- ieee754-0.7.8.tar.gz New: ---- ieee754-0.7.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-ieee754.spec ++++++ --- /var/tmp/diff_new_pack.IY9SAM/_old 2016-12-06 14:24:44.000000000 +0100 +++ /var/tmp/diff_new_pack.IY9SAM/_new 2016-12-06 14:24:44.000000000 +0100 @@ -18,11 +18,11 @@ %global pkg_name ieee754 Name: ghc-%{pkg_name} -Version: 0.7.8 +Version: 0.7.9 Release: 0 Summary: Utilities for dealing with IEEE floating point numbers License: BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel @@ -47,15 +47,12 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache @@ -68,6 +65,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc LICENSE.Tango NEWS +%doc CHANGELOG LICENSE.Tango %changelog ++++++ ieee754-0.7.8.tar.gz -> ieee754-0.7.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ieee754-0.7.8/CHANGELOG new/ieee754-0.7.9/CHANGELOG --- old/ieee754-0.7.8/CHANGELOG 1970-01-01 01:00:00.000000000 +0100 +++ new/ieee754-0.7.9/CHANGELOG 2016-11-10 21:49:37.000000000 +0100 @@ -0,0 +1,95 @@ +Changes in 0.7.9: + +* Rename nextup/nextdown to ieeesucc/ieeepred to avoid clashes with + libm functions (fixes issue #15, reported by @clinty) + + +Changes in 0.7.8: + +* Alain O'Dea fixed broken illumos build. + +* Simplified endianness detection in C code. + + +Changes in 0.7.7: + +* Johan Kiviniemi added tests for minNormal, maxFinite, epsilon, + maxNaNPayload. + + +Changes in 0.7.6: + +* Fix broken windows build. + + +Changes in 0.7.5: + +* Added more robust check for endianness (related to issue #5, reported by @juricast). + + +Changes in 0.7.4: + +* Add C implementation of copysign, copysignf + +* Remove libm dependency + +* Anders Kaseorg fixed documentation for epsilon. + + +Changes in 0.7.3: + +* Bugfix from Björn Buckwalter: any two negative values were approxEqIEEE + + +Changes in 0.7.2: + +* Fix aliasing warnings in C code + + +Changes in 0.7.1: + +* Rename package from "ieee" to "ieee754" + + +Changes in 0.7: + +* Add IEEE type class with instances for Double, Float, CDouble, and CFloat + +* Add functions for getting/setting NaN payloads + +* Add succIEEE/predIEEE for advancing up and down the IEEE number line + (ported from Tango's nextUp and nextDown) + +* Add bisectIEEE for midpoints of two numbers on the IEEE number line + (ported from Tango's ieeeMean) + +* Add identicalIEEE for exact (bitwise) equality of IEEE numbers + +* Add copySign for setting the sign bit of an IEEE number + +* Add sameSignificandBits for seeing how many significand bits of two + IEEE numbers agree, ported from Tango's feqrel + +* Add nan, infinity, maxFinite, minNormal constants for IEEE numbers + +* Add maxNum and minNum + +* Rename maxF and minF to maxNaN and minNaN + +* Switch to a simpler "~==" comparison for complex numbers + +* Make "~==" comparison use sameSignificandBits for IEEE types + +* Make "===" comparison use bitwise equality for IEEE types + +* Remove old "eqRel" comparisons. + +* Remove old epsilon' and delta constants + +* Remove (RealFloat a) => AEq (Complex a) instance in favor of explicit + instances for Complex {Double,Float,CDouble,CFloat} + + +Changes in 0.6.1: + + * Remove AEq instance for CLDouble (thanks to Bjorn Buckwalter) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ieee754-0.7.8/NEWS new/ieee754-0.7.9/NEWS --- old/ieee754-0.7.8/NEWS 2016-01-08 01:18:06.000000000 +0100 +++ new/ieee754-0.7.9/NEWS 1970-01-01 01:00:00.000000000 +0100 @@ -1,89 +0,0 @@ -Changes in 0.7.8: - -* Alain O'Dea fixed broken illumos build. - -* Simplified endianness detection in C code. - - -Changes in 0.7.7: - -* Johan Kiviniemi added tests for minNormal, maxFinite, epsilon, - maxNaNPayload. - - -Changes in 0.7.6: - -* Fix broken windows build. - - -Changes in 0.7.5: - -* Added more robust check for endianness (related to issue #5, reported by @juricast). - - -Changes in 0.7.4: - -* Add C implementation of copysign, copysignf - -* Remove libm dependency - -* Anders Kaseorg fixed documentation for epsilon. - - -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 - - -Changes in 0.7.1: - -* Rename package from "ieee" to "ieee754" - - -Changes in 0.7: - -* Add IEEE type class with instances for Double, Float, CDouble, and CFloat - -* Add functions for getting/setting NaN payloads - -* Add succIEEE/predIEEE for advancing up and down the IEEE number line - (ported from Tango's nextUp and nextDown) - -* Add bisectIEEE for midpoints of two numbers on the IEEE number line - (ported from Tango's ieeeMean) - -* Add identicalIEEE for exact (bitwise) equality of IEEE numbers - -* Add copySign for setting the sign bit of an IEEE number - -* Add sameSignificandBits for seeing how many significand bits of two - IEEE numbers agree, ported from Tango's feqrel - -* Add nan, infinity, maxFinite, minNormal constants for IEEE numbers - -* Add maxNum and minNum - -* Rename maxF and minF to maxNaN and minNaN - -* Switch to a simpler "~==" comparison for complex numbers - -* Make "~==" comparison use sameSignificandBits for IEEE types - -* Make "===" comparison use bitwise equality for IEEE types - -* Remove old "eqRel" comparisons. - -* Remove old epsilon' and delta constants - -* Remove (RealFloat a) => AEq (Complex a) instance in favor of explicit - instances for Complex {Double,Float,CDouble,CFloat} - - -Changes in 0.6.1: - - * Remove AEq instance for CLDouble (thanks to Bjorn Buckwalter) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ieee754-0.7.8/Numeric/IEEE.hs new/ieee754-0.7.9/Numeric/IEEE.hs --- old/ieee754-0.7.8/Numeric/IEEE.hs 2016-01-08 01:18:06.000000000 +0100 +++ new/ieee754-0.7.9/Numeric/IEEE.hs 2016-11-10 21:49:37.000000000 +0100 @@ -126,9 +126,9 @@ {-# INLINE epsilon #-} copySign = c_copysignf {-# INLINE copySign #-} - succIEEE = c_nextupf + succIEEE = c_ieeesuccf {-# INLINE succIEEE #-} - predIEEE = c_nextdownf + predIEEE = c_ieeepredf {-# INLINE predIEEE #-} bisectIEEE = c_ieeemeanf {-# INLINE bisectIEEE #-} @@ -157,9 +157,9 @@ {-# INLINE epsilon #-} copySign x y = realToFrac $ c_copysignf (realToFrac x) (realToFrac y) {-# INLINE copySign #-} - succIEEE x = realToFrac $ c_nextupf (realToFrac x) + succIEEE x = realToFrac $ c_ieeesuccf (realToFrac x) {-# INLINE succIEEE #-} - predIEEE x = realToFrac $ c_nextdownf (realToFrac x) + predIEEE x = realToFrac $ c_ieeepredf (realToFrac x) {-# INLINE predIEEE #-} bisectIEEE x y = realToFrac $ c_ieeemeanf (realToFrac x) (realToFrac y) {-# INLINE bisectIEEE #-} @@ -188,9 +188,9 @@ {-# INLINE epsilon #-} copySign = c_copysign {-# INLINE copySign #-} - succIEEE = c_nextup + succIEEE = c_ieeesucc {-# INLINE succIEEE #-} - predIEEE = c_nextdown + predIEEE = c_ieeepred {-# INLINE predIEEE #-} bisectIEEE = c_ieeemean {-# INLINE bisectIEEE #-} @@ -217,11 +217,11 @@ {-# INLINE maxFinite #-} epsilon = 2.2204460492503131e-16 {-# INLINE epsilon #-} - succIEEE x = realToFrac $ c_nextup (realToFrac x) + succIEEE x = realToFrac $ c_ieeesucc (realToFrac x) {-# INLINE succIEEE #-} copySign x y = realToFrac $ c_copysign (realToFrac x) (realToFrac y) {-# INLINE copySign #-} - predIEEE x = realToFrac $ c_nextdown (realToFrac x) + predIEEE x = realToFrac $ c_ieeepred (realToFrac x) {-# INLINE predIEEE #-} bisectIEEE x y = realToFrac $ c_ieeemean (realToFrac x) (realToFrac y) {-# INLINE bisectIEEE #-} @@ -240,17 +240,17 @@ foreign import ccall unsafe "feqrelf" c_feqrelf :: Float -> Float -> Int -foreign import ccall unsafe "nextup" - c_nextup :: Double -> Double +foreign import ccall unsafe "ieeesucc" + c_ieeesucc :: Double -> Double -foreign import ccall unsafe "nextupf" - c_nextupf :: Float -> Float +foreign import ccall unsafe "ieeesuccf" + c_ieeesuccf :: Float -> Float -foreign import ccall unsafe "nextdown" - c_nextdown :: Double -> Double +foreign import ccall unsafe "ieeepred" + c_ieeepred :: Double -> Double -foreign import ccall unsafe "nextdownf" - c_nextdownf :: Float -> Float +foreign import ccall unsafe "ieeepredf" + c_ieeepredf :: Float -> Float foreign import ccall unsafe "ieeemean" c_ieeemean :: Double -> Double -> Double diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ieee754-0.7.8/cbits/double.c new/ieee754-0.7.9/cbits/double.c --- old/ieee754-0.7.8/cbits/double.c 2016-01-08 01:18:06.000000000 +0100 +++ new/ieee754-0.7.9/cbits/double.c 2016-11-10 21:49:37.000000000 +0100 @@ -39,9 +39,9 @@ return uz.d; } -/* ported from tango/math/IEEE.d */ +/* ported from tango/math/IEEE.d nextup */ double -nextup (double x) +ieeesucc (double x) { union double_t ps = { x }; @@ -62,11 +62,11 @@ return ps.d; } -/* ported from tango/math/IEEE.d */ +/* ported from tango/math/IEEE.d nextdown */ double -nextdown (double x) +ieeepred (double x) { - return -nextup(-x); + return -ieeesucc(-x); } /* ported from tango/math/IEEE.d */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ieee754-0.7.8/cbits/float.c new/ieee754-0.7.9/cbits/float.c --- old/ieee754-0.7.8/cbits/float.c 2016-01-08 01:18:06.000000000 +0100 +++ new/ieee754-0.7.9/cbits/float.c 2016-11-10 21:49:37.000000000 +0100 @@ -40,9 +40,9 @@ return uz.f; } -/* ported from tango/math/IEEE.d */ +/* ported from tango/math/IEEE.d nextupf */ float -nextupf (float x) +ieeesuccf (float x) { union float_t ps = { x }; @@ -63,11 +63,11 @@ return ps.f; } -/* ported from tango/math/IEEE.d */ +/* ported from tango/math/IEEE.d nextdownf */ float -nextdownf (float x) +ieeepredf (float x) { - return -nextupf(-x); + return -ieeesuccf(-x); } /* ported from tango/math/IEEE.d */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ieee754-0.7.8/ieee754.cabal new/ieee754-0.7.9/ieee754.cabal --- old/ieee754-0.7.8/ieee754.cabal 2016-01-08 01:18:06.000000000 +0100 +++ new/ieee754-0.7.9/ieee754.cabal 2016-11-10 21:49:37.000000000 +0100 @@ -1,5 +1,5 @@ name: ieee754 -version: 0.7.8 +version: 0.7.9 homepage: http://github.com/patperry/hs-ieee754 synopsis: Utilities for dealing with IEEE floating point numbers description: @@ -16,7 +16,7 @@ build-type: Simple tested-with: GHC ==7.6.3 -extra-source-files: LICENSE.Tango NEWS cbits/feqrel_source.c +extra-source-files: LICENSE.Tango CHANGELOG cbits/feqrel_source.c tests/Makefile tests/Tests.hs library