Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: iso646.h Date: Tue, 23 Jan 2024 12:13:27 -0800 Organization: None to speak of Lines: 19 Message-ID: <87cytrajvc.fsf@nosuchdomain.example.com> References: MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="26e4c0dfaad44fa440c0363db91416b9"; logging-data="1510331"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/elDHnzQ2CXg27inUVdEty" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:nVqkyn/OnnCpUU75yIhgFNwb6Po= sha1:CDBYDbYhY4jj9P98LsWLxB4+GBk= Xref: csiph.com comp.lang.c:380695 bart writes: [...] > But it's OK to justify 'pow' for exponentiation? "pow" is a library function, not an operator. If C had an exponentation operator, it would probably have been represented using punctuation characters, perhaps "**". (Adding a "**" operator now would break some existing code; `x**y` currently means `x * (*y)`. "^^" might work, but there doesn't seem to be much demand for an exponentation operator anyway.) (Yes, sizeof and _Alignof are operators that use keywords rather than punctuation symbols. There's no hard rule that operators must be punctuation, just a general trend.) -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Medtronic void Void(void) { Void(); } /* The recursive call of the void */