Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang,net.lang.c Subject: Re: structured assembler (BASIC) [Really: C builtin functions?] Message-ID: <5341@alice.uUCp> Date: Thu, 24-Apr-86 15:58:43 EST Article-I.D.: alice.5341 Posted: Thu Apr 24 15:58:43 1986 Date-Received: Sat, 26-Apr-86 05:01:51 EST References: <375@hadron.UUCP> Organization: Bell Labs, Murray Hill Lines: 14 Xref: watmath net.lang:2395 net.lang.c:8727 > Any operator which maps its args into a unique value in its range > defines an operation which is a function. Just because you can > say a + b doesn't mean that (plus a b) [resp., plus(a, b)] is not > a function. Similarly, sizeof(i), whether or not you use parens > (and I always do) is an operator which, of course, is a function. > Were you talking about details of implementation, perhaps? The C definition of "function" is not the same as the mathematical definition. A C function is a part of a program. A mathematical function is a set of ordered pairs that meet certain conditions. That said, note that sizeof(i) is syntactically a constant. This would not be true if sizeof were a function.