normalization - Deal with normalisation of a binary digit -



normalization - Deal with normalisation of a binary digit -

binary 0010 0001 0110 (note: floating point 8 bit mantissa , 4 bits exponent) correctly represents 16 ½ not in normalised form.

i need convert normalised form(start 01) 16.5. try

mantissa: 0.1000010

exponent: 0010 moved 2 points exponent 2.

but reply should 16.5 mantissa 0100 0010 , exponent 0101, going wrong

16.5 decimal 10000.1 binary.

move binary-point right of leading 1:

1.00001 exponent 4

exponents represented in "biased" form (instead of two's complement). 4 bits, bias should 7. 4 + 7 = 11, in binary 1011.

getting rid of leading 1 in significand (which assumed), putting 8 bits , putting after exponent yields:

1011 00001000

but unusual floating point representation have no sign bit. leading sign bit, 4 bit exponent , 7 bit significand becomes:

0 1011 0000100

normalization

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -