diff options
| author | mdejong <mdejong> | 2005-07-09 00:27:25 (GMT) | 
|---|---|---|
| committer | mdejong <mdejong> | 2005-07-09 00:27:25 (GMT) | 
| commit | 8474c3ea169ad605b87a644c1a24c1bcebce466c (patch) | |
| tree | acabb9156822cf78785eb37708fce262e826f50d /unix/tclUnixFile.c | |
| parent | 8c640d79950937c36a7b65b465010f8a3f58d853 (diff) | |
| download | tcl-8474c3ea169ad605b87a644c1a24c1bcebce466c.zip tcl-8474c3ea169ad605b87a644c1a24c1bcebce466c.tar.gz tcl-8474c3ea169ad605b87a644c1a24c1bcebce466c.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 'unix/tclUnixFile.c')
0 files changed, 0 insertions, 0 deletions
