This computes the number of common most-significant bits in the mantissas of two double-precision numbers. It does not count the hidden bit, which is always 1. It does not determine whether the numbers have the same exponent - if they do not, the value computed by this function is meaningless.
-
Parameters:
-
num1 - num1 the first number
-
num2 - num2 the second number
-
Returns:
-
the number of common most-significant mantissa bits