You are on page 1of 4

WHAT IS THE STICKY BIT USED IN THE IEEE 754??????

STICKY BIT

 Is a bit used in rounding in addition to guard and round that is set whenever there are nonzero bits to the right of
the round bit.
 Allows the computer to see the difference between (0.50 … 00)10 and (0.50 … 01)10 when rounding (MORE
ACCURACY).
 Is needed to detect a tie.
 Used to support round to the round to nearest even(when the Guard || Round || Sticky are 100 – always creates
a 0 in the least significant bit)
 is set to a 1 whenever a 1 bit shifts (right) through it.


ROUNDING WITH GUARD DIGITS (REFRESH)
 Adding 2.56×𝟏𝟎𝟎 to 2.34×𝟏𝟎𝟐 assuming that we have 3 significant decimal digits.

Shifting the smaller number to the right

- Thus, the answer of the sum is 2.3656×102 . We want values between 0-49 to round
down and 51-99 to round up, with 50 being the tiebreaker.
- The result after rounding up is 2.37×102
WHAT ABOUT THIS EXAMPLE???

 Adding 5.01×𝟏𝟎−𝟏 to 2.34×𝟏𝟎𝟐 assuming that we have 3 significant decimal digits.

0.0050 +
2.3400
______
2.3450

1) Rounding without sticky bit : 2.34

2) Rounding with sticky bit : 2.35


the sticky bit is set to 1, since there are nonzero bits o the right.

You might also like