fp-ieee

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:

Please see the README on GitHub at https://github.com/minoki/haskell-floating-point/tree/master/fp-ieee#readme


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5
Change log ChangeLog.md
Dependencies base (>=4.12 && <5), ghc-bignum (>=1.0 && <1.1), integer-gmp (>=1.0 && <1.1), integer-logarithms (>=1 && <1.1) [details]
License BSD-3-Clause
Copyright 2020 ARATA Mizuki
Author ARATA Mizuki
Maintainer minorinoki@gmail.com
Category Numeric, Math
Home page https://github.com/minoki/haskell-floating-point#readme
Bug tracker https://github.com/minoki/haskell-floating-point/issues
Source repo head: git clone https://github.com/minoki/haskell-floating-point
Uploaded by aratamizuki at 2020-12-27T13:35:10Z

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
f16c

Use F16C instructions on x86

Disabled
float128

Support Float128 via float128 package

Disabled
fma3

Use FMA3 instructions on x86

Disabled
half

Support Half (float16) via half package

Disabled
pure-hs

Disable FFI

Disabled
sse4_1

Use SSE4.1 instructions on x86

Disabled
Automatic Flags
NameDescriptionDefault
ghc-bignum

Use ghc-bignum package

Enabled
integer-gmp

Use integer-gmp package

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for fp-ieee-0.1.0

[back to package description]

fp-ieee: IEEE 754 operations for floating-point types

This library provides IEEE 754-compliant operations, including

Some operations (e.g. fusedMultiplyAdd) can make use of the native instruction in the architecture.

For non-native targets, "Pure Haskell" mode is supported via a package flag.

Most operations require only RealFloat constraint, but RealFloatNaN is needed by some operations that access the sign and payload of NaNs.