CSCI 223 Quiz IEEE754 Flashcards

1
Q

single precision

A

32 bit - float

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

double precision

A

64 bit - double

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

IEEE 754 conversion formula

A

(-1)^s (1.frac) 2^(exp-bias)

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

bias

A

2^(k-1) - 1 where k = # exponent bits

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

sign bit in single & double precision

A

MSB; 1 bit allocated

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

exp in single precision

A

8 bits

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

exp in double precision

A

11 bits

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

frac in single precision

A

23 bits

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

frac in double precision

A

52 bits

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

can only exactly represent numbers of the form

A

x * 2^k

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

bias for single precision

A

127

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

bias for double precision

A

1023

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

for frac, you fill in from the ? to ?

A

left to right; remaining spots to the right filled with zeroes

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