[GHC] #9617: Implement `quot` and `rem` using `quotRem`; implement `div` and `mod` using `divMod`

GHC ghc-devs at haskell.org
Sun Sep 21 08:35:19 UTC 2014


#9617: Implement `quot` and `rem` using `quotRem`; implement `div` and `mod` using
`divMod`
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.9
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Argh. It looks like I got that wrong. That's only working because it's too
 big to inline. `divMod` may just be hopeless.

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


More information about the ghc-tickets mailing list