Difference between revisions of "Point (decimal point, floating point)"
(Importing text file) |
m (→References: expand bibliodata) |
||
Line 25: | Line 25: | ||
====References==== | ====References==== | ||
− | <table><TR><TD valign="top">[a1]</TD> <TD valign="top"> D.M. Young, R.T. Gregory, "A survey of numerical mathematics" , Dover, reprint (1988) pp. 19–55</TD></TR></table> | + | <table><TR><TD valign="top">[a1]</TD> <TD valign="top"> D.M. Young, R.T. Gregory, "A survey of numerical mathematics" , Dover, reprint (1988) pp. 19–55 {{ZBL|0732.65002}}</TD></TR></table> |
Revision as of 20:43, 26 September 2016
A term pertaining to the representation of a real number by a fraction, and to the way real numbers are represented in digital computers.
Consider a number system with radix (base) , in which the representation of a real number is
(1) |
where the are integers between 0 and (inclusive). In the representation of by a -ary fraction
(2) |
the point (sometimes referred to in this context as a -ary point) separates the coefficients in (1) into those relating to non-negative powers of and those relating to negative powers.
Depending on the mode of representation of real numbers, digital computers may be divided into fixed-point and floating-point devices.
Fixed-point arithmetic assumes that all numbers have a modulus less than 1. A fixed number of digits is set aside to store the coefficients . If an operation involving numbers with fixed point produces a number with modulus greater than 1, the program run is interrupted and an overflow signal is produced. To avoid this situation, the programmer must check in advance for possible overflow and prevent it by suitable scaling. An example of a computer with fixed-point arithmetic was the "Setun" , which worked with the ternary number system. The difficulties of programming for fixed-point arithmetic make it clear why most modern electronic computers use floating-point arithmetic. A number in floating-point notation is written as
where is known as the order (or exponent) and the mantissa of . To store the order and mantissa of a floating-point number, one usually sets aside a fixed number of digits (defined by the length of a machine word), which imposes limits on the order. A floating-point number with is known as a normalized number. The results of arithmetic operations in a computer with floating-point arithmetic are usually automatically normalized by the arithmetic unit of the computer.
Comments
For other representations see Numbers, representations of. For an extensive discussion including arithmetic operations in floating-point arithmetic see [a1].
References
[a1] | D.M. Young, R.T. Gregory, "A survey of numerical mathematics" , Dover, reprint (1988) pp. 19–55 Zbl 0732.65002 |
Point (decimal point, floating point). Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Point_(decimal_point,_floating_point)&oldid=39315