Abstract

For the past few years, we have been developing the Exact Scientific Computational Library (ESCL) using P-adic arithmetic. The effort has been focusing on converting all rational number operations to integer calculation, and fully taking the advantage of fast integer multiplication of modern computer architectures. By properly selecting prime numbers as the bases and practically choosing the length r for P-adic expansion of rational numbers, we have shown some promising results for large matrix operations. One problem that we have confronted is the overflow of the prescribed bound in P-adic arithmetic, Hensel code originally defined by Krishnamurthy, Rao, and Subramanian [3] may give an invalid Hensel code after arithmetic operations if the length r of the P-adic expansion is not properly chosen. In this paper, we will show and prove the periodicity after arithmetic operations in P-adic number systems. If we can represent all the P-adic sequences with a complete period during all the calculations, then we are sure to be able to carry out all the arithmetic operations exactly. Two formulas for the maximum length of the P-adic expansion's periodic part after the P-adic arithmetic operations are given in this paper.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.