summaryrefslogtreecommitdiffstats
path: root/tests/split.test
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 /tests/split.test
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 'tests/split.test')
0 files changed, 0 insertions, 0 deletions