projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc448af
)
[project @ 1999-03-01 08:58:53 by sof]
author
sof
<unknown>
Mon, 1 Mar 1999 08:58:53 +0000
(08:58 +0000)
committer
sof
<unknown>
Mon, 1 Mar 1999 08:58:53 +0000
(08:58 +0000)
wibble
ghc/lib/std/PrelNumExtra.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/PrelNumExtra.lhs
b/ghc/lib/std/PrelNumExtra.lhs
index
48cda70
..
f6163f6
100644
(file)
--- a/
ghc/lib/std/PrelNumExtra.lhs
+++ b/
ghc/lib/std/PrelNumExtra.lhs
@@
-722,7
+722,7
@@
showFloat x = showString (formatRealFloat FFGeneric Nothing x)
-- These are the format types. This type is not exported.
-data FFFormat = FFExponent | FFFixed | FFGeneric --no need: deriving (Eq, Ord, Show)
+data FFFormat = FFExponent | FFFixed | FFGeneric
formatRealFloat :: (RealFloat a) => FFFormat -> Maybe Int -> a -> String
formatRealFloat fmt decs x