Signed 15.16 precision fixed point arithmetic

Version on this page:0.2.1@rev:1
LTS Haskell 22.16:0.3
Stackage Nightly 2024-04-12:0.3
Latest on Hackage:0.3

See all snapshots fixed appears in

BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett
This version can be pinned in stack with:fixed-0.2.1@sha256:ebdccc1365c476d64ebe64237dc19d65d2ad11e03c265a88367bdf185f4c6980,912

Module documentation for 0.2.1

  • Numeric
    • Numeric.Fixed
Depends on 1 package(full list with versions):
Used by 1 package in lts-0.7(full list with versions):


Build Status

This package supplies signed fixed-precision values 15 bits above the decimal, 16 bits below.

These arise commonly in GPU applications and it is chosen to match the GLfixed specification.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on

-Edward Kmett



  • Fixed bug in signum


  • Convert to/from Double to avoid precision issues.

  • Change tested-with to admit the support window is only 7.8+ at this point due to the use of Data.Coerce


  • Initial release