Subject: right operand for shift operators
From: Srikanth Chandrasekaran (schandra@asc.corp.mot.com)
Date: Sat May 25 2002 - 02:01:38 PDT
Hi,
LRM states that the right operand of the shift operator is treated as unsigned
number. What does this exactly mean?
Does it mean that the negative number is cast as unsigned integer when solving
for the shift operator?? Also what happens to the vacated positions? Is it
always filled with 0's. If so, its a bit different from the C std definition
of these shift operators.
cheers,
Sri
-- Srikanth Chandrasekaran Global Software Group, EDA SBU Motorola Australia. Phone: +61-8-8168 3592 Fax: x3501
This archive was generated by hypermail 2b28 : Sat May 25 2002 - 02:08:24 PDT