packages feed

qd 1.0 → 1.0.2.1

raw patch · 16 files changed

+35/−29 lines, 16 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

LICENSE view
@@ -1,4 +1,4 @@-Copyright (c)2010,2011, Claude Heiland-Allen+Copyright (c)2010,2011,2012 Claude Heiland-Allen  All rights reserved. 
Numeric/QD.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
Numeric/QD/DoubleDouble.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable @@ -17,7 +17,8 @@   , sqr   ) where -import Foreign (Ptr, alloca, castPtr, Storable(..), unsafePerformIO, with)+import Foreign (Ptr, alloca, castPtr, Storable(..), with)+import System.IO.Unsafe (unsafePerformIO) import Foreign.C (CDouble, CInt) import Data.Ratio ((%)) import Data.Bits (shiftL)
Numeric/QD/DoubleDouble/Raw.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
Numeric/QD/DoubleDouble/Raw/Safe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable @@ -67,7 +67,7 @@   ) where  import Foreign (Ptr)-import Foreign.C (CChar, CDouble, CInt)+import Foreign.C (CChar(..), CDouble(..), CInt(..))  foreign import ccall unsafe "safe_dd.h safe_dd_add" c_dd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () foreign import ccall unsafe "safe_dd.h safe_dd_add_d_dd" c_dd_add_d_dd :: CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
Numeric/QD/DoubleDouble/Raw/Unsafe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable @@ -67,7 +67,7 @@   ) where  import Foreign (Ptr)-import Foreign.C (CChar, CDouble, CInt)+import Foreign.C (CChar(..), CDouble(..), CInt(..))  foreign import ccall unsafe "qd/c_dd.h c_dd_add" c_dd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () foreign import ccall unsafe "qd/c_dd.h c_dd_add_d_dd" c_dd_add_d_dd :: CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
Numeric/QD/FPU/Raw/Unsafe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
Numeric/QD/FPU/Unsafe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
Numeric/QD/QuadDouble.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable @@ -19,7 +19,8 @@   , sqr   ) where -import Foreign (Ptr, alloca, castPtr, Storable(..), unsafePerformIO, with)+import Foreign (Ptr, alloca, castPtr, Storable(..), with)+import System.IO.Unsafe (unsafePerformIO) import Foreign.C (CDouble, CInt) import Data.Bits (shiftL) import Data.Ratio ((%))
Numeric/QD/QuadDouble/Raw.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
Numeric/QD/QuadDouble/Raw/Safe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable @@ -88,7 +88,7 @@   ) where  import Foreign (Ptr)-import Foreign.C (CChar, CDouble, CInt)+import Foreign.C (CChar(..), CDouble(..), CInt(..))  foreign import ccall unsafe "safe_qd.h safe_qd_add" c_qd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO (); foreign import ccall unsafe "safe_qd.h safe_qd_add_dd_qd" c_qd_add_dd_qd :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ();
Numeric/QD/QuadDouble/Raw/Unsafe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable @@ -88,7 +88,7 @@   ) where  import Foreign (Ptr)-import Foreign.C (CChar, CDouble, CInt)+import Foreign.C (CChar(..), CDouble(..), CInt(..))  foreign import ccall unsafe "qd/c_qd.h c_qd_add" c_qd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO (); foreign import ccall unsafe "qd/c_qd.h c_qd_add_dd_qd" c_qd_add_dd_qd :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ();
Numeric/QD/Raw.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
Numeric/QD/Raw/Safe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
Numeric/QD/Raw/Unsafe.hs view
@@ -3,7 +3,7 @@ Copyright   :  (c) Claude Heiland-Allen 2011 License     :  BSD3 -Maintainer  :  claudiusmaximus@goto10.org+Maintainer  :  claude@mathr.co.uk Stability   :  unstable Portability :  portable 
qd.cabal view
@@ -1,5 +1,5 @@ Name:                 qd-Version:              1.0+Version:              1.0.2.1 Synopsis:             double-double and quad-double number type via libqd Description:     This package supports both a double-double datatype (approx. 32 decimal digits)@@ -16,23 +16,18 @@     use 80bit.  When using the Unsafe modules this might cause erroneous results;     the Safe modules (used by the instances above) set and restore the FPU flags     in foreign code to avoid race conditions from pre-emptive Haskell threading.-    .-    The @'RealFloat'@ instances have been removed in this release as they were-    mostly broken: @'RealFloat'@ semantics are for fixed-precision numbers.  License:              BSD3 License-file:         LICENSE Author:               Claude Heiland-Allen-Maintainer:           claudiusmaximus@goto10.org+Maintainer:           claude@mathr.co.uk Category:             Math Build-type:           Simple-Cabal-version:        >=1.2+Cabal-version:        >=1.6  Library   Build-depends:      base >= 4 && < 5, floatshow >= 0.2 && < 0.3   Extra-Libraries:    qd-  if os(linux)-    Extra-libraries:  stdc++   Exposed-modules:    Numeric.QD                       Numeric.QD.DoubleDouble                       Numeric.QD.QuadDouble@@ -50,3 +45,12 @@   C-sources:          cbits/safe_dd.c cbits/safe_qd.c   GHC-options:        -Wall -fno-excess-precision   GHC-prof-options:   -prof -auto-all -caf-all++source-repository head+  type:     git+  location: git://gitorious.org/hsqd/hsqd.git++source-repository this+  type:     git+  location: git://gitorious.org/hsqd/hsqd.git+  tag:      v1.0.2.1