From: SourceForge.net <no...@so...> - 2004-01-20 00:03:36
|
Bugs item #728838, was opened at 2003-04-28 07:06 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=728838&group_id=10894 Category: 07. Variables Group: obsolete: 8.4.2 Status: Open Resolution: Remind Priority: 6 Submitted By: Donal K. Fellows (dkf) Assigned to: Donal K. Fellows (dkf) Summary: Can't increment by wide amounts Initial Comment: You can't increment a value by a wide-int amount, which is surprising. Result should be wide if either (or both) the current variable value and the added value are wide. (The default is not wide, of course.) ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2004-01-19 19:03 Message: Logged In: YES user_id=80530 my mistake. I misread the earlier comments. This bug is fixed in 8.5. A backport for 8.4 is still pending. You can re-close if you like, or leave open as a reminder about the backport. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2004-01-19 15:16 Message: Logged In: YES user_id=80530 I don't think this is working in 8.4.5. % set v 2 2 % incr v 0xff00000001 3 % incr v [expr 0xff00000000] 3 re-open ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2003-04-28 08:39 Message: Logged In: YES user_id=79902 I've fixed this now in the HEAD with the attached patch. Let me know if I should backport the patch (which is unfortunately rather large as I took the opportunity to tidy a few other bits of code up) to the 8.4 branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=728838&group_id=10894 |