Texas Instruments TMS320C3x User Manual

Page 116

Advertising
background image

Floating-Point Formats

5-11

Data Formats and Floating-Point Operation

Example 5–2. Negative Number

0 1 C 0 0 0 0 0

Hex value

0000 0001 1100 0000 0000 0000 0000 0000

Binary value

Exponent =

0000 0001

2

= 1

Sign

=

1

Fraction =

.10000

2

Value

=

10.1

2

×

2

1

= 101

2

. = –3

Fraction

Implied

Sign

Example 5–3. Fractional Number

F B 4 0 0 0 0 0

Hex value

1111 1011 0100 0000 0000 0000 0000 0000

Binary value

Exponent =

1111 1011

2

= –5

Sign

=

0

Fraction =

.10000

2

Value

=

01.1

2

×

2

–5

= .000011

2

= 3/64

Fraction

Implied

Sign

2

–5

2

–6

Advertising