🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #922

Re: .5 against 0.5f

#922
From: steve g
Date: Wed, 28 Oct 2026 06:25
13 lines
1630 bytes
scott@slp53.sl.home (Scott Lurndal) writes:

> I ordered a couple of blu-rays from amazon last week, and the
> confirmation email had the following for the total price:
>
>    Total
>    75.71000000000001 USD
>
> Appears they may be using FP instead of integer fixed point arithmetic
> for pricing.

Try asking them for (ceiling 75.71000000000001)
Technical Details
Message-ID: <87fqxqnxyw.fsf@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <11bpvs7$1e6kc$2@dont-email.me> <11bqnvh$1np7s$1@dont-email.me> <Ue6ES.2265$y_V1.1859@fx12.iad>

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-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 28 Oct 2026 06:25:11 +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>
	<Ue6ES.2265$y_V1.1859@fx12.iad>
Date: Wed, 28 Oct 2026 02:25:11 -0400
Message-ID: <87fqxqnxyw.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:WOIWPOg7NDE2SYg/RzrV2YqEMsw=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 13
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-fCOMFueXd13TzqWsTcEtjAwl0no363DWnJ7m6mE6mlABYM2JOthTrm6WDox/8TL2ACwAxTkzyTBrswu!8/3NB7yMA6aVKIwonizQDYtYpmVTSwT3tud76E34qOrwK10=
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