half: Half-precision floating-point

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

Half-precision floating-point.


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.2, 0.2.0.1, 0.2.1, 0.2.2, 0.2.2.1, 0.2.2.2, 0.2.2.3, 0.3, 0.3.1, 0.3.1, 0.3.2
Change log CHANGELOG.markdown
Dependencies base (>=4.5 && <5), binary (>=0.5.1.0 && <0.9), deepseq (>=1.3.0.0 && <1.5), ghc-prim, template-haskell [details]
License BSD-3-Clause
Copyright Copyright (C) 2014 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Category Numeric
Home page http://github.com/ekmett/half
Bug tracker http://github.com/ekmett/half/issues
Source repo head: git clone git://github.com/ekmett/half.git
Uploaded by phadej at 2021-01-04T15:52:43Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for half-0.3.1

[back to package description]

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