Empirical Research and Automatic Processing Method of Precision-specific Operation
Ran Wang, Xinrui He

TL;DR
This paper investigates the issue of increased errors in floating-point calculations at higher precision, defines 'precision-specific operations', and proposes an automatic method to detect and fix these errors, improving accuracy in scientific computations.
Contribution
It introduces the concept of precision-specific operations, develops a lightweight detection algorithm, and presents an automatic fixing approach validated on GLIBC.
Findings
Many precision-specific operations exist in scientific libraries
The proposed method effectively reduces calculation inaccuracies
Higher precision can sometimes increase errors in certain operations
Abstract
Significant inaccuracy often occurs during the process of mathematical calculation due to the digit limitation of floating point, which may lead to catastrophic loss. Normally, people believe that adjustment of floating-point precision is an effective way to solve this problem, since high-precision floating-point has more digits to store information. Thus, it is a prevalent method to reduce the inaccuracy in much floating-point related research, that performing all the operations with higher precision. However, we discover that some operations may lead to larger error in higher precision. In this paper, we define this kind of operation that generates large error due to precision adjustment a precision-specific operation. Furthermore, we propose a light-weight searching algorithm for detecting precision-specific operations and figure out an automatic processing method to fixing them. In…
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 · Computational Physics and Python Applications · Computer Graphics and Visualization Techniques
