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: printf and time_t Date: Mon, 05 Jan 2026 20:00:50 -0800 Organization: None to speak of Lines: 25 Message-ID: <87ldib2xvx.fsf@example.invalid> References: <10jfol6$2u6r8$1@news.xmission.com> <10jfs23$2liif$1@dont-email.me> <10jg3vi$2o69f$1@dont-email.me> <10jgb9j$2rp4s$1@nntp.eternal-september.org> <10jhl3t$3c9r2$4@nntp.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 06 Jan 2026 04:00:51 +0000 (UTC) Injection-Info: nntp.eternal-september.org; posting-host="6061c768553c70d234d91411e32e7ab3"; logging-data="3660313"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sb5j1fN9rdPqSUlXJ6SwE" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:UDlyvrZ3wRYNdCeV47PPhi4ce7Q= sha1:UYX8fm0FVwHmkftXOqbkBEheUhY= Xref: csiph.com comp.lang.c:396198 Lawrence D’Oliveiro writes: > On Mon, 5 Jan 2026 07:37:07 -0500, James Kuyper wrote: >> On 2026-01-05 05:32, David Brown wrote: >> ... >>> Does being a "real type" imply that "time_t" is always an alias for >>> a standard integer type or standard floating point type? >> >> No, real types include integer types, which in turn includes the >> signed and unsigned integer types (6.2.5p22). The signed integer >> types include the extended signed integer types (6.2.5p6), and the >> unsigned integer types include the extended unsigned integer types >> (6.2.5p8). > > They could have said “numeric types” to avoid confusion with the > mathematical usage ... No, complex types are numeric types (or arithmetic types in C terms). And in mathematical terms, both integer types and real floating types represent subsets of the mathematical real numbers (plus nans and infinities for the real floating types). -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */