Ian Lynagh | 1 Oct 2011 14:46
Picon
Gravatar

[commit: old-time] master: Make %j return values in the right range; fixes #5430 (3669ee6)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/old-time

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/3669ee6fd9cfbec4d8f3b5e5f8862b864f427b7f

>---------------------------------------------------------------

commit 3669ee6fd9cfbec4d8f3b5e5f8862b864f427b7f
Author: Ian Lynagh <igloo <at> earth.li>
Date:   Fri Sep 30 12:27:06 2011 +0100

    Make %j return values in the right range; fixes #5430

    Both "struct tm" and the CalendarTime type use 000-365, but %j
    uses 001-366.

>---------------------------------------------------------------

 System/Time.hsc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/System/Time.hsc b/System/Time.hsc
index 77fec86..1ddddba 100644
--- a/System/Time.hsc
+++ b/System/Time.hsc
 <at>  <at>  -611,7 +611,7  <at>  <at>  formatCalendarTime l fmt cal <at> (CalendarTime year mon day hour minute sec _
         decode 'e' = show2' day                      -- ditto, padded
         decode 'H' = show2 hour                      -- hours, 24-hour clock, padded
         decode 'I' = show2 (to12 hour)               -- hours, 12-hour clock
(Continue reading)

Daniel Fischer | 2 Oct 2011 00:56
Favicon

[commit: integer-gmp] master: Eliminate intermediate overflow for encodeFloat, fixes #5524 (3b9a78d)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/integer-gmp

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/3b9a78d45eab41ecd616e805a3adc25d5d3c8332

>---------------------------------------------------------------

commit 3b9a78d45eab41ecd616e805a3adc25d5d3c8332
Author: Daniel Fischer <daniel.is.fischer <at> googlemail.com>
Date:   Sat Oct 1 13:59:55 2011 +0200

    Eliminate intermediate overflow for encodeFloat, fixes #5524

>---------------------------------------------------------------

 cbits/float.c |   94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 90 insertions(+), 4 deletions(-)

diff --git a/cbits/float.c b/cbits/float.c
index e2ef91a..ec2ec13 100644
--- a/cbits/float.c
+++ b/cbits/float.c
 <at>  <at>  -33,8 +33,10  <at>  <at> 

 #if SIZEOF_LIMB_T == 4
 #define GMP_BASE 4294967296.0
+#define LIMBBITS_LOG_2 5
 #elif SIZEOF_LIMB_T == 8
 #define GMP_BASE 18446744073709551616.0
(Continue reading)

Daniel Fischer | 2 Oct 2011 00:56
Favicon

[commit: integer-gmp] master: Untabify cbits/float.c (ec48fed)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/integer-gmp

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/ec48fed024ed29e2c5a7b8a2ddedbfd2d70cd9b8

>---------------------------------------------------------------

commit ec48fed024ed29e2c5a7b8a2ddedbfd2d70cd9b8
Author: Daniel Fischer <daniel.is.fischer <at> googlemail.com>
Date:   Sat Oct 1 00:40:46 2011 +0200

    Untabify cbits/float.c

>---------------------------------------------------------------

 cbits/float.c |   70 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/cbits/float.c b/cbits/float.c
index 6dc6f9b..e2ef91a 100644
--- a/cbits/float.c
+++ b/cbits/float.c
 <at>  <at>  -72,15 +72,15  <at>  <at>  integer_cbits_encodeDouble (I_ size, StgByteArray ba, I_ e) /* result = s * 2^e

     /* Convert MP_INT to a double; knows a lot about internal rep! */
     for(r = 0.0, i = __abs(size)-1; i >= 0; i--)
-	r = (r * GMP_BASE) + arr[i];
+        r = (r * GMP_BASE) + arr[i];

(Continue reading)

Daniel Fischer | 2 Oct 2011 17:16
Favicon

[commit: base] master: Removed pointless rule (realToFrac :: Int -> Int) (b9d4972)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/b9d497274e8bc2f9ca7784652ae2fe08f30135e8

>---------------------------------------------------------------

commit b9d497274e8bc2f9ca7784652ae2fe08f30135e8
Author: Daniel Fischer <daniel.is.fischer <at> googlemail.com>
Date:   Sun Oct 2 14:13:39 2011 +0200

    Removed pointless rule (realToFrac :: Int -> Int)

>---------------------------------------------------------------

 GHC/Real.lhs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/GHC/Real.lhs b/GHC/Real.lhs
index 8597c45..4bc1d09 100644
--- a/GHC/Real.lhs
+++ b/GHC/Real.lhs
 <at>  <at>  -406,10 +406,6  <at>  <at>  fromIntegral = fromInteger . toInteger
 -- | general coercion to fractional types
 realToFrac :: (Real a, Fractional b) => a -> b
 realToFrac = fromRational . toRational
-
-{-# RULES
-"realToFrac/Int->Int" realToFrac = id :: Int -> Int
(Continue reading)

Daniel Fischer | 2 Oct 2011 17:16
Favicon

[commit: base] master: Whitespace only in GHC.Show (f4fb5c6)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/f4fb5c65a4a404e468bbc1ec3f2bc386dd5c63e1

>---------------------------------------------------------------

commit f4fb5c65a4a404e468bbc1ec3f2bc386dd5c63e1
Author: Daniel Fischer <daniel.is.fischer <at> googlemail.com>
Date:   Sun Oct 2 14:38:50 2011 +0200

    Whitespace only in GHC.Show

>---------------------------------------------------------------

 0 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/GHC/Show.lhs b/GHC/Show.lhs
index b0f5ee3..645472d 100644
Daniel Fischer | 2 Oct 2011 17:16
Favicon

[commit: base] master: Fixed documentation bug (dabfb8f)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/dabfb8fe1039151ad850121fc16e6b6700ee186c

>---------------------------------------------------------------

commit dabfb8fe1039151ad850121fc16e6b6700ee186c
Author: Daniel Fischer <daniel.is.fischer <at> googlemail.com>
Date:   Sun Oct 2 14:42:41 2011 +0200

    Fixed documentation bug

>---------------------------------------------------------------

 GHC/Show.lhs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/GHC/Show.lhs b/GHC/Show.lhs
index 645472d..906781b 100644
--- a/GHC/Show.lhs
+++ b/GHC/Show.lhs
 <at>  <at>  -365,7 +365,7  <at>  <at>  showMultiLineString :: String -> [String]
 -- escape conventions), but
 --   * break the string into multiple lines
 --   * wrap the entire thing in double quotes
--- Example:   <at> showLitString "hello\ngoodbye\nblah" <at> 
+-- Example:   <at> showMultiLineString "hello\ngoodbye\nblah" <at> 
 -- returns    <at> ["\"hello\\", "\\goodbye\\", "\\blah\""] <at> 
(Continue reading)

Daniel Fischer | 2 Oct 2011 17:16
Favicon

[commit: base] master: Fixed mistake in documentation and a typo in a comment (684d80b)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/684d80b6196af4703d00a8b9df7bb983c463574d

>---------------------------------------------------------------

commit 684d80b6196af4703d00a8b9df7bb983c463574d
Author: Daniel Fischer <daniel.is.fischer <at> googlemail.com>
Date:   Sun Oct 2 15:29:37 2011 +0200

    Fixed mistake in documentation and a typo in a comment

>---------------------------------------------------------------

 GHC/Float.lhs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/GHC/Float.lhs b/GHC/Float.lhs
index b1cfafc..fddc85b 100644
--- a/GHC/Float.lhs
+++ b/GHC/Float.lhs
 <at>  <at>  -124,7 +124,8  <at>  <at>  class  (RealFrac a, Floating a) => RealFloat a  where
     -- The behaviour is unspecified on infinite or  <at> NaN <at>  values.
     exponent            :: a -> Int
     -- | The first component of 'decodeFloat', scaled to lie in the open
-    -- interval ( <at> -1 <at> , <at> 1 <at> ), either  <at> 0.0 <at>  or of absolute value  <at> >= 0.5 <at> .
+    -- interval ( <at> -1 <at> , <at> 1 <at> ), either  <at> 0.0 <at>  or of absolute value  <at> >= 1\/b <at> ,
+    -- where  <at> b <at>  is the floating-point radix.
(Continue reading)

Daniel Fischer | 2 Oct 2011 17:16
Favicon

[commit: base] master: Change haddock for encodeFloat, fixes #5525 (4206afd)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4206afd3dee6d1612f6f1a88dd9ac614418dc859

>---------------------------------------------------------------

commit 4206afd3dee6d1612f6f1a88dd9ac614418dc859
Author: Daniel Fischer <daniel.is.fischer <at> googlemail.com>
Date:   Sun Oct 2 16:38:15 2011 +0200

    Change haddock for encodeFloat, fixes #5525

>---------------------------------------------------------------

 GHC/Float.lhs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/GHC/Float.lhs b/GHC/Float.lhs
index fddc85b..f4a3da3 100644
--- a/GHC/Float.lhs
+++ b/GHC/Float.lhs
 <at>  <at>  -112,8 +112,10  <at>  <at>  class  (RealFrac a, Floating a) => RealFloat a  where
     -- | 'encodeFloat' performs the inverse of 'decodeFloat' in the
     -- sense that for finite  <at> x <at>  with the exception of  <at> -0.0 <at> ,
     --  <at> 'uncurry' 'encodeFloat' ('decodeFloat' x) = x <at> .
-    --  <at> 'encodeFloat' m n <at>  is the closest representable floating-point
-    -- number to  <at> m*b^^n <at>  (or  <at> &#177;Infinity <at>  if overflow occurs).
+    --  <at> 'encodeFloat' m n <at>  is one of the two closest representable
(Continue reading)

Ian Lynagh | 2 Oct 2011 23:08
Picon
Gravatar

[commit: random] master: minor: DEVLOG comments (9e494aa)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/random

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/9e494aa43c18bf442e2d0919fce68d27c8c7506e

>---------------------------------------------------------------

commit 9e494aa43c18bf442e2d0919fce68d27c8c7506e
Author: Ryan Newton <rrnewton <at> gmail.com>
Date:   Fri Sep 30 01:17:37 2011 -0400

    minor: DEVLOG comments

>---------------------------------------------------------------

 DEVLOG.md |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/DEVLOG.md b/DEVLOG.md
index ef235d1..c1fd749 100644
--- a/DEVLOG.md
+++ b/DEVLOG.md
 <at>  <at>  -103,3 +103,57  <at>  <at>  well for small ranges, it's advantage doesn't scale to larger ranges:
   range (0,2^5000):
           8,969 randoms generated [System.Random BIG Integers] ~ 371,848 cycles/int

+
+
+[2011.08.25] Validating release version 1.0.1.0 rev 40bbfd2867
(Continue reading)

Ian Lynagh | 2 Oct 2011 23:08
Picon
Gravatar

[commit: random] master: Fixed bug in Ticket 5501. But there appears to be a significant performance regression that warrants further investigation. (b2443d5)

Repository : ssh://darcs.haskell.org//srv/darcs/packages/random

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/b2443d5529cd54401f0b4680bd0496c9bf80ef9f

>---------------------------------------------------------------

commit b2443d5529cd54401f0b4680bd0496c9bf80ef9f
Author: Ryan Newton <rrnewton <at> gmail.com>
Date:   Fri Sep 30 01:54:44 2011 -0400

    Fixed bug in Ticket 5501.  But there appears to be a significant performance regression that warrants
further investigation.

>---------------------------------------------------------------

 DEVLOG.md        |   37 +++++++++++++++++++++++++++++++++++++
 README.md        |    5 ++++-
 System/Random.hs |    8 ++++----
 random.cabal     |    7 +++++--
 tests/Makefile   |    7 +++++++
 5 files changed, 57 insertions(+), 7 deletions(-)

diff --git a/DEVLOG.md b/DEVLOG.md
index c1fd749..6e0b28d 100644
--- a/DEVLOG.md
+++ b/DEVLOG.md
 <at>  <at>  -157,3 +157,40  <at>  <at>  First validating in the context of a slightly stale GHC head
 (7.3.20110727) on a mac.
(Continue reading)


Gmane