<<
FloatingPoint Repre s entation
Michael L. Overton
copyr ight 1996
1 Computer Repre s entation of Numbers
Computers whichworkwith real ar ithmetic us e a system calle d oating point.
Suppose a real number x has thebinary expans ion
E
x = m 2 ; where 1 m<2
and
m =(b :b b b :::) :
0 1 2 3 2
Tostore a number in oating p oint repre s entation, a computer word i s divided
into 3 elds, repre s entingthe s ign, theexponent E ,andthe s igni cand m
re sp ectively. A 32-bit word could b e divided into elds as follows: 1 bit
for the s ign, 8 bitsfortheexponentand 23 bits for the s igni cand. Since
the exp onent eld i s 8 bits, it can b e us e d to represent exp onentsbetween