log2(1000000000) code example Example: log(10000000/1000) Example for finding IDF -Inverse Document Frequency