python Programming Glossary: decimal.py
python NotImplemented constant http://stackoverflow.com/questions/1062096/python-notimplemented-constant NotImplemented constant Looking thru decimal.py and it uses NotImplemented at many special methods e.g. class..
Print number in engineering format http://stackoverflow.com/questions/12311148/print-number-in-engineering-format examine to_eng_string in the Python 2.7.3 source tree Lib decimal.py from the gzipped source tar ball here it simply calls __str__..
Python: Is there a way to keep an automatic conversion from int to long int from happening? http://stackoverflow.com/questions/4362338/python-is-there-a-way-to-keep-an-automatic-conversion-from-int-to-long-int-from Frameworks Python.framework Versions 2.6 lib python2.6 decimal.py line 2225 in __pow__ ans ans._fix context File System Library.. Frameworks Python.framework Versions 2.6 lib python2.6 decimal.py line 1589 in _fix return context._raise_error Overflow 'above.. Frameworks Python.framework Versions 2.6 lib python2.6 decimal.py line 3680 in _raise_error raise error explanation decimal.Overflow..
Dividing decimals yields invalid results in Python 2.5 to 2.7 http://stackoverflow.com/questions/7590137/dividing-decimals-yields-invalid-results-in-python-2-5-to-2-7 Frameworks Python.framework Versions 2.7 lib python2.7 decimal.py line 548 in __new__ Invalid literal for Decimal r value File.. Frameworks Python.framework Versions 2.7 lib python2.7 decimal.py line 3844 in _raise_error raise error explanation decimal.InvalidOperation..
|