🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1139

Re: .5 against 0.5f

#1139
From: Keith Thompson
Date: Thu, 29 Oct 2026 23:56
21 lines
2341 bytes
Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>> Note: my argumentation is based on questioning the existence of 'F'.
>> So I'd appreciate to hear of any enlightening application cases, ones
>> that would be impossible when 'F' in literals wouldn't be present.
>
> In C the word is constants, not literals.

For now.  In the latest C2y draft, they're called literals.

Proposal:       https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3189.htm
Draft standard: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3998.pdf

(You've said before that you dislike this change.)

In any case, the term "literal" is unambiguous, even if it's not
currently used by the C standard.

-- 
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: <11c0mfg$3pmvb$4@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> <11bqnvh$1np7s$1@dont-email.me> <11br5td$1to7l$1@dont-email.me> <11br792$1u7e5$1@dont-email.me> <11brgqf$21170$2@dont-email.me> <11brir0$1uh9q$4@kst.eternal-september.org> <11bt4ua$139ta$8@dont-email.me> <11btlrl$2ojn1$1@kst.eternal-september.org> <11btv9c$139ta$12@dont-email.me> <86wlr0kzqc.fsf@linuxsc.com>

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 16:56:32 -0700
Organization: None to speak of
Lines: 21
Message-ID: <11c0mfg$3pmvb$4@kst.eternal-september.org>
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>
	<11brir0$1uh9q$4@kst.eternal-september.org>
	<11bt4ua$139ta$8@dont-email.me>
	<11btlrl$2ojn1$1@kst.eternal-september.org>
	<11btv9c$139ta$12@dont-email.me> <86wlr0kzqc.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 29 Oct 2026 23:56:33 +0000 (UTC)
Injection-Info: kst.eternal-september.org;
	logging-data="3988459"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+iZGfl5FiDVov1UP/QdR2p"; posting-host="6d0778e7cc40265319e665d37d9f3d3e"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:YhzfNLusGSsccjnSKveC+z6o2uU= sha256:5zo9shukzXlB2T3x2uys7lly6yRiZTwhXl5+7Omq7PI=
	sha1:Lm7oV0ATWVd9T1SMD7QxyfpuF18= sha256:hhRZOuhqz8pTYohpOJ7UjXQz1QcSPymOnq8t6LGTKFc=