Tcl Source Code

View Ticket
Login
Ticket UUID: 1274287
Title: [expr] regression
Type: Bug Created on: 2005-08-26 20:05:07
Submitter: dgp Assigned to: msofer
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2005-10-11 22:38:49
Status: Closed Closed by: msofer
Resolution: Fixed Closed on: 2005-10-11 15:38:49
Version: obsolete: 8.5a4
Description:
Something's gone wrong with
[expr] on the HEAD:

% info patch
8.5a4
% expr {(8388608 >= -2147483648)}
1
% expr {(8388608 < 2147483648)}
1
% expr {(8388608 >= -2147483648) && (8388608 < 2147483648)}
0

Might be revised number parsing or
might be Mo's tweaks to the handling
of the LONG_MIN value.

FWIW, the numerics branch code doesn't
have this bug, so that's one route to 
fixing it.
User Comments:
msofer added on 2005-10-11 22:38:49:
Logged In: YES 
user_id=148712

numerics branch merged to HEAD, bug not present anymore