The fast-math package

[Tags: bsd3, library]

The Numeric.FastMath module brings into scope RULES for Floats and Doubles that rewrite x-x, 0*x and x*0 to 0. This disagrees with IEEE-754 when x is NaN, but is acceptable for most applications.

Importing Numeric.FastMath.Infinitesimal also rewrites 0/x to 0.

Optimisation (at least -O1) must be enabled for any RULES to take effect.

Properties

Versions0.1, 1.0, 1.0.1
Change logNone available
Dependenciesbase (>=3 && <5) [details]
LicenseBSD3
Copyright© 2011, Liyang HU
AuthorLiyang HU
Maintainerfast-math@liyang.hu
CategoryMath, Numeric
UploadedSun May 8 09:35:05 UTC 2011 by LiyangHu
DistributionsNixOS:1.0.1
Downloads562 total (23 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees