added NaN test for log10
added doc for log10