Path: ...!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:48:33 -0700 Organization: None to speak of Lines: 46 Message-ID: <875xjw7s66.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> <86frj1jpem.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 25 Mar 2025 21:48:39 +0100 (CET) Injection-Info: dont-email.me; posting-host="7cb379057f60c5676f5334e6c65b06bf"; logging-data="89421"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/68NZFskn5SGKviOk9giAo" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:8G89y1UXPMwUoXTfEUsur5v1FpQ= sha1:NQBNeEWwxL9oTwrBaWdxfR3a+H8= Bytes: 2838 Tim Rentsch writes: > Janis Papanagnou writes: > >> On 25.03.2025 05:56, Tim Rentsch wrote: >> >>> Janis Papanagnou 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. > > The problem is that what was written used the word "integral" > incorrectly. https://www.dictionary.com/browse/integral 5 *Arithmetic.* pertaining to or being an integer; not fractional. [...] >> The literal "3.0" is usually not representing the value of an >> integral [data] type like 'int'.[*] > > In C the word is constant, not literal; literals are something > else. The next edition of the C standard, following C23, will use the terms "integer literal", "floating literal", and "character literal". See the N3301 draft, for example. [...] > One more time: it is INTEGER data type, not INTEGRAL data type. I believe we all heard you the 10th time. [...] -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */