Skip to content
Tcl Source Code Check-in [7acb2424cc]
Login

Check-in [7acb2424cc]

Overview
Comment: * 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]
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7acb2424ccf17942ab70e8baa9f5fe4ecc6ed5f9
User & Date: mdejong on 2005-07-09 00:27:25.000
Other Links: manifest | tags
Context
2005-07-11
15:03
Purely style-guide cleansing check-in: 4b3d278317 user: dkf tags: trunk
2005-07-09
00:27
* generic/tclExecute.c (TclExecuteByteCode): Reimplement long and wide type integer divisio... check-in: 7acb2424cc user: mdejong tags: trunk
2005-07-06
15:17
* generic/tclLink.c: Simplified LinkTraceProc [Bug 1208108]. check-in: 828cc933d5 user: dgp tags: trunk
Changes