#7449: Segmentation fault in floor function
-----------------------+----------------------------------------------------
Reporter:  heatsink    |          Owner:                
    Type:  bug         |         Status:  new           
Priority:  normal      |      Component:  libraries/base
 Version:  7.4.1       |       Keywords:                
      Os:  MacOS X     |   Architecture:  x86           
 Failure:  GHCi crash  |      Blockedby:                
Blocking:              |        Related:                
-----------------------+----------------------------------------------------
 The `floor` function crashes with a segmentation fault in GHCi with a
 negative, non-integer-valued, Double argument.  It does not crash for any
 of the positive arguments or negative integer arguments I tried.  It does
 not crash with a `Float`.  It does not crash in compiled code.

 To reproduce, run `floor (-0.5)` in GHCi.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to