.
D 2003-12-31T15:12:43
J assignee dkf
J cmimetype text/plain
J comment expr\sdoes\snot\sdeliver\scorrect\sresults\sfor\s<</>>,\sif\sthe\nshift\scount\sis\sequal\s(or\sgreater)\sthe\sbitcount\sof\san\ninteger.\n\ne.g.\sexpr\s5>>32\sgives\s5,\sinstead\sof\sexpected\s0\n\s\s\s\s\s\sexpr\s5>>33\sgives\s2,\sinstead\sof\sexpected\s0\n\nOk,\sas\ssomeone\ssaid\son\sclt,\sthis\sisn't\scovered\sin\sC89\nStandard\stoo,\sbut\sdo\swe\shave\sto\sstick\sto\sfaulty\nstandards,\sthat\swere\sset\sup\syears\sago.\n\nFor\simplementing\sshifts\sof\sbit\sfields\swider\sthan\sint,\nthis\sis\srequired\sto\swork\scorrectly\s(ok,\sI\scould\sdo\nconditional\sexpr's,\sbut\sthe\scode\sgets\squite\sugly)
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter hinteger
J subsystem 16.\sCommands\sA-H
J title <</>>\sx\s(x>=bitcount\sof\sarchitecture)\sis\swrong
J type Bug
K 868467ffffffffffffffffffffffffffffffffff
U hinteger
Z b753f7c4bf10f0714cbfc1b1d80e9160