[Python-checkins] python/nondist/sandbox/decimal Decimal.py,1.7,1.8
eprice@users.sourceforge.net
eprice@users.sourceforge.net
Tue, 27 May 2003 15:46:42 -0700
- Previous message: [Python-checkins] python/nondist/sandbox/decimal Decimal.py,1.6,1.7
- Next message: [Python-checkins] python/nondist/sandbox/decimal/tests abs.decTest,1.1,1.2 add.decTest,1.1,1.2 base.decTest,1.1,1.2 clamp.decTest,1.1,1.2 compare.decTest,1.1,1.2 decimal64.decTest,1.1,1.2 divide.decTest,1.1,1.2 divideint.decTest,1.1,1.2 inexact.decTest,1.1,1.2 integer.decTest,1.1,1.2 max.decTest,1.1,1.2 min.decTest,1.1,1.2 minus.decTest,1.1,1.2 multiply.decTest,1.1,1.2 normalize.decTest,1.1,1.2 plus.decTest,1.1,1.2 power.decTest,1.1,1.2 randomBound32.decTest,1.1,1.2 randoms.decTest,1.1,1.2 remainder.decTest,1.1,1.2 remainderNear.decTest,1.1,1.2 rescale.decTest,1.1,1.2 rounding.decTest,1.1,1.2 squareroot.decTest,1.1,1.2 subtract.decTest,1.1,1.2 testall.decTest,1.1,1.2 trim.decTest,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/nondist/sandbox/decimal
In directory sc8-pr-cvs1:/tmp/cvs-serv14021
Modified Files:
Decimal.py
Log Message:
Updating tests since the new ones are incompatible with the old ones.
Index: Decimal.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/decimal/Decimal.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Decimal.py 27 May 2003 22:27:01 -0000 1.7
--- Decimal.py 27 May 2003 22:46:40 -0000 1.8
***************
*** 1904,1908 ****
--- 1904,1910 ----
else:
exp = self._exp // 2
+ context.prec += ans._exp - exp
ans = ans.rescale(Decimal(exp), context=context)
+ context.prec = firstprec
context.regard_flags(flags)
context.Emax, context.Emin = Emax, Emin
- Previous message: [Python-checkins] python/nondist/sandbox/decimal Decimal.py,1.6,1.7
- Next message: [Python-checkins] python/nondist/sandbox/decimal/tests abs.decTest,1.1,1.2 add.decTest,1.1,1.2 base.decTest,1.1,1.2 clamp.decTest,1.1,1.2 compare.decTest,1.1,1.2 decimal64.decTest,1.1,1.2 divide.decTest,1.1,1.2 divideint.decTest,1.1,1.2 inexact.decTest,1.1,1.2 integer.decTest,1.1,1.2 max.decTest,1.1,1.2 min.decTest,1.1,1.2 minus.decTest,1.1,1.2 multiply.decTest,1.1,1.2 normalize.decTest,1.1,1.2 plus.decTest,1.1,1.2 power.decTest,1.1,1.2 randomBound32.decTest,1.1,1.2 randoms.decTest,1.1,1.2 remainder.decTest,1.1,1.2 remainderNear.decTest,1.1,1.2 rescale.decTest,1.1,1.2 rounding.decTest,1.1,1.2 squareroot.decTest,1.1,1.2 subtract.decTest,1.1,1.2 testall.decTest,1.1,1.2 trim.decTest,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]