sign extension

PALLAS at SU-SCORE.ARPA PALLAS at SU-SCORE.ARPA
Mon Jul 23 11:07:23 AEST 1984


From:  "Joseph I. Pallas" <PALLAS at SU-SCORE.ARPA>

Does anyone know if the ANSI standard will answer the burning question
"Should signed values be sign-extended when cast into unsigned
values?"

PCC's insistence on doing this has caused more than a few bugs,
although it is arguably correct, if frequently surprising.

joe
-------



More information about the Comp.lang.c mailing list