[GHC] #10010: LLVM/optimized code for sqrt incorrect for negative values

GHC ghc-devs at haskell.org
Thu Mar 29 15:08:50 UTC 2018


#10010: LLVM/optimized code for sqrt incorrect for negative values
-------------------------------------+-------------------------------------
        Reporter:  glguy             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler (LLVM)   |              Version:  7.8.4
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Incorrect result  |            Test Case:
  at runtime                         |  libraries/base/tests/Numeric/sqrt
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * testcase:   => libraries/base/tests/Numeric/sqrt
 * milestone:   => 8.2.1


Comment:

 I'm rather surprised that wasn't caught by any existing testcase. Added a
 test in Phab:D4543.

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


More information about the ghc-tickets mailing list