Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: if (legitimate(+a)) legitimate(a^^b); Message-ID: <4673@utzoo.UUCP> Date: Fri, 23-Nov-84 17:55:03 EST Article-I.D.: utzoo.4673 Posted: Fri Nov 23 17:55:03 1984 Date-Received: Fri, 23-Nov-84 17:55:03 EST References: <374@petsd.UUCP> <1799@burdvax.UUCP>, <4069@elsie.UUCP> Organization: U of Toronto Zoology Lines: 13 > It seems to me that the proposal to legitimize > a ^^ b > is of the same ilk as the proposal to legitimize unary '+'. > Both are, strictly speaking, "unnecessary;" > both serve to "fill out" the family of operators supported by C, As I understand it, one of the major things that moved the committee to include unary plus was the observation that "+3.14159" is legal when read from a string by atof, and when read from input by scanf, but not when placed in C source. No such inconsistency motivates "^^". -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry