
TL;DR
This paper introduces twofolds arithmetic in C and C++, providing interfaces and an implementation to improve floating-point accuracy tracking in high-performance computing, with easy-to-use coding and demonstrated effectiveness.
Contribution
It presents new C and C++ interfaces and an implementation for twofolds arithmetic, enhancing accuracy tracking in floating-point computations.
Findings
Plain C enables high-performance twofolds arithmetic
C++ interface simplifies coding with twofolds
Testing shows improved accuracy in computations
Abstract
Here I propose C and C++ interfaces and experimental implementation for twofolds arithmetic. I introduce twofolds in my previous article entitled "Twofold fast arithmetic" for tracking floating-point inaccuracy. Testing shows, plain C enables high-performance computing with twofolds. C++ interface enables coding as easily as ordinary floating-point numbers. My goal is convincing you to try twofolds; I think assuring accuracy of math computations is worth its cost. Code and use examples available at my web site, references inside.
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 · Parallel Computing and Optimization Techniques · Digital Filter Design and Implementation
