method

size

v1_8_7_72 - Show latest stable - Class: Bignum
size()
public

Returns the number of bytes in the machine representation of big.

   (256**10 - 1).size   #=> 12
   (256**20 - 1).size   #=> 20
   (256**40 - 1).size   #=> 40