Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,263
    • Issues 5,263
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 565
    • Merge requests 565
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #18427
Closed
Open
Issue created Jul 06, 2020 by Ben Gamari@bgamari🐢Maintainer3 of 6 checklist items completed3/6 checklist items

ghc-bignum is missing a few functions

Originally I had thought that these weren't used by head.hackage has shown otherwise:

  • gcdExtInteger :: Integer -> Integer -> (# Integer, Integer #)
  • recipModInteger :: Integer -> Integer -> Integer
  • powModInteger :: Integer -> Integer -> Integer -> Integer
  • powModSecInteger :: Integer -> Integer -> Integer -> Integer
  • nextPrimeInteger :: Integer -> Integer
  • testPrimeInteger :: Integer -> Int# -> Int#

It's a bit unclear how many of these we really want to support in ghc-bignum. Some seem awfully specialised. Nevertheless, they are all appear to be used (or at least wrapped) by cryptonite

Edited Oct 14, 2020 by Sylvain Henry
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking