[1.1 Computer composition and architecture] Representation of floating point numbers

1. Representation of floating point numbers

N=mantissa*base(exponent/also called exponent)
For example: 1.25x10 5 ; 1.255x103

2. Operation process

Formatting order > mantissa calculation > results

3.Features

1. Generally, the mantissa is complemented and the exponent code is framecoded
2. The number of digits in the exponent code determines the range of number representation. The more digits, the greater the range 4. When aligning the order, the decimals should be aligned with the large numbers
3. The number of digits in the mantissa determines the effective precision of the number. The more digits, the higher the precision.

example:
Insert image description here
Analysis:Select C m is the mantissa that affects the precision of floating-point numbers, and e is the exponent that affects the range of floating-point numbers.

Guess you like

Origin blog.csdn.net/qq_43196617/article/details/134956403