[GHC] #3070: floor(0/0) should not be defined

GHC trac at galois.com
Sat Apr 18 22:01:25 EDT 2009


#3070: floor(0/0) should not be defined
---------------------------------+------------------------------------------
    Reporter:  carette           |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  Prelude           |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by crutcher):

 if decodeFloat (0.0/0.0) was changed to be undefined, then floor would be
 undefined.

 Is there any support for this?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3070#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list