• Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

    From Tim Rentsch@tr.17687@z991.linuxsc.com to comp.lang.c on Sat Feb 7 00:04:57 2026
    From Newsgroup: comp.lang.c

    Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

    Tim Rentsch <tr.17687@z991.linuxsc.com> 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. [...]

    Only by people who are careless in their use of language.
    --- Synchronet 3.21b-Linux NewsLink 1.2