tags:

views:

23

answers:

1

for example we have two floating point numbers task is calculate exponent diffrence or e_x-e_y what means exponent difference?

+1  A: 

You'll want to look at the specification for IEEE-754 floating point numbers. Wikipedia has a description here. Your professor probably wants you to determine the exponential components of the floats you're working with and compute the integer difference between them.