[GHC] #14425: approxRational is wrong when (rat - eps) overflows in negative direction

GHC ghc-devs at haskell.org
Thu Nov 9 23:34:54 UTC 2017


#14425: approxRational is wrong when (rat - eps) overflows in negative direction
-------------------------------------+-------------------------------------
        Reporter:  danielk           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.4.1
       Component:  libraries/base    |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:  T14425
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4168
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"5834da4872877736eefb85daedaf7b137ae702a1/ghc"
 5834da48/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="5834da4872877736eefb85daedaf7b137ae702a1"
 base: Fix #14425

 Test Plan: Validate

 Reviewers: hvr

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #14425

 Differential Revision: https://phabricator.haskell.org/D4167
 }}}

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


More information about the ghc-tickets mailing list