[ooc-compiler] Implementation of SYSTEM.LSH
Brought to you by:
mva
|
From: August K. <fus...@co...> - 2005-12-04 18:42:13
|
Hi,
For integers, SYSTEM.LSH seems to be implemented as ASH, e.g. the result
of LSH(-1, -1) is -1 rather than MAX(SHORTINT). Why?
Here is what I expect:
LSH(-1, -1): 1111 1111 -> 0111 1111
ASH(-1, -1): 1111 1111 -> 1111 1111
Regards,
August
|