🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #917

Re: .5 against 0.5f

#917
From: steve g
Date: Wed, 28 Oct 2026 06:11
18 lines
1917 bytes
fir <profesor.fir@gmail.com> writes:
>
>
> but the question is: can using .1 instead of 0.1f make me any harm in code?
> like things get slower in runtime? (assuming i use floats in code
> not doubles, and the code is a bit time critical like rasterisation goes on
> floats)  why the ai so maniacally puts that f?

dunno, the Gnu Libc has many options for floats/doubles. You can use a
prefix of `-' and such. check gnu libc manual on google.

> i gues the answer is NOT but maybe soem can show at least one case it could be
> worse?

12.12.10 Parsing a Template String
----------------------------------

GNU Libc --- have fun...
Technical Details
Message-ID: <87se1qnykx.fsf@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <11bpvs7$1e6kc$2@dont-email.me> <11bqnvh$1np7s$1@dont-email.me> <11bqo8h$1o2l4$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!news.nrbbs.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 28 Oct 2026 06:11:58 +0000
From: steve g <Sgonedes1977@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: .5 against 0.5f
References: <11bpvs7$1e6kc$2@dont-email.me> <11bqnvh$1np7s$1@dont-email.me>
	<11bqo8h$1o2l4$2@dont-email.me>
Date: Wed, 28 Oct 2026 02:11:58 -0400
Message-ID: <87se1qnykx.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:20Vl7yh1H2AdvPmXc0PT2xG1orQ=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 18
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-FlsnjHMPc3nQBxLPOMuDYuxGKv/JtXeN1eXvu/C59JtPY/sYx3ypvmB53SyQDK9ARQfSICgY0jMzr2t!/5dXTYjA+p4BbF3NiNx4z1e8dzZEEQNDO9vGym+abnNGtMM=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40