On 64bit system, the following code returns an unexpected result.


(On Linux 32bit machine)
% lsearch -sorted -integer [lsort -integer {0 2147483648}] 2147483648
0
=> the value was found


(On Linux 64bit machine)
% lsearch -sorted -integer [lsort -integer {0 2147483648}] 2147483648
-1
=> the value was not found