Representing Real Numbers.

A real number is a number that contains a decimal point. You can not place a decimal point inbetween 1′s and 0′s, so instead we use floating point representation. In Floating Point Representation real numbers are stored as two separate bits of data. Mantissa is the name of the location where the complete number without the decimal point is stored. Exponent is the name of the location where the number of places that the decimal point must be moved is stored. The point has to be moved to the very beginning of the number. The base in binary is always 2. .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s