🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1146

Re: .5 against 0.5f

#1146
From: Keith Thompson
Date: Fri, 30 Oct 2026 02:37
17 lines
1821 bytes
"Steven G. Kargl" <sgk@REMOVEtroutmask.apl.washington.edu> writes:
[...]
> C23, Annex A shows the syntax rule: 'return expression_{opt}'
> with _{opt} denoting a subscript.  Unsurprisingly, 6.5.2 shows
>
> primary-expression:
>    ...
>    ( expression )
>    ...
>
> so, the code I posted with 'return (0)' is standard conforming.

Of course, and nobody has suggested otherwise.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Technical Details
Message-ID: <11c0vtj$3tkvn$1@kst.eternal-september.org>
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!kst.eternal-september.org!.POSTED!not-for-mail
References: <11bpvs7$1e6kc$2@dont-email.me> <868q3hmie0.fsf@linuxsc.com> <11bu8oi$2up7m$1@dont-email.me> <86se1oku25.fsf@linuxsc.com> <11c0rp7$lif$1@reader2.panix.com> <11c0u6a$3sm15$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!kst.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: .5 against 0.5f
Date: Thu, 29 Oct 2026 19:37:39 -0700
Organization: None to speak of
Lines: 17
Message-ID: <11c0vtj$3tkvn$1@kst.eternal-september.org>
References: <11bpvs7$1e6kc$2@dont-email.me> <868q3hmie0.fsf@linuxsc.com>
	<11bu8oi$2up7m$1@dont-email.me> <86se1oku25.fsf@linuxsc.com>
	<11c0rp7$lif$1@reader2.panix.com> <11c0u6a$3sm15$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 30 Oct 2026 02:37:40 +0000 (UTC)
Injection-Info: kst.eternal-september.org;
	logging-data="4117495"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18wMlJF0hjruU7QVKD+v8wj"; posting-host="b68af1aa9e7aa641ae7946e50ae9a9d4"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:IPgDyACqr7DkL/3f7sbU8Fx/seA= sha256:8sqNty4ZdQfc7vTieq6KdwmPInqwzTfEsU6EUt3XOo0=
	sha1:dBmRDxZtozSqP69cBMd36pNwD8g= sha256:MxRIU013/Rh8o6Ly/LesGih5Y+o+ijhnM6sv8tSkIoo=