DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Complying with standard C

Promotions: unsigned vs. value preserving

The following information appears in the Rationale that accompanies the draft C Standard:

QUIET CHANGE
A program that depends on unsigned preserving
arithmetic conversions will behave differently,
probably without complaint. This is considered
to be the most serious change made by the Committee
to a widespread current practice.

This section explores how this change affects our code.


Next topic: Background
Previous topic: Example

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004