This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: signed/unsigned right shift


On 03/15/2004 05:16:55 PM EST Ian Lance Taylor wrote:
>
>Christian Groessler <cpg@aladdin.de> writes:
>
>Your suggestion would be expressed as "The integer promotions preserve
>value including signedness."

Yes, that's how I read it erroneously.


>K&R C was signedness preserving.  ISO C is value preserving.  A quick
>Google search turned up this page on the topic:
>    http://ou800doc.caldera.com/SDK_cprog/_Background.html

That's putting it to the point.

Thanks to all who responded.

regards,
chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]