doc clarified and typos fixed
fix ilogb problem on ubuntu: libm precedence