Public Comment Number PC-UK0274 ISO/IEC CD2 9899 (SC22N2794) Public Comment =========================================== Date: 1998-12-11 Author: Derek M.Jones Author Affiliation: Knowledge Software Ltd Postal Address: Knowledge Software Ltd 62 Fernhill Road Farnborough Hants GU14 9RZ United Kingdom E-mail Address: Telephone Number: +44 1252 520667 Category: Clarification Committee Draft subsection: 6.3.1.3 Title: Clarify the semantics of integer conversions Detailed description: Clause 6.3.1.3, para 2. The bit about converting the type, in C90 (6.2.1.2), has been deleted. What happens when an object of type int having a value of -1 is assigned to an unsigned long? If the adding and subtracting described in para 2 is performed on the int object the resulting value will be different than if the original value was first promoted to long (assuming int and long have a different width). Add footnote (see footnote 28 in C90) stating that the rules describe arithmetic on the mathematical value, not on the value of a given type of expression.