Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[expr] regression

Closed / Fixed1274287fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-08-26 20:05:07
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.
msoferplain2005-10-11 22:38:49
Logged In: YES 
user_id=148712

numerics branch merged to HEAD, bug not present anymore
Log in (anonymous is fine) to add a comment.