Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Date: Tue, 25 Mar 2025 13:39:01 -0700 Organization: None to speak of Lines: 22 Message-ID: <87ecyk7sm2.fsf@nosuchdomain.example.com> References: <868qp1ra5f.fsf@linuxsc.com> <20250319115550.0000676f@yahoo.com> <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com> <86o6xpk8sn.fsf@linuxsc.com> <20250325011327.41@kylheku.com> <20250325131110.000056bd@yahoo.com> <86bjtpjp22.fsf@linuxsc.com> <20250325190958.0000534d@yahoo.com> <867c4ckhtd.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 25 Mar 2025 21:39:02 +0100 (CET) Injection-Info: dont-email.me; posting-host="7cb379057f60c5676f5334e6c65b06bf"; logging-data="89421"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fDsb4L9F7ABBP9k7AWlCA" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:HlAmoqbosJpNzAizb2cNnmIIp4M= sha1:4n93Rs06gIXXH/hqy/bH/CTsBFg= Xref: csiph.com comp.lang.c:391636 Tim Rentsch writes: [...] > Returning to the original question, the point is that, > when considered as adjectives, "integer" and "integral" > mean very different things. They can, but they don't necessarily do so, and it's important to acknowledge that common usage is not consistent. C90 referred to "integral types". C99 changed that to "integer types". C++ defines "integral types" and then defines "integer types" as a synonym. Both terms are valid. I prefer to use the terms defined by the language standard when discussing a given language, but in practice "integer" and "integral" are used synonymously. The reference to "integral types" in this thread was probably worth a brief note, but it was absolutely clear what was meant. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */