Testing interval arithmetic libraries, including their IEEE-1788 compliance
Nathalie Revol (ARIC), Luis Benet (UNAM), Luca Ferranti, Sergei Zhilin

TL;DR
This paper discusses the challenges of testing interval arithmetic libraries, evaluates existing testing practices, and introduces two frameworks, JInterval and ITF1788, to improve test coverage and compliance verification.
Contribution
It presents a comprehensive analysis of testing aspects for interval arithmetic libraries and introduces two dedicated frameworks to facilitate testing and IEEE-1788 compliance verification.
Findings
Existing libraries vary in test coverage and compliance
JInterval and ITF1788 frameworks simplify testing processes
Additional important tests are identified beyond frameworks
Abstract
As developers of libraries implementing interval arithmetic, we faced the same difficulties when it came to testing our libraries. What must be tested? How can we devise relevant test cases for unit testing? How can we ensure a high (and possibly 100%) test coverage? In this paper we list the different aspects that, in our opinion, must be tested, giving indications on the choice of test cases. Then we examine how several interval arithmetic libraries actually perform tests. Next, we introduce two frameworks developed specifically to gather test cases and to incorporate easily new libraries in order to test them, namely JInterval and ITF1788. Not every important aspects of our libraries fit in these frameworks and we list extra tests that we deem important, but not easy, to perform.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms · Low-power high-performance VLSI design · Parallel Computing and Optimization Techniques
