Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: .5 against 0.5f Date: Wed, 28 Oct 2026 17:59:19 -0700 Organization: A noiseless patient Spider Lines: 28 Message-ID: <868q3hmie0.fsf@linuxsc.com> References: <11bpvs7$1e6kc$2@dont-email.me> <11bqnvh$1np7s$1@dont-email.me> <11br5td$1to7l$1@dont-email.me> <11br792$1u7e5$1@dont-email.me> <11brgqf$21170$2@dont-email.me> <11brkco$21oj5$1@dont-email.me> <11bs4tj$26daj$1@dont-email.me> <11bs613$26knh$1@dont-email.me> <11bt7ff$2i0ag$1@dont-email.me> <11btm2a$2ojn1$2@kst.eternal-september.org> <11bttrp$2qvg6$1@dont-email.me> <11bu12l$2rgo2$4@kst.eternal-september.org> <11bu3kk$2svh8$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Thu, 29 Oct 2026 00:59:20 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3085160"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XrVQr/430p3nEmycQ4a9tiL8a1S54cEM="; posting-host="a9c9791c9dd02c83b2c564a620bcf3c6" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:i1RUdbw4ha0oLY7XjCG9a4KVhNo= sha1:jmGoIghEbn3b0aRVhfs56rNb6N4= sha256:RWS05zlHrMItH5byaKfejdgYX44/m5yE6coHD0Q/2iU= sha1:554IZppgv9yLDnYVZCKFbns+AZU= sha256:oEt/vR3iN523NfeGPJhB196bDLFLm8bDHDEcx+Kvw0k= Xref: csiph.com comp.lang.c:403764 "Steven G. Kargl" writes: > On Wed, 28 Oct 2026 16:39:00 -0700, Keith Thompson wrote: > >> (Also, you misspelled "ROFL", and you don't need parentheses on the >> return statement, particularly if you dislike fluff.) > > Yeah, I was laugh too hard while typing ;-) > > Parentheses is a habit from BSD kernel source file style guide. Now is a good time to start unlearning that habit. > % man 9 style > ... > > Values in return statements should be enclosed in parentheses. > > > I also have debugging macros RETURNI() that require parens. That strengthens the motivation not to use parentheses with return statements, to emphasize that they are different from the macros. Otherwise someone might wonder if there had been a #define return(x) return ...something involving x...