| Deutsch English Français Italiano |
|
<86jz8djsd7.fsf@linuxsc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch <tr.17687@z991.linuxsc.com> 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 03:51:16 -0700 Organization: A noiseless patient Spider Lines: 50 Message-ID: <86jz8djsd7.fsf@linuxsc.com> References: <vrd77d$3nvtf$2@dont-email.me> <868qp1ra5f.fsf@linuxsc.com> <vrdhok$47cb$2@dont-email.me> <20250319115550.0000676f@yahoo.com> <vreuj1$1asii$4@dont-email.me> <vreve4$19klp$2@dont-email.me> <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com> <vrh1br$35029$2@dont-email.me> <LRUCP.2$541.0@fx47.iad> <vrh71t$3be42$1@dont-email.me> <KFVCP.594649$SZca.498578@fx13.iad> <vrhb77$3frk8$1@dont-email.me> <vrru8f$174q6$1@dont-email.me> <86o6xpk8sn.fsf@linuxsc.com> <vrtmu4$2s1q2$1@dont-email.me> <20250325011327.41@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 25 Mar 2025 11:51:17 +0100 (CET) Injection-Info: dont-email.me; posting-host="dc97818a680e22f6747ff94516233a05"; logging-data="3255200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VA6byfwqe+CZQAKcQJLPINlOzFjI56D4=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:Z1gNy6QskpvsEmRpBYrQJEVcOiU= sha1:NbdPn5izop4yHbZxtAR6vXEn67I= Bytes: 3502 Kaz Kylheku <643-408-1753@kylheku.com> writes: > On 2025-03-25, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote: > >> On 25.03.2025 05:56, Tim Rentsch wrote: >> >>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes: >>> >>> [...] >>> >>>> When I started with "C" or C++ there were not only 8-bit >>>> multiples defined for the integral types; [...] >>> >>> In C the correct phrase is integer types, not integral types. >> >> My apologies if I'm using language independent terms. I'm >> confident, though, that most people (obviously you as well) >> understood the term. > > You are 100% correct. You made it clear that you're referring to > a time /when you started with C/. I remember from past discussions > that this was sufficiently long ago that it was ISO C90 or ANSI C, > if not earlier. > > In ISO 9899:1990, we have this: > > 6.1.2.5 Types > > [...] > > "The type char, the signed and unsigned integer types. and the > enumerated types are collectively called integral types." > ^^^^^^^^ > > The integral types were renamed between C90 and C99. However, > "integral types" remains part of C history. C90 is a still valid, > historic and historically significant dialect of C. > > Even today, it is misleading to say that "integral types" is an > incorrect way to talk about C. It's a terminology that has been > formally superseded since C90. [...] Definitely not. Neither "integer" nor "integral" are terms defined by the C standard; rather they are meant to be read in the sense of ordinary English. The word "integral" was not superseded by the C99 standard, but _corrected_ because "integral" is wrong and "integer" is right, in the contexts in which those words are used. What was done is just like what was done when "one's complement" was changed to "ones' complement" - the change was made to reflect correct English usage.