An archive of Mark's Spring 2018 Numerical Analysis course.

A floating point representation

mark

Suppose the sign, mantissa, and exponent of a 64 bit number are

0\,\,0100100000000000000000000000000000000000000000000011\,\,00001100100.

What number does this represent?

Cornelius

This represents the number 1.0056250784591358e-248.
I obtained this value by using the following code:

e = 2**3+2**6+2**7
c = 2**-1 + 2**-4 + 2**-51 + 2**-52
s = 0

(-1)**s*c*2.0**(e-1023)