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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003