Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

size of int in python

int_val = 999999999999999999
if int_val.bit_length() <= 63:
    print((-2 ** 63).bit_length())
else:
    print("Bigger that 64")
 
PREVIOUS NEXT
Tagged: #size #int #python
ADD COMMENT
Topic
Name
3+1 =