From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,43ae7f61992b3213 X-Google-Attributes: gid1025b4,public X-Google-Thread: 103376,faf964ea4531e6af X-Google-Attributes: gid103376,public From: adisaacs@mtu.edu (Andy Isaacson) Subject: Re: GPL and "free" software Date: 1999/05/02 Message-ID: #1/1 X-Deja-AN: 473223886 References: <3729D0F6.3DF2CCED@doc.ic.ac.uk> <925572182snz@vision25.demon.co.uk> Organization: Michigan Technological University Newsgroups: comp.lang.ada,gnu.misc.discuss Date: 1999-05-02T00:00:00+00:00 List-Id: In article <925572182snz@vision25.demon.co.uk>, Phil Hunt wrote: > > >#define sqrt(a) ({int i; i = a/2; do {a = i/a;} \ > > > while (a*a - i > .1); i}) [snip] > Is the ({ ... }) construct standard C and/or C++ these days? IIRC > gcc supports it. No, it's not standard. gcc does support it, however. -andy