Skip to content
Tcl Source Code Artifact [17b3ecc135]
Login

Artifact [17b3ecc135]

Artifact 17b3ecc1354076b41294775c5821cf9c9d9b6b1f:

Ticket change [17b3ecc135] - Closed ticket [1710132fffffffff|1710132fff]: <i>[expr int(9...9)] returns -1 ... Is this a bug?</i> plus 6 other changes by afredd on 2007-04-30 23:28:40.
D 2007-04-30T23:28:40
J closedate 2007-04-30T16:28:40
J closer afredd
J icomment Logged\sIn:\sYES\s\nuser_id=1386588\nOriginator:\sYES\n\nDoh...\sought\sto\shave\stried\ssome\sother\sinput\snumbers!\n\nI\swas\sonly\susing\slong\snumbers\sof\sthe\sform\s99...9\nand\sthese\shappen\sto\sbe\sbe\s=\sN*(2**32)\s+\s(2**32\s-\s1)\nie.\swhen\sint()'d\sthey\sshould\sbe\s-1.\nAdding\sanother\s9\sto\sthe\stest\snumber\sis\ssame\sas\nmultiply\sby\s10\sand\sadd\s9.\sAdd\s(-1\s*\s10\s+\s9)\s==\s-1\n\nFunny\s:-)\n\n\n
J login afredd
J mimetype text/plain
J status Closed
J username afredd
K 1710132fffffffffffffffffffffffffffffffff
U afredd
Z c2dd01a8110362ce371671e7330cbacb