DocumentCode :
1648642
Title :
Introduction of a new data type to a high-level language to improve accuracy of computation
Author :
Boujarwah, Abdulazeez S. ; Tapia, Moiez A.
Author_Institution :
Dept. of Electr. & Comput. Eng., Miami Univ., Coral Gables, FL, USA
fYear :
1988
Firstpage :
126
Lastpage :
130
Abstract :
It is proposed that a novel type, called a rational type, be added to the set of existent types in high-level languages to enhance the accuracy of computation. Most fractions cannot be represented exactly in the real type or floating-point type that are currently available in high-level languages. In the proposed type, a real number is expressed as a ratio of two integers. It has already been established theoretically that computation using a rational format gives more accurate results for a class of problems than that using a floating-point format. A statistical analysis done by the authors showed that computation of values of natural logarithm, exponential, sine, square root, arctangent and the nth power of a variable were found to be more accurate virtually all the time when the rational format was used instead of the floating-point format
Keywords :
data structures; digital arithmetic; high level languages; accuracy of computation; data type; fractions; high-level language; rational type; Floating-point arithmetic; High level languages; Statistical analysis; Supercomputers;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computers and Communications, 1988. Conference Proceedings., Seventh Annual International Phoenix Conference on
Conference_Location :
Scottsdale, AZ
Print_ISBN :
0-8186-0830-7
Type :
conf
DOI :
10.1109/PCCC.1988.10056
Filename :
10056
Link To Document :
بازگشت