[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:"ce9a67784390735aa9749667934af49665b8402e/ghc"
 ce9a6778/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ce9a67784390735aa9749667934af49665b8402e"
 base: Add test for #14425

 Test Plan: Validate

 Reviewers: hvr

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #14425

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

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


More information about the ghc-tickets mailing list