Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Can this program be improved? Date: Wed, 29 Dec 2021 17:48:29 -0800 Organization: None to speak of Lines: 18 Message-ID: <87fsqa3lsi.fsf@nosuchdomain.example.com> References: <87sfub2g2t.fsf@nosuchdomain.example.com> <87o84z2bsi.fsf@nosuchdomain.example.com> <20211229163503.145@kylheku.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="ef2881cf3a29f048a7861a1bf9688d75"; logging-data="14773"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198hAQEj1zx8Ij6dsan5W0r" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:Qqai6c8sXp6HBUzgp6cgoqCv/j0= sha1:BfBwEBDeigITXt/371SXrmQ2srw= Xref: csiph.com comp.lang.c:164112 Kaz Kylheku <480-992-1380@kylheku.com> writes: > On 2021-12-30, Keith Thompson wrote: [...] >> But it can mean dealing with thousands of dollars to the exact cent -- >> and if you get a result of $1234.565001 and round it to $1234.57, when > > You cannot get a result of $1234.565... by only additive and subtractive > transactions, such as recording expenses in a ledger whose > denomination is pennies! I didn't say otherwise. [...] -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips void Void(void) { Void(); } /* The recursive call of the void */