Copyright | (C) 2014-15 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Numeric.Fixed
Description
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.
Documentation
A signed 2s complement 15.16 scale fixed precision number