summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authormdejong <mdejong>2005-07-09 00:27:25 (GMT)
committermdejong <mdejong>2005-07-09 00:27:25 (GMT)
commiteef683116916bd916b5d804a98110b9e7139dcc2 (patch)
treeacabb9156822cf78785eb37708fce262e826f50d /ChangeLog
parent199c02aeae93a951a592d2c5f1a9b336a891cc21 (diff)
downloadtcl-eef683116916bd916b5d804a98110b9e7139dcc2.zip
tcl-eef683116916bd916b5d804a98110b9e7139dcc2.tar.gz
tcl-eef683116916bd916b5d804a98110b9e7139dcc2.tar.bz2
* generic/tclExecute.c (TclExecuteByteCode):
Reimplement long and wide type integer division and modulus operations so that the smallest and largest integer values are handled properly. The divide operation is more efficient since it no longer does a modulus or negation and only checks for a remainder when the quotient will be a negative number. The modulus operation is now a bit more complex because of a number of special cases dealing with the smallest and largest integers. * tests/expr.test: Add test cases for division and modulus operations on the smallest and largest integer values for 32 and 64 bit types. [Patch 1230205]
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7bbb62a..00c06a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2005-07-08 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * generic/tclExecute.c (TclExecuteByteCode):
+ Reimplement long and wide type integer division
+ and modulus operations so that the smallest
+ and largest integer values are handled properly.
+ The divide operation is more efficient since
+ it no longer does a modulus or negation and
+ only checks for a remainder when the quotient
+ will be a negative number. The modulus operation
+ is now a bit more complex because of a number of
+ special cases dealing with the smallest and
+ largest integers.
+ * tests/expr.test: Add test cases for division
+ and modulus operations on the smallest and
+ largest integer values for 32 and 64 bit types.
+ [Patch 1230205]
+
2005-07-06 Don Porter <dgp@users.sourceforge.net>
* generic/tclLink.c: Simplified LinkTraceProc [Bug 1208108].