In
computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computer, computing machinery. It includes the study and experimentation of algorithmic processes, and the development of both computer hardware, hardware and softw ...
, a normal number is a non-zero number in a
floating-point representation
In computing, floating-point arithmetic (FP) is arithmetic on subsets of real numbers formed by a '' significand'' (a signed sequence of a fixed number of digits in some base) multiplied by an integer power of that base.
Numbers of this for ...
which is within the balanced range supported by a given floating-point format: it is a floating point number that can be represented without leading zeros in its
significand
The significand (also coefficient, sometimes argument, or more ambiguously mantissa, fraction, or characteristic) is the first (left) part of a number in scientific notation or related concepts in floating-point representation, consisting of its s ...
.
The magnitude of the smallest normal number in a format is given by:
where ''b'' is the base (radix) of the format (like common values 2 or 10, for binary and decimal number systems), and ''
'' depends on the size and layout of the format.
Similarly, the magnitude of the largest normal number in a format is given by
:
where ''p'' is the precision of the format in
digits and ''
'' is related to ''
'' as:
In the
IEEE 754
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point arithmetic originally established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). The standard #Design rationale, add ...
binary and decimal formats, ''b'', ''p'',
, and ''
'' 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 × 10
96.
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.
See also
*
Normalized number
*
Half-precision floating-point format
In computing, half precision (sometimes called FP16 or float16) is a binary floating-point computer number format that occupies 16 bits (two bytes in modern computers) in computer memory. It is intended for storage of floating-point values in ...
*
Single-precision floating-point format
Single-precision floating-point format (sometimes called FP32 or float32) is a computer number format, usually occupying 32 bits in computer memory; it represents a wide dynamic range of numeric values by using a floating radix point.
A floa ...
*
Double-precision floating-point format
Double-precision floating-point format (sometimes called FP64 or float64) is a floating-point number format, usually occupying 64 bits in computer memory; it represents a wide range of numeric values by using a floating radix point.
Double pre ...
References
{{DEFAULTSORT:Normal Number (Computing)
Computer arithmetic