HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-bignum-1.3Haskell2010

GHC.Num.Backend.Native

  • 35 values
  • Packageghc-bignum-1.3
  • Exports35
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceNative.hs
valuebignat_gcd_word_word :: Word# -> Word# -> Word#
#

This operation doesn't really belongs here, but GMP's one is much faster than this simple implementation (basic Euclid algorithm).

Ideally we should make an implementation as fast as GMP's one and put it into GHC.Num.Primitives.