Article View: comp.lang.c
Article #2112Re: variadic min and max, (any some and none, cat and more)
From: Keith Thompson
Date: Wed, 02 Dec 2026 22:10
Date: Wed, 02 Dec 2026 22:10
41 lines
3067 bytes
3067 bytes
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>> On 2026-12-02 20:09, Dan Cross wrote:
>>> In article <11epl7t$2j9g4$2@dont-email.me>,
>>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>>> On 2026-12-02 18:24, Dan Cross wrote:
>>>>> [...]
>>>>>
>>>>> The speed with which both light and electrical travel, however,
>>>>> varies depending on the medium; 3.0x10^9 meters/sec is light in
>>>>> a vaccuum;
>>>>
>>>> Interesting thread; first a changing gravity constant, now a (by
>>>> a factor of 10) increased speed of light. ;-)
>>> Oops; my bad. I wrote too quickly, and thought "9 digits",
>>> which is of course 10^8. I suppose one can also just write
>>> 299,792,458 m/s, but then we get to argue about the digit
>>> separator! :-D
>>
>> Or better(?) using even more expressive units:
>> c ~ 1,802,617,499,785.25 furlongs per fortnight
>> (with misleading accuracy, granted)
>
> The speed of light is by definition exactly 299792458 meters
> per second. (Since 1983, the meter and the second have been
> defined in a way that makes c an exact number).
>
> Converting to furlongs per fortnight yields a rational
> number, 2518256647200000/1397, equal to exactly
> 1802617499785.(254115962777380100214745884037222619899785), where
> the parentheses indicate that the enclosed digits repeat indefinitely.
>
> Yes, the number of repeating decimal digits is 42.
Off-topic, you say?
This is clearly about c.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Technical Details
Message-ID:
<11eq50f$3jfia$2@kst.eternal-september.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mailReferences:
<11bes8b$1gncr$1@dont-email.me> <11epj0j$39h1k$1@dont-email.me> <11epk98$6i8$1@reader2.panix.com> <11epl7t$2j9g4$2@dont-email.me> <11epqcr$gn8$1@reader2.panix.com> <11epsm8$2j9g5$2@dont-email.me> <11eq4sh$3jfia$1@kst.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson <Keith.S.Thompson+u@gmail.com> Newsgroups: comp.lang.c Subject: Re: variadic min and max, (any some and none, cat and more) Date: Wed, 02 Dec 2026 14:10:22 -0800 Organization: None to speak of Lines: 41 Message-ID: <11eq50f$3jfia$2@kst.eternal-september.org> References: <11bes8b$1gncr$1@dont-email.me> <11epj0j$39h1k$1@dont-email.me> <11epk98$6i8$1@reader2.panix.com> <11epl7t$2j9g4$2@dont-email.me> <11epqcr$gn8$1@reader2.panix.com> <11epsm8$2j9g5$2@dont-email.me> <11eq4sh$3jfia$1@kst.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Wed, 02 Dec 2026 22:10:23 +0000 (UTC) Injection-Info: kst.eternal-september.org; logging-data="3784266"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18f9kLolPbp2zmim8BQRDne"; posting-host="bee7266f6a4a3c538067dc76ad8893e1" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:2H4qBP8WEIruWToxpZUnW/2Rw+o= sha256:EqjBQJakzPtdfzktjlJ3y99B+OAbhW3eXnjFda9Nk2g= sha1:jlqKCgAQshL7VSvK9uzPi0Obd3w= sha256:vOOJ24kjiadFZ3EDhpeNP9PZ99PMA4oy8Ue098iWP7k=