Computer organization course 1. What is the structural difference between the different ways of representing floating po
Posted: Mon May 09, 2022 6:04 am
Computer organization course
1. What is the structural difference between the different ways
of representing floating point numbers (half, single, double and
quad-precision)? Tell e.g. about how the floating point numbers are
represented in the computer, the largest and smallest value that
can be represented, etc. (2 p)
2. What are the advantages / disadvantages of increasing the
float precision?
3. 1000 1111 0011 1100 is to be interpreted as a floating point
number with IEEE 754 format, in half precision (16 bits). What will
be the decimal?
4. Convert the following numbers to the IEEE 754 binary format
in single (32 bit) and double (64 bit) representation.
a) 356.75
b) -11.5
5.
a) Write the decimal number 13.12345678 as a semi-precision
floating point number as best you can.
b) If you convert the binary string you get again to a decimal
number, what number will it be?
c) The number 13.125 is represented in half-precision as 0 10010
1010010000 (Note: a zero was previously missing). What is the
number 13.12499 represented as in half-precision?
1. What is the structural difference between the different ways
of representing floating point numbers (half, single, double and
quad-precision)? Tell e.g. about how the floating point numbers are
represented in the computer, the largest and smallest value that
can be represented, etc. (2 p)
2. What are the advantages / disadvantages of increasing the
float precision?
3. 1000 1111 0011 1100 is to be interpreted as a floating point
number with IEEE 754 format, in half precision (16 bits). What will
be the decimal?
4. Convert the following numbers to the IEEE 754 binary format
in single (32 bit) and double (64 bit) representation.
a) 356.75
b) -11.5
5.
a) Write the decimal number 13.12345678 as a semi-precision
floating point number as best you can.
b) If you convert the binary string you get again to a decimal
number, what number will it be?
c) The number 13.125 is represented in half-precision as 0 10010
1010010000 (Note: a zero was previously missing). What is the
number 13.12499 represented as in half-precision?