 The log2 function is included in the standard C mathematical functions . The default version of this function takes double precision arguments but variants of it allow the argument to be single @-@ precision or to be a long double . In MATLAB , the argument to the log2 function is allowed to be a negative number , and in this case the result will be a complex number . 
