Article View: comp.lang.c
Article #1261Re: .5 against 0.5f
From: Bonita Montero
Date: Mon, 02 Nov 2026 17:25
Date: Mon, 02 Nov 2026 17:25
15 lines
1851 bytes
1851 bytes
Am 27.10.2026 um 19:40 schrieb Scott Lurndal: > Total > 75.71000000000001 USD > > Appears they may be using FP instead of integer fixed point arithmetic > for pricing. If you have a proper fp to decimal runtime function this actually won't happen. That's while numbers which would result in the above output would always be rounded correctly. That's safe since you'd need billions of computations that wouldn't result to such results by accident.
Technical Details
Message-ID:
<11cah2l$32csk$2@raubtier-asyl.eternal-september.org>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!raubtier-asyl.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!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero <Bonita.Montero@gmail.com> Newsgroups: comp.lang.c Subject: Re: .5 against 0.5f Date: Mon, 2 Nov 2026 18:25:43 +0100 Organization: A noiseless patient Spider Lines: 15 Message-ID: <11cah2l$32csk$2@raubtier-asyl.eternal-september.org> 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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 02 Nov 2026 17:25:42 +0000 (UTC) Injection-Info: raubtier-asyl.eternal-september.org; logging-data="3224468"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jNAJf/3j8WPfqqK37cy7QgESdlw1gSQQ="; posting-host="dbffc34a04661a78eeca19bb42575b43" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:vRjyeULsbfIwfnRy9QeXEKLezo4= sha256:5+j0mh3lCcXz++sKkxTK2Cg3RtdGSylP2QazXDg6dTg= sha1:NzZx4pLX20yTTHnATchJBiW82Zc= sha256:oLuZa3Edn7OW5sRqi+edZVR3FMqHrh/dA1HMUuhAkck= Content-Language: de-DE In-Reply-To: <Ue6ES.2265$y_V1.1859@fx12.iad>