🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1127

Re: .5 against 0.5f

#1127
From: David Brown
Date: Thu, 29 Oct 2026 19:56
25 lines
2566 bytes
On 29/10/2026 19:57, Janis Papanagnou wrote:
> On 2026-10-29 09:30, David Brown wrote:
>> On 29/10/2026 00:08, Janis Papanagnou wrote:
>>> On 2026-10-28 21:27, Keith Thompson wrote:
>>> [...]
>>>> But 0.1f
>>>> and 0.1 are of different types.  If they happen to behave the same way
>>>> in some context, it's a consequence of the C language rules.
>>>
>>> Yes, sure. Only that I think that context should suffice to interpret
>>> "0.1" appropriately!
>>>
>>
>> Do you mean that you think it would have been better if the rules of C 
>> were different, so that the context always determined how "0.1" was to 
>> be interpreted? 
> 
> (I think my opinion here is irrelevant since "C" is what it is.)

There's nothing wrong with having an opinion on what might or might not 
have been better, or what you might like in other languages.  The 
pointless discussions come from claiming C can be, or needs to be, "fixed".

But it's fine to stop here if you like.
Technical Details
Message-ID: <11c08dn$3ll6g$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> <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> <11bv06a$34ll3$2@dont-email.me> <11c04uf$2t866$2@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: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: .5 against 0.5f
Date: Thu, 29 Oct 2026 20:56:39 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <11c08dn$3ll6g$1@dont-email.me>
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> <11bv06a$34ll3$2@dont-email.me>
 <11c04uf$2t866$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 29 Oct 2026 19:56:40 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3855568"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/iq1BzU5VmGLUoIZdTTMVVYB5fneil9TA="; posting-host="ee186c62f9168531a82b8aa89ffdfee0"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/eKF7j3jy9jzeyLihZXzdSB0tTk= sha256:G5Yx9o6Ggc4eb4SNn1DQKj+wU1JaI8WnSRqRLynawQQ=
	sha1:ThxiNj+C7SVDuUjo6BNPKUnHWuM= sha256:OCq0lLO8SynPr8iQN5egjScS7BiqJx9RcPLTN4ntZMg=
Content-Language: en-GB
In-Reply-To: <11c04uf$2t866$2@dont-email.me>