fptest: IEEE754r floating point conformance tests
A series of floating point conformance tests for Haskell.
Currently implemented are:
QTrial, the floating point benchmark described in / IEEE Standard 754 for Binary Floating-Point
Arithmetic by Prof. W. Kahan <http:www.eecs.berkeley.edu~wkahanieee754statusIEEE754.PDF>
This can be run with a simple cabal run qtrial
.
FPTest runs a sequence of floating point test vectors generated by IBM's
FPGen Floating-Point Test Generator.
This is done either by interpreting the tests or by translating the tests
into a Haskell HUnit test suite script that can just be executed using
runhaskell
.
The IBM test vectors are available from
here.
You will, most likely, want the binary tests unless you have a decimal machine.
Only 32-bit float tests are provided (not 64-bit double ones) although FPTest supports Doubles.
The syntax of the test vectors can be found
here or in Chapter 4
<https://www.research.ibm.com/haifa/projects/verification/fpgen/papers/ieee-test-suite-v2.pdfs
Floating-Point Test-Suite for IEEE here>
[Skip to Readme]
Downloads
- fptest-0.2.2.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.2.1.0, 0.2.2.0, 0.2.3.0 (info) |
---|---|
Dependencies | base (>=4.7 && <4.8), HUnit (>=1.2 && <1.3), parsec (>=3.1 && <3.2), parsec3-numbers (>=0.0 && <0.1), QuickCheck (>=2.7 && <2.8), test-framework (>=0.8 && <0.9), test-framework-hunit (>=0.3 && <0.4), test-framework-quickcheck2 (>=0.3 && <0.4) [details] |
Tested with | ghc ==7.8.3 |
License | BSD-3-Clause |
Copyright | 2014 John Pavel and 2004 IBM Corp |
Author | John Pavel |
Maintainer | [email protected] |
Category | Math |
Home page | https://github.com/jrp2014/fptest |
Bug tracker | https://github.com/jrp2014/fptest/issues |
Source repo | head: git clone https://github.com/jrp2014/fptest.git -b master |
Uploaded | by jrp at 2014-09-09T12:48:11Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | fptest, qtrial |
Downloads | 2510 total (9 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2015-05-19 [all 7 reports] |