Lecture 6: Decimal Real Numbers Flashcards

1
Q

Name two ways to represent decimal real numbers in for computing purposes.

A

Fixed point binary and IEEE 754 standard.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain exponent-mantissa format and normalised form.

A

Having a mantissa multiplied by an exponent and normalised form is the same but explicitly with only one non-zero digit to the left of decimal point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are hte drawbacks of fixed-point binary?

A

Uses up lots of bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is the 32-bit IEE standard broken up?

A
  • 1-bit sign for mantissa
  • 8-bit exponent
  • 23-bit mantissa
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What notation is used for storing exponent? Explain it.

A

Excess 127.
E.g. 130. 130-127 = 3. Exponent is 3.
125. 125-127 = -2. Exponent is -2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

For excess 127 notation, what do 0 and 255 represent?

A

0, infinity and NaN, respectively. Infinity and NaN are both exponent 255 but infinity is mantissa = 0 and NaN is any non zero number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly