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 <[email protected]>
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
@@ -124,7 +124,8 @@ class  (RealFrac a, Floating a) => RealFloat a  where
     -- The behaviour is unspecified on infinite or @NaN@ values.
     exponent            :: a -> Int
     -- | The first component of 'decodeFloat', scaled to lie in the open
-    -- interval (@-1@,@1@), either @0.0@ or of absolute value @>= 0.5@.
+    -- interval (@-1@,@1@), either @0.0@ or of absolute value @>= 1\/b@,
+    -- where @b@ is the floating-point radix.
     -- The behaviour is unspecified on infinite or @NaN@ values.
     significand         :: a -> a
     -- | multiplies a floating-point number by an integer power of the radix
@@ -909,7 +910,7 @@ these brings a huge speedup since we need only shift and 
add instead
 of division.
 
 The below is an adaption of fromRat' for the conversion to
-Float or Double exploiting the know floatRadix and avoiding
+Float or Double exploiting the known floatRadix and avoiding
 divisions as much as possible.
 
 \begin{code}



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to