[go: nahoru, domu]

Jump to content

Normalized number: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Other bases: moved the position of "binary" (the old sentence was suggesting that all FP numbers were in base 2, which is not true, since base 10 is also sometimes used); removed an incorrect, off-topic sentence (if a number is a result of a computation, it does not need to be converted).
Undid revision 1208850579 by 86.27.248.11 (talk) First, not all rational numbers can be written with a finite number of digits in some basis. Moreover, including an infinite number of digits for normalized numbers may be useful from a theoretical point of view (e.g. for math proofs or specifications).
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Confused|Normal number}}
In [[applied mathematics]], a number is '''normalized''' when it is written in [[scientific notation]] with one non-zero decimal digit before the decimal point.<ref>{{citation|title=A Student's Guide to the Mathematics of Astronomy|first1=Daniel|last1=Fleisch|first2=Julia|last2=Kregenow|publisher=Cambridge University Press|year=2013|isbn=9781107292550|page=35|url=https://books.google.com/books?id=oZFfAAAAQBAJ&pg=PT35}}.</ref> Thus, a [[real number]], when written out in normalized scientific notation, is as follows:
In [[applied mathematics]], a number is '''normalized''' when it is written in [[scientific notation]] with one non-zero decimal digit before the decimal point.<ref>{{citation|title=A Student's Guide to the Mathematics of Astronomy|first1=Daniel|last1=Fleisch|first2=Julia|last2=Kregenow|publisher=Cambridge University Press|year=2013|isbn=9781107292550|page=35|bibcode=2013sgma.book.....F |url=https://books.google.com/books?id=oZFfAAAAQBAJ&pg=PT35}}.</ref> Thus, a [[real number]], when written out in normalized scientific notation, is as follows:
:<math>\pm d_0 . d_1 d_2 d_3 \dots \times 10^n</math>
:<math>\pm d_0 . d_1 d_2 d_3 \dots \times 10^n</math>


where ''n'' is an [[integer]], <math display="inline">d_0, d_1, d_2, d_3, \ldots,</math> are the [[numerical digit|digits]] of the number in base 10, and <math>d_0</math> is not zero. That is, its leading digit (i.e., leftmost) is not zero and is followed by the decimal point. This is the ''standard form'' of [[scientific notation]]. An alternative style is to have the first non-zero digit ''after'' the decimal point.
where ''n'' is an [[integer]], <math display="inline">d_0, d_1, d_2, d_3, \ldots,</math> are the [[numerical digit|digits]] of the number in base 10, and <math>d_0</math> is not zero. That is, its leading digit (i.e., leftmost) is not zero and is followed by the decimal point. Simply speaking, a number is ''normalized'' when it is written in the form of ''a'' × 10<sup>''n''</sup> where 1 ≤ |''a''| < 10 without leading zeros in ''a''. This is the ''standard form'' of [[scientific notation]]. An alternative style is to have the first non-zero digit ''after'' the decimal point.


==Examples==
==Examples==
Line 8: Line 9:
:<math>9.18082 \times 10^2,</math>
:<math>9.18082 \times 10^2,</math>


while the number &minus;0.00574012 in normalized form is
while the number {{val|-0.00574012}} in normalized form is
:<math>-5.74012 \times 10^{-3}.</math>
:<math>-5.74012 \times 10^{-3}.</math>


Line 25: Line 26:
==See also==
==See also==
*[[Significand]]
*[[Significand]]
*[[Normal number (computing)]]


==References==
==References==

Latest revision as of 09:16, 19 February 2024

In applied mathematics, a number is normalized when it is written in scientific notation with one non-zero decimal digit before the decimal point.[1] Thus, a real number, when written out in normalized scientific notation, is as follows:

where n is an integer, are the digits of the number in base 10, and is not zero. That is, its leading digit (i.e., leftmost) is not zero and is followed by the decimal point. Simply speaking, a number is normalized when it is written in the form of a × 10n where 1 ≤ |a| < 10 without leading zeros in a. This is the standard form of scientific notation. An alternative style is to have the first non-zero digit after the decimal point.

Examples[edit]

As examples, the number 918.082 in normalized form is

while the number −0.00574012 in normalized form is

Clearly, any non-zero real number can be normalized.

Other bases[edit]

The same definition holds if the number is represented in another radix (that is, base of enumeration), rather than base 10.

In base b a normalized number will have the form

where again and the digits, are integers between and .

In many computer systems, binary floating-point numbers are represented internally using this normalized form for their representations; for details, see normal number (computing). Although the point is described as floating, for a normalized floating-point number, its position is fixed, the movement being reflected in the different values of the power.

See also[edit]

References[edit]

  1. ^ Fleisch, Daniel; Kregenow, Julia (2013), A Student's Guide to the Mathematics of Astronomy, Cambridge University Press, p. 35, Bibcode:2013sgma.book.....F, ISBN 9781107292550.