@saiavinashiitr -that last line is an Excel formula. For example, to find out how many bits it takes to hold the value of 100!, type this into an Excel spreadsheet cell: =ROUNDUP(LOG(FA CT(100),2),0)
FACT(100) returns the value of 100!, call it a.
LOG(a,2) returns the base 2 logarithm of 100!., call it b.
ROUNDUP(b,0) rounds the logarithm up to the next integer.
Comment