Floating Point Flashcards

1
Q

Explain how multiplication/division is computed.

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

Explain the following(regarding addition/substraction):

  • Alignment
  • Normalize and round
A

Alignment:

  • Make the two numbers to have the same exponent.
  • We do that by changing the smaller exponent.
    • Num1 exp = 2 Num2 exp = 4.
      • we change Num1 to have exp 4
    • Num1 exp = -2 Num2 exp = -4
      • we change Num2 to have exp -2.

Normalize and round:

  • Normalize
    • Make the number to be of the form 1.<digits></digits>
  • add to the normalize number 0.<digits>5</digits>
  • return the sum with the form 1.<digits></digits>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the module of addition/substraction

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