अजगर प्रलेखनअतिप्रवाह वास्तव में उठाया गया है?
exception OverflowError
Raised when the result of an arithmetic operation is too large to
be represented. This cannot occur for long integers (which would
rather raise MemoryError than give up) and for most operations with
plain integers, which return a long integer instead. Because of the
lack of standardization of floating point exception handling in C,
most floating point operations also aren’t checked.
दरअसल के अनुसार, इस त्रुटि जब पूर्णांकों बह निकला स्वचालित रूप से लंबे समय के लिए परिवर्तित नहीं कर रहे थे समझ में बनाया है। इसी तरह, inf
पर अतिप्रवाह तैरता है। मुझे वास्तव में कोई ऐसी स्थिति दिखाई नहीं देती है जहां मानक दुभाषिया अभी भी ओवरफ्लो इरर बढ़ा सकता है। क्या ऐसा कोई मामला है? बस एक जिज्ञासा।
ठीक है, दिलचस्प है। मुझे उम्मीद है कि इसे "inf" में परिवर्तित किया जाएगा। >>> एक = 1e1000 >>> inf' –