Overview
| Artifact ID: | ed808a44e89fef3f856b5f8b9911648014ab733e |
|---|---|
| Ticket: | 402663ffffffffffffffffffffffffffffffffff
Fix for bug 124600 |
| User & Date: | kennykb on 2000-12-06 22:45:02 |
Changes
- icomment:
I'd rather build MIN_INT and MAX_INT with bit shift and negation myself, but couldn't find a convenient way to do it. ( 1 << 31 ) for MIN_INT might work, except that it messes up the 64-bit port. ( -1 >> 1 ) might define MAX_INT, except that >> is an arithmetic right-shift and sign extends the damned thing: ( -1 >> 1 ) == -1 ! (I probably ought to work up a TIP for an unsigned shift-right operator, perhaps '>>>'.) The rules for setting up tests have never been clear to me. Most of the other Tcl tests are entirely self-contained; in very, very few places is there code in the body of the file, except for cleaning up after failed tests. If you'd rather hoist the code out, and you understand the implications, by all means go ahead. - login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"