Path: csiph.com!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Sun, 27 Nov 2016 11:51:33 -0600 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: absence of max References: <0e1db67d-0ab8-4971-a319-8aa66a40b873@googlegroups.com> <865a7198-93f3-4a42-b666-1464026a96a5@googlegroups.com> Date: Sun, 27 Nov 2016 17:51:32 +0000 Message-ID: <87twas4xqz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:bUuNh/4ty/GkmFhS/R4Su7dHPXk= MIME-Version: 1.0 Content-Type: text/plain Lines: 12 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-kxbioNgQ2aPQoo5kXkufYJnXMGSswnVG3FuhVNqgRgBMU8YG0fbhvW+TYmYKTOaSxLK+NwRKhuusj++!mQPmngy8x3jiQBNsuTd/NCTZDGm8Oq7PTiWFqGLmPDG5xyM1Nt7RSs3N4R97Dddw/32b X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1446 Xref: csiph.com comp.lang.c:97596 BartC writes: > On 27/11/2016 17:22, asetofsymbols@gmail.com wrote: >>> x>y?x:y >> max(x,y) >> one character more > > max(a[i]->m.x,a[i]->m.y) > a[i]->m.x>a[i]->m.y)?a[i]->m.x:a[i]->m.y Not to mention all the bog standard "double evaluation of expression" caveats