🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1249

Re: .5 against 0.5f

#1249
From: Lawrence D’Oliveiro
Date: Sun, 01 Nov 2026 23:29
12 lines
1890 bytes
On Sun, 1 Nov 2026 17:15:23 -0500, James Kuyper wrote:

> On 2010-08-28, Tony Clough wrote that "One possible problem with C
> as compared to other languages like Perl or Shell is that function
> calls require parentheses which leads to cluttered code. (But there
> are some funny exceptions in the standard library though, eg return
> and size_of do not need parentheses)"

sizeof does require parentheses if you pass it a type, not for an
expression (except for the usual precedence reasons).

Not sure why that is ...
Technical Details
Message-ID: <11c8i0t$2dr35$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11bpvs7$1e6kc$2@dont-email.me> <868q3hmie0.fsf@linuxsc.com> <11bu8oi$2up7m$1@dont-email.me> <11bvqbn$3g0tj$1@dont-email.me> <11c07vf$lhk$1@reader2.panix.com> <11c0fcj$2t865$2@dont-email.me> <11c8dls$2chr0$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c
Subject: Re: .5 against 0.5f
Date: Sun, 1 Nov 2026 23:29:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <11c8i0t$2dr35$1@dont-email.me>
References: <11bpvs7$1e6kc$2@dont-email.me> <868q3hmie0.fsf@linuxsc.com>
	<11bu8oi$2up7m$1@dont-email.me> <11bvqbn$3g0tj$1@dont-email.me>
	<11c07vf$lhk$1@reader2.panix.com> <11c0fcj$2t865$2@dont-email.me>
	<11c8dls$2chr0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 01 Nov 2026 23:29:34 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2550885"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19ezrhiQiXRBnal7xSxtZP9"; posting-host="e3160788d8ee1ce0c3252f1aed4b293c"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:tWFs5SbGFu0qrklE0ocLQedyupE= sha256:RefhLcFik6oIQCc2aNYYnZJd5BNiYhsiLz37KijrVp0=
	sha1:WtbghHGfHlFfATLT0GcrO5s3nTM= sha256:8fVlysmB42V9NnTWbR6iou+AEysXeKyBpdNz1iOTwJc=