1. Converting floating-point numbers from the hexadecimal ...

1. Converting floating-point numbers from the hexadecimal into the decimal format

The following diagram shows the arrangement of bits of IEEE floating-point numbers. Bit 31 = sign, bits 23 to 30 = exponent and bits from 0 to 22 = mantisse.

Bit

31

24 23

16 15

87

0

V E E E E E E E EMMMMMMMMMMMMMMMMMMMMMMM

Exponent

Mantisse

Sign

The representation of a floating-point number (-1)VZ ? m ? 2e comprises: VZ = sign (0 ? positive, 1 ? negative) e = exponent (e = exp - 127) m = mantisse (m = 1.M ; 1 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download