Signed 15.16 precision fixed point arithmetic

Version on this page:
LTS Haskell 12.22:
Stackage Nightly 2018-12-15:
Latest on Hackage:

See all snapshots fixed appears in

BSD3 licensed by Edward A. Kmett
Maintained by Edward A. Kmett

Module documentation for

There are no documented modules for this package.


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


  • Minor documentation improvements.
  • Require base >= 4.7 properly in the source repository as the implementation uses coerce, so it doesn’t work on GHC < 7.8. This was fixed by maintenance releases to hackage previously.


  • 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
Depends on 1 package:
Used by 3 packages:
comments powered byDisqus