Article View: comp.lang.c
Article #871Re: .5 against 0.5f
From: Tim Rentsch
Date: Tue, 27 Oct 2026 19:29
Date: Tue, 27 Oct 2026 19:29
13 lines
1643 bytes
1643 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. Send them an email saying you were overcharged and want a refund of 0.000000000001 cents. ;)
Technical Details
Message-ID:
<86y0bjlz6g.fsf@linuxsc.com>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-mailReferences:
<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!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch <tr.17687@z991.linuxsc.com> Newsgroups: comp.lang.c Subject: Re: .5 against 0.5f Date: Tue, 27 Oct 2026 12:29:43 -0700 Organization: A noiseless patient Spider Lines: 13 Message-ID: <86y0bjlz6g.fsf@linuxsc.com> References: <11bpvs7$1e6kc$2@dont-email.me> <11bqnvh$1np7s$1@dont-email.me> <Ue6ES.2265$y_V1.1859@fx12.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 27 Oct 2026 19:29:44 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1909284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2TDBE0SswPblMM5I61ggg8sLQq5wgioo="; posting-host="c25e66ade32874c04f5cd4ed4273aa05" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:IoKFdJteSb++gQC7J9i85uc473E= sha1:UlGW2ldtVF+fuPAFW7zGwVik3Jk= sha256:Pe14g0DJMgMaY2EFm+MkP295f7l01UtKaZSZtTJ5MGk= sha1:afxdEPKJRx8OmuwNAgr5yhpAuGI= sha256:CNvbgb3eiYKEzvBDUjCdFvzzonOv/vBdTikhasQ5f/A=