Article View: comp.lang.c
Article #2110Re: variadic min and max, (any some and none, cat and more)
From: Keith Thompson
Date: Wed, 02 Dec 2026 22:08
Date: Wed, 02 Dec 2026 22:08
36 lines
2874 bytes
2874 bytes
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.
--
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:
<11eq4sh$3jfia$1@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>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:08:14 -0800 Organization: None to speak of Lines: 36 Message-ID: <11eq4sh$3jfia$1@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> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Wed, 02 Dec 2026 22:08:18 +0000 (UTC) Injection-Info: kst.eternal-september.org; logging-data="3784266"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jDmignBbHYULJHiiij/r+"; posting-host="bee7266f6a4a3c538067dc76ad8893e1" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:aszretF/UsMfXKxQlOIsq+D2Ls8= sha256:sjCw3vhB+Ehw9Ip8GmxhxGQNHotTHmnPQVi1r93bgSA= sha1:Om0j3wd4XVfJncNoUEOglePKlzo= sha256:6uMRrTV6yXUoYqoCyw8L3dgujRxQLZB6uGi9s9GYzJI=