Physics – Computational Physics
Scientific paper
2010-09-29
Physics
Computational Physics
5 figures, accepted for publication in International Journal of Computational Science and Engineering
Scientific paper
In basic computational physics classes, students often raise the question of how to compute a number that exceeds the numerical limit of the machine. While technique of avoiding overflow/underflow has practical application in the electrical and electronics engineering industries, it is not commonly utilized in scientific computing, because scientific notation is adequate in most cases. We present an undergraduate project that deals with such calculations beyond a machine's numerical limit, known as arbitrary precision arithmetic. The assignment asks students to investigate the approach of calculating the exact value of a large number beyond the floating point number precision, using the basic scientific programming language Fortran. The basic concept is to utilize arrays to decompose the number and allocate finite memory. Examples of the successive multiplication of even number and the multiplication and division of two overflowing floats are presented. The multiple precision scheme has been applied to hardware and firmware design for digital signal processing (DSP) systems, and is gaining importance to scientific computing. Such basic arithmetic operations can be integrated to solve advanced mathematical problems to almost arbitrarily-high precision that is limited by the memory of the host machine.
Chen Hong-Yu
Chen Yung-Ko
Wang Chih-Yueh
Yin Chen-Yang
No associations
LandOfFree
Arithmetic Operations Beyond Floating Point Number Precision does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with Arithmetic Operations Beyond Floating Point Number Precision, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Arithmetic Operations Beyond Floating Point Number Precision will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-523903