BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett
This version can be pinned in stack with:half-0.2.2.3@sha256:52386a48e7fd42f4a1d49799073bb3d04477168c88b6541d5f66637d7c2e838c,926

Module documentation for 0.2.2.3

Depends on 1 package(full list with versions):
Used by 1 package in lts-8.5(full list with versions):

half

Hackage Build Status

This package supplies half-precision floating point values w/ 1 bit of sign, 5 bits of exponent, 11 bits of mantissa trailing a leading 1 bit with proper underflow.

These arise commonly in GPU applications.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett

Changes

0.2.2.3

  • Avoid the new warnings for missing pattern synonym signatures on GHC 8

0.2.2.2

  • Fixed an issue with Storable that was causing crashing for some users.

0.2.2.1

  • Added support for older GHCs still. unsafeShiftR was only added in 7.4.

0.2.2

  • Fixed isInfinite.
  • Added support for older GHCs. On GHC < 7.8 the pattern synonyms are disabled.

0.2.1

  • Removed need for GeneralizedNewtypeDeriving and ScopedTypeVariables.

0.2.0.1

  • Fixed source repository location

0.2

  • Renamed toFloat to fromHalf for easier unqualified use.
  • Added a Read instance.

0.1.1

  • Added a CTYPE to the Half declaration so that it can be used with CApiFFI as an unsigned short.

0.1

  • Initial release