Liste des Groupes | Revenir à cl c |
On 25.03.2025 05:56, Tim Rentsch wrote:Most of the audience here, I believe, are usually happy when it is obvious what you mean. But many here can be very pedantic - that's a very useful trait in its place, and annoying when out of place.Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:My apologies if I'm using language independent terms. I'm confident,
>
[...]
>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.
though, that most people (obviously you as well) understood the term.
I understand that the "C" standard may have consistently been using
another naming. - Frankly, I'm a bit puzzled that general (language
independent) terms are considered "incorrect" by the audience here.
Yes. Here, Tim is using "integral" to mean a number (in the mathematical sense) that happens to be an integer (in the mathematical sense). It is a characteristic of the value, independent of any C type used to represent it, and it turns up a fair number of times in the C standards (mostly in connection with floating point library functions).The constant 3.0, for example, has an integral value, but itThe literal "3.0" is usually not representing the value of an integral
does not have an integer value.
[data] type like 'int'.[*]
(You are speaking about "integral value" here, I was speaking aboutI'm guessing Tim is trying to be helpful by showing you the difference between the words "integer" and "integral".
the "integral [data] types". Not sure why you shifted the goalpost.)
Les messages affichés proviennent d'usenet.