Signed 15.16 precision fixed point arithmetic
|Version on this page:||0.2.1.1|
|LTS Haskell 20.24:||0.3|
|Stackage Nightly 2023-06-04:||0.3|
|Latest on Hackage:||0.3|
Maintained by Edward A. Kmett
This version can be pinned in stack with:
Module documentation for 0.2.1.1
Depends on 1 package(full list with versions):
Used by 1 package in lts-2.22(full list with versions):
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.
Contributions and bug reports are welcome!
Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.
- Minor documentation improvements.
base >= 4.7properly 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
- Convert to/from Double to avoid precision issues.
tested-withto admit the support window is only 7.8+ at this point due to the use of
- Initial release