[GHC] #13384: Windows build thinks sqrt (-1) == -1

GHC ghc-devs at haskell.org
Mon Mar 6 21:55:25 UTC 2017


#13384: Windows build thinks sqrt (-1) == -1
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  highest        |         Milestone:  8.2.1
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Incorrect result
  Unknown/Multiple                   |  at runtime
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 As of 749740f9c3cb25ee95e04a21c1ef73e1bf96afb1,
 {{{
 $ inplace/bin/ghc-stage2 --interactive
 GHCi, version 8.1.20170306: http://www.haskell.org/ghc/  :? for help
 Prelude> sqrt (-1) :: Double
 -1.0

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


More information about the ghc-tickets mailing list