[go: nahoru, domu]

Jump to content

Normalized number: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Tagged as a math stub
Some adjustments and explanations.
Line 1: Line 1:
{{Unreferenced|date=February 2009}}
{{Unreferenced|date=February 2009}}
A [[real number]] is called '''normalized''', if it is in the form:
A [[real number]] when written out in the '''normalized''' form is as follows:
:<math>\pm d_0.d_1d_2d_3\dots\times 10^n</math>
:<math>\pm d_0.d_1d_2d_3\dots\times 10^n</math>
where ''n'' is an [[integer]], <math>d_0,</math> <math>d_1,</math> <math>d_2</math>, <math>d_3</math>... are the [[Numerical digit|digits]] of the number in base 10, and <math>d_0</math> is not zero.
where ''n'' is an [[integer]], <math>d_0,</math> <math>d_1,</math> <math>d_2</math>, <math>d_3</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 form of [[Scientific_notation|scientific notation]]. An alternative style is to have the first non-zero digit ''after'' the decimal point.


As examples, the number <math>x=918.082</math> in normalized form is
As examples, the number <math>x=918.082</math> in normalized form is
Line 8: Line 8:
while the number &minus;0.00574012 in normalized form is
while the number &minus;0.00574012 in normalized form is
:<math>-5.74012\times 10^{-3}.</math>
:<math>-5.74012\times 10^{-3}.</math>
Clearly, any non-zero real number can be normalized.
Clearly, any non-zero real number can be normalized.


The same definition holds if the number is represented in another [[radix]] (that is, base of enumeration), rather than base 10.
The same definition holds if the number is represented in another [[radix]] (that is, base of enumeration), rather than base 10.
Line 16: Line 16:
are integers between <math>0</math> and <math>b-1</math>.
are integers between <math>0</math> and <math>b-1</math>.


Converting a number to base 2 and normalizing it are the first steps in storing a real number as a
Converting a number to base two and normalizing it are the first steps in storing a real number as a binary [[floating-point number]] in a computer, though bases of eight and sixteen are also used.
[[floating-point number]] in a computer.


==See also==
==See also==

Revision as of 12:39, 26 September 2014

A real number when written out in the normalized form 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. This is the form of scientific notation. An alternative style is to have the first non-zero digit after the decimal point.

As examples, the number in normalized form is

,

while the number −0.00574012 in normalized form is

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

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 .

Converting a number to base two and normalizing it are the first steps in storing a real number as a binary floating-point number in a computer, though bases of eight and sixteen are also used.

See also