From: <tcl...@tc...> - 2014-01-16 13:16:14
|
Repository: http://core.tcl.tk/tcl Change Notification For ["lsearch -sorted -integer" on 64bit system] Ticket http://core.tcl.tk/tcl/tktview?name=47d66253c92197d30bff280b02e0a9e62f07cee2 Artifact http://core.tcl.tk/tcl/tinfo?name=3b111979b96c40596a1617d2fbaa147fd1301961 On 2014-01-16T13:10:35 By dgp Changed Fields icomment: [lsort -integer] is not portable. The interpretation it places on values varies with value of $tcl_platform(wordSize). For the same reason, you see: (On 32-bit system) % expr int(2147483648) -2147483648 (On 64-bit system) % expr int(2147483648) 2147483648 login: dgp |