Article View: comp.std.c
Article #1705Re: Parameter Types in Old-Style Function Definitions
From: Doug Gwyn
Date: Sat, 15 Sep 1990 23:59
Date: Sat, 15 Sep 1990 23:59
16 lines
1468 bytes
1468 bytes
In article <26564@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes: >Note that this problem would not exist, had X3J11 chosen the correct >(i.e., sign-preserving) extension rules. [harangue omitted] Actually the alternative was unsignedness-preserving. Both sets of rules had substantial existing practice, and the choice was not at all easy to make. In the end, the committee decided that the probability of programming errors was somewhat greater with the unsignedness-preserving rules than with value-preserving rules, and that maintaining arithmetic values would more often be important than maintaining type-unsignedness. One of the strongest advocates for unsignedness-preserving rules later did an experiment to determine how much actual existing code would be affected by the choice, and discovered that the change fixed more bugs in existing code than it introduced, but much more often it had no effect. That pretty much confirmed the original committee evaluation.
Technical Details
Message-ID:
<13865@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!haven!adm!smoke!gwynReferences:
<2689@dataio.Data-IO.COM> <1990Sep15.011126.23112@jarvis.csri.toronto.edu> <26564@mimsy.umd.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Parameter Types in Old-Style Function Definitions Keywords: parameter, function Message-ID: <13865@smoke.BRL.MIL> Date: 15 Sep 90 23:59:08 GMT References: <2689@dataio.Data-IO.COM> <1990Sep15.011126.23112@jarvis.csri.toronto.edu> <26564@mimsy.umd.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 16