Lably
Skip to content

Normal number (computing)

  • 1 min read
  • 1 chapters

Related on Lably

Through Computing and Numerical digit

The magnitude of the smallest normal number in a format is given by:

bEmin

where b is the base (radix) of the format (like common values 2 or 10, for binary and decimal number systems), and Emin depends on the size and layout of the format.

Similarly, the magnitude of the largest normal number in a format is given by

bEmax⋅(b−b1−p)

where p is the precision of the format in digits and Emin is related to Emax as:

Emin≡Δ1−Emax=(−Emax)+1

In the IEEE 754 binary and decimal formats, b, p, Emin, and Emax have the following values:

For example, in the smallest decimal format in the table (decimal32), the range of positive normal numbers is 10−95 through 9.999999 × 1096.

Non-zero numbers smaller in magnitude than the smallest normal number are called subnormal numbers (or denormal numbers).

Zero is considered neither normal nor subnormal.

More in From Lably lessons