HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulewide-word-0.1.9.0Haskell2010

Data.WideWord.Word64

This module provides an opaque unsigned 64 bit value with the usual set of typeclass instances one would expect for a fixed width unsigned integer type. Operations like addition, subtraction and multiplication etc provide a "modulo 2^64" result as one would expect from a fixed width unsigned word.

This just re-exports the Word64 type defined in Data.Word plus some functions like plusCarrySum and timesCarryProd that do the normal addition and multiplication but provide a carry in addition to the regular operation.

  • 10 values
  • Packagewide-word-0.1.9.0
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceWord64.hs