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: |
7acb2424ccf17942ab70e8baa9f5fe4e |
| 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
Modified ChangeLog
from [7ecc765089]
to [9682adda62].
[diff]
Modified generic/tclExecute.c
from [beaab0abcf]
to [1b2dbdca0e].
[diff]
Modified tests/expr.test
from [c3241b93c8]
to [08a4ec6b70].
[diff]