Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.programming Subject: Re: A little puzzle. Date: Thu, 01 Dec 2022 06:55:39 -0800 Organization: A noiseless patient Spider Lines: 31 Message-ID: <86o7sn5g2c.fsf@linuxsc.com> References: <875yf8nijb.fsf@bsb.me.uk> <42d09790-8473-4d9a-bc3f-35ed25e84b54n@googlegroups.com> <86y1rv7oeu.fsf@linuxsc.com> <86tu2j6r46.fsf@linuxsc.com> <029e75d5-a825-4266-b593-1c98056076b2n@googlegroups.com> <86h6yi6j0p.fsf@linuxsc.com> <865yew7nas.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader01.eternal-september.org; posting-host="67b01cddb462709762c0c460072e4ec7"; logging-data="2969818"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sp0DnU1mszFZ6Z9sYZXIAQ3IQA7RErfI=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:5sl+yS2yLVdPVad3sk1ltld+xXs= sha1:8dfJOnX1d8dM4ZPMbsStqBO9jSA= Xref: csiph.com comp.programming:16020 Julio Di Egidio writes: > On Wednesday, 30 November 2022 at 11:24:17 UTC+1, Tim Rentsch wrote: > >> Julio Di Egidio writes: >> [edited for brevity] >> >>> On Tuesday, 29 November 2022 at 13:29:48 UTC+1, Tim Rentsch wrote: >>> ..> On Monday, 21 November 2022 at 21:45:34 UTC+1, Ben Bacarisse wrote: >>> >>> ..>> Consider any ordered measure that "wraps round" -- bearings in >>> ..>> degrees, minutes in the hour, indeed hours in either the 12 or >>> ..>> 24 hour clock. The problem is to determine if a given value is >>> ..>> in the sub-range specified by a start and an en value. >>> >>>> The question can be answered without using any of subtraction, >>>> remainder, or mod, >>> >>> No, it cannot. But feel free to prove me wrong. >> >> At this point I see no reason to try to convince you. > > You have never had any reason, so that is hardly surprising. As you may have observed, I often put in time and effort to give further explanation of an earlier comment. I'm more likely to do that when I think the person I'm responding to is interested in hearing what I have to say. I hope you will understand if I choose not to read or respond to your future postings.