Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Why is this happening? Date: Sat, 28 Mar 2026 22:31:46 -0700 Organization: None to speak of Lines: 42 Message-ID: <87zf3rurp9.fsf@example.invalid> References: <10q5046$3ec1o$2@dont-email.me> <10q523v$3e865$1@dont-email.me> <10q7bug$7vod$1@dont-email.me> <87bjg8wrgl.fsf@example.invalid> <86bjg72xl6.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sun, 29 Mar 2026 05:31:47 +0000 (UTC) Injection-Info: dont-email.me; posting-host="1ddb92ea07dcf10ad5bdf45e81a7e5f2"; logging-data="1302054"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//eYj+A513exxuOlnUIZsy" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:JXb1KStQ6l5+ysP50oAGb19bh5E= sha1:C6CXtBUxI5Gp01V9aJgkwirrsA8= Xref: csiph.com comp.lang.c:397262 Tim Rentsch writes: > scott@slp53.sl.home (Scott Lurndal) writes: >> Keith Thompson writes: >>> Lawrence D <> ??Oliveiro writes: >>>> On Fri, 27 Mar 2026 10:15:23 +0100, Josef M@C3{B6}llers wrote: >>>>> diffns += 1000000000UL; >>>> >>>> Can you write >>>> >>>> diffns += 1_000_000_000UL; >>>> >>>> yet? >>> >>> Not in C. C23 introduces the apostrophe as a digit separator, copied >>> from C++: >>> >>> diffns += 1'000'000'000UL; >> >> Or diffns += 1000ul * 1000ul * 1000ul; >> >> or diffns += 1 * NS_PER_SEC; >> >> with >> #define NS_PER_SEC ((1000ul * 1000ul * 1000ul)) >> >>> (I would have preferred underscores, but that would have conflicted >>> with C++'s user-defined literals.) >> >> Likewise, I'd prefer the underscore. > > Ditto. And there is no reason C could have allowed both, > and C++ be damned. (I think you omitted a "not".) Using apostrophes is IMHO far better than either allowing two arbitrarily distinct syntaxes or a gratuitous incompatibility with C++. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */