fptest: IEEE754r floating point conformance tests
A series of floating point conformance tests for Haskell.
Currently implemented are:
==QTrial
QTrial is 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
FPTest runs a sequence of floating point test vectors generated by IBM's
FPGen Floating-Point Test Generator.
This is done in two ways:
* By interpreting the tests
* 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 founds
here or in Chapter 4
of <https://www.research.ibm.com/haifa/projects/verification/fpgen/papers/ieee-test-suite-v2.pdfs
Floating-Point Test-Suite for IEEE>
[Skip to Readme]
Downloads
- fptest-0.2.1.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] |
License | BSD-3-Clause |
Copyright | 2014 John Pavel and 2004 IBM Corp |
Author | John Pavel |
Maintainer | jrp@dial.pipex.com |
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-08T21:30:14Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | fptest, qtrial |
Downloads | 2445 total (6 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-28 [all 6 reports] |