half: Half-precision floating-point

[ bsd3, library, numeric ] [ Propose Tags ] [ Report a vulnerability ]

Half-precision floating-point.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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
Change log CHANGELOG.markdown
Dependencies base (>=4.5 && <5), binary (>=0.5.1.0 && <0.9), deepseq (>=1.3.0.0 && <1.6), ghc-prim, template-haskell [details]
Tested with ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.3
License BSD-3-Clause
Copyright Copyright (C) 2014 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Revised Revision 2 made by ryanglscott at 2024-04-23T10:33:06Z
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:53:04Z
Distributions Arch:0.3.1, Debian:0.3, Fedora:0.3.1, LTSHaskell:0.3.1, NixOS:0.3.1, Stackage:0.3.1, openSUSE:0.3.1
Reverse Dependencies 16 direct, 2302 indirect [details]
Downloads 43224 total (290 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-01-04 [all 1 reports]

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