🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #878

Re: .5 against 0.5f

#878
From: Chris M. Thomasson
Date: Tue, 27 Oct 2026 20:08
19 lines
1807 bytes
On 10/27/2026 3:53 AM, fir wrote:
> if ai generates me some functions it puts everywhere this f at the and
> yet it add zeros so instead of .1 i got 0.1f
> 
> and i obviously dont like it
> 
> i write hvever some codes when i need speed so the question is may it 
> give some difference?
> 
> i mean .1 maybe can be treated as doube constants so mabe occupies some 
> more memory (?) or uses some casting in coplutations (?)
> 
> 
> i doubt it probably it makes difference but im strictly not sure

Why not ask the ai, again... ;^)

0.1f == .1f
Technical Details
Message-ID: <11br0b1$1r6p7$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>

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: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: .5 against 0.5f
Date: Tue, 27 Oct 2026 13:08:00 -0700
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <11br0b1$1r6p7$1@dont-email.me>
References: <11bpvs7$1e6kc$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 27 Oct 2026 20:08:02 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1940263"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+9kRE6CS6Sd35HXJRBHs/CQuYBq7TIZGQ="; posting-host="a6c988641c9f0a5278d89ebf0389e645"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ezv1ge75zNG4EcMR1cYfAW5V0NI= sha256:IDFcTilExqACjLEe5pX7aiZ0SryRnuhUbM8tMzBSFXA=
	sha1:eXro6sb2tP3hSwP+KAfQRBgC+0M= sha256:m84q0hGCg4K6J/3gSMEFZLG5QgjEybhH29AeK3qfX9E=
In-Reply-To: <11bpvs7$1e6kc$2@dont-email.me>
Content-Language: en-US