Posted on Leave a comment

How Integer and Floating point numbers are stored in computers

The number has two parts.

  1. Integer Part
  2. Fraction Part

Integers are numbers without the fraction part.
They can range from negative infinity to positive infinity.
Integers are further divided into two parts.

  1. Unsigned number (0 to (2^n – 1); here n = width of data bus)
  2. Signed Numbers ((-2^(n-1)) to (2^n – 1))

Fractional numbers or Floating Point numbers are stored in a standard format known as IEEE 754.
IEEE 754 Floating-Point Standard comes in three different modes.

  1. Single precision Format (32 bits)
  2. Double-precision format


Posted on Leave a comment

Octal Number System

In the octal Number system, we start counting from 0 which goes up to 7. Making only 8 digits. Then after 7, we start by incrementing 1 to the tenth place and start counting from 0 up to 17.

In the video, I have described what the octal number system is and how we can convert the octal number to decimal numbers.

Just like we have fractions in decimals like 1.234, 3.9864 etc. we also have fractions in the octal number system as well like 7741.2225, 12345.654 etc.

Posted on Leave a comment

Binary Number System

In a binary number system, there are only two possible states, HIGH state and LOW state.
These two states can be represented by current levels, voltage levels, bumps and valleys on the surface of CD/DVD etc.

The two states are generally represented by a ‘0’ for LOW state and by a ‘1’ for the HIGH state.

Using the combination of 0’s(LOW) and 1’s(HIGH), we can represent the other number systems such as hexadecimal, octal or decimal into
binary number system.

Bit Nibble Byte Word Dword Qword