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

Modulefixed-0.3Haskell98

Numeric.Fixed

Fixed precision arithmetic. This format is the same format used by OpenGL ES 1's GLfixed data type:

One sign bit, 15 bits to the left of the decimal place and 16 bits to the right packed into a 32-bit integer.

  • 1 type
  • 2 values
  • Packagefixed-0.3
  • Exports3
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceFixed.hs
newtypenewtype Fixed
#

A signed 2s complement 15.16 scale fixed precision number

Constructors

Instances12Bounded, Enum, Eq, Floating, Fractional, Num, …