method

size

v1_9_3_125 - 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