🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1184

Re: .5 against 0.5f

#1184
From: Lynn McGuire
Date: Sat, 31 Oct 2026 03:00
19 lines
1821 bytes
On 10/27/2026 5: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

Never give up precision easily.  It will always come back to bite you.

Lynn
Technical Details
Message-ID: <11c3lk9$ps9f$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: Lynn McGuire <lynnmcguire5@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: .5 against 0.5f
Date: Fri, 30 Oct 2026 22:00:23 -0500
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <11c3lk9$ps9f$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: Sat, 31 Oct 2026 03:00:26 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="848175"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+pjC7IyZP0hHuzcmXPAXWx77PmJpdPUtc="; posting-host="a9437fe4fbea3630435747e58abe45cc"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:S3HxFKPoa9hICGyBDw25wExWAOA= sha256:9LWJ6ujlugioFmaBI6cAgZLECpPV6edJRSasjKTrcPQ=
	sha1:tR9bZQ6ESxbliozvV+HbwGwoscs= sha256:oxD3eBXjNnrdYXAWnKC/bsZgclgnt5p+yIakamVZ+lI=
In-Reply-To: <11bpvs7$1e6kc$2@dont-email.me>
Content-Language: en-US