limit

Python Number Limit

老子叫甜甜 提交于 2020-11-26 04:59:28
问题 I know in most, if not all programming languages, integers, floats etc all have a maximum amount they can hold, either unsigned or signed. Eg pascal's int type can only hold up to 32768 ~. What i wanted to know was, what is the limit on python's int and floating point variables. I tried a little program to produce extremely large numbers, but i ran into no errors. Does it even have limits on how big these variables can be ? I looked in the documentation and couldn't find what i was looking