[GHC] #5683: bug in signum function
GHC
cvs-ghc at haskell.org
Sun Dec 25 12:41:05 CET 2011
#5683: bug in signum function
---------------------------------+------------------------------------------
Reporter: tristes_tigres | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.6.1
Component: Prelude | Version: 7.0.3
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Other
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by igloo):
* difficulty: => Unknown
* milestone: => 7.6.1
Comment:
Thanks for the report.
I think we do need truncate et al to be able to return integral types,
though: You need to combine them with the type conversion in order to
describe what sort of type conversion you want (e.g. should 7.7 be
converted to 7 or 8?).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5683#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list