#3070: floor(0/0) should not be defined
-----------------------------+----------------------------------------------
Reporter: carette | Owner:
Type: bug | Status: new
Priority: normal | Component: Prelude
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
floor(0/0) returns some giant negative integer - it should return NaN or
undefined.
The bug appears to be in some implementation of 'properFraction' in the
standard library.
[from Andrej Bauer, from Barak Pearlmutter (from ???)]
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3070>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs