added NaN test for log2
added NaN test for log2
added doc for log2