[GHC] #9281: Rewrite `integer-gmp` to use only non-allocating GMP functions

GHC ghc-devs at haskell.org
Fri Nov 28 14:04:57 UTC 2014


#9281: Rewrite `integer-gmp` to use only non-allocating GMP functions
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  hvr
                  Type:  task        |           Status:  patch
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:
  Libraries                          |         Keywords:  integer-gmp
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:  #8647
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D82    |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"58dcd5c2e2a94643454296ea0bb109db96bd154f/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="58dcd5c2e2a94643454296ea0bb109db96bd154f"
 Re-implement `testPrimeInteger` predicate (#9281)

 This also adds `testPrimeWord#` and `testPrimeBigNat` predicates.

 `testPrimeInteger` has been available since `integer-gmp-0.5.1`
 (added via f49735486533842cc84df70cafc8d565dffd75db).
 The `nextPrimeInteger` function is still missing though.
 }}}

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


More information about the ghc-tickets mailing list