Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: double free Date: Wed, 13 Jul 2016 13:51:16 -0700 Organization: None to speak of Lines: 42 Message-ID: References: <8760sc2aiz.fsf@bsb.me.uk> <57856cf1.441531@news.xs4all.nl> <9cfaefc2-92a1-4e03-aa6b-d071a0988c87@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="19207"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ds17BisNvyyGyCGvYgp+4" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:UyLGTlByngOqdyZpT7RIZucTJDA= sha1:i05Ef8TFTclB3Vy+L0N+M6ZoHvA= Xref: csiph.com comp.lang.c:90351 Richard Heathfield writes: > On 13/07/16 21:02, Keith Thompson wrote: >> Richard Heathfield writes: >>> On 13/07/16 15:11, BartC wrote: >>>> On 13/07/2016 13:57, Richard Heathfield wrote: >>>>> On 13/07/16 13:41, BartC wrote: >>>> >>>>>> I still think that using * for deference, for multiply and for >>>>>> 'pointer-to' was a bad idea. The fact that C isn't going to change that >>>>>> doesn't mean I'm completely wrong. >>>>> >>>>> In C, they work fine, and in C, you're completely wrong. >>>> >>>> A**B doesn't mean raise A to power B, >>> >>> Why on earth would it? >> >> Why not? > > Indeed. But why? Because exponentation (at least for positive integer powers) is repeated multiplication, and repeating the multiplication symbol `*` as `**` is nicely mnemonic. (We probably use `*` for multiplication because it's the punctuation symbol most similar to the mathematical `×`, which wasn't available in early character sets, or `x`, which is a letter.) And, of course ... >> All symbols are ultimately arbitrary. > > Yes, that'll do as a "why". > > -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"