]> granicus.if.org Git - python/commit
Raise InvalidOperation if exponents of zeros are clamped during exact
authorStefan Krah <skrah@bytereef.org>
Thu, 5 Apr 2012 13:21:58 +0000 (15:21 +0200)
committerStefan Krah <skrah@bytereef.org>
Thu, 5 Apr 2012 13:21:58 +0000 (15:21 +0200)
commit0774e9b9f57197380c796d36353344cb95ed07bf
tree89d37955fb4526cf0f2a561b369788971746e93f
parente7eee01f3697835d168f82357a6a97d7ca40d99a
Raise InvalidOperation if exponents of zeros are clamped during exact
conversion in the Decimal constructor. Exact here refers to the
representation and not to the value (clamping does not change the value).
Lib/test/test_decimal.py
Modules/_decimal/_decimal.c
Modules/_decimal/tests/deccheck.py