GHC BigNum library

Version on this page:1.2
LTS Haskell 20.8:1.2
Stackage Nightly 2023-01-25:1.3
Latest on Hackage:1.3

See all snapshots ghc-bignum appears in

BSD-3-Clause licensed by Sylvain Henry
Maintained by
This version can be pinned in stack with:ghc-bignum-1.2@sha256:5a5725f5aeff2d6ddd0022a009bb3a87d6ac4bbfd02e88dcd93ded2b13e1475b,2788

This package provides the low-level implementation of the standard BigNat, Natural and Integer types.


Changelog for ghc-bignum package


  • Moved naturalToDouble# and naturalToFloat# to base package


  • Moved integerToDouble# and integerToFloat# to base package with fixed rounding (#15926, #17231, #17782)
  • Added Eq and Ord instances for BigNat (#19647)
  • Bump in-tree GMP to version 6.2.1
  • Support for autoconf >= 2.70 especially on Windows (#19189)
  • Fixed extra-source-files in .cabal file
  • Fixed incorrect declaration in .hs-boot file (#19638)