packages feed

logfloat 0.12 → 0.12.0.1

raw patch · 3 files changed

+20/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2007--2008, wren ng thornton.+Copyright (c) 2007--2009, wren ng thornton. ALL RIGHTS RESERVED.  Redistribution and use in source and binary forms, with or without
logfloat.cabal view
@@ -3,7 +3,7 @@ ----------------------------------------------------------------  Name:           logfloat-Version:        0.12+Version:        0.12.0.1 Cabal-Version:  >= 1.2 Build-Type:     Simple Stability:      experimental@@ -45,13 +45,20 @@         Build-depends: base < 3.0          if flag(useFFI)-        -- BUG: (Cabal 1.2 + Haddock) See the INSTALL file.+        -- BUG (Cabal 1.2 + Haddock): See the INSTALL file.         --GHC-Options: -D__USE_FFI__         CPP-Options: -D__USE_FFI__         includes: math.h         extra-libraries: m     -    -- BUG: (Cabal <= 1.6 + Hugs) See the INSTALL file.+    -- BUG (GHC 6.10.1): Can't mix FFI and -fvia-C+    -- <http://hackage.haskell.org/trac/ghc/ticket/3117>+    -- This is a momentary hack to keep it for 6.8+    -- TODO: see if -fasm suffices for the benefits+    if impl(ghc < 6.10)+        GHC-Options: -fvia-C -optc-O3+    +    -- BUG (Cabal <= 1.6 + Hugs): See the INSTALL file.     Hugs-Options: -98 +o     if impl(hugs)         -- BUG: (Cabal 1.2 + Haddock) See the INSTALL file.
src/Data/Number/LogFloat.hs view
@@ -15,7 +15,15 @@ -- doesn't do what you want. -- cf <http://hackage.haskell.org/trac/ghc/ticket/2213> -- cf <http://www.mail-archive.com/glasgow-haskell-users@haskell.org/msg14313.html>-{-# OPTIONS_GHC -O2 -fvia-C -optc-O3 -fexcess-precision -fglasgow-exts #-}+{-# OPTIONS_GHC -O2 -fexcess-precision -fglasgow-exts #-}++-- BUG: Can't mix FFI and -fvia-C under GHC 6.10.1+-- <http://hackage.haskell.org/trac/ghc/ticket/3117>+-- TODO: see if -fasm gives the same performance boost+-- TODO: figure out how to get these flags parsed.+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 610+{-# OPTIONS_GHC -fvia-C -optc-O3 #-}+#endif  ---------------------------------------------------------------- --                                                  ~ 2009.03.10