Re: FAQ issue: Guaranteed value ranges of fundamental types?

From: Victor Bazarov (v.Abazarov_at_comAcast.net)
Date: 02/05/05

  • Next message: Keith Thompson: "Re: Array Lookup [Was: Why is "Hello World" const char* ?]"
    Date: Sat, 5 Feb 2005 15:35:14 -0500
    
    

    "infobahn" <infobahn@btinternet.com> wrote...
    > Victor Bazarov wrote:
    >>
    >> I wonder what _exactly_ does your copy say in 3.9.1/1 that makes you
    >> derive that 'char <= short <= int'. But that doesn't matter. You are
    >> actually correct, the C standard defined those relationships between
    >> type sizes.
    >
    > C&V please.

    I don't have a copy of C90. I used to have a printed copy at work,
    but I don't work there any longer. I can be mistaken, therefore.

    V


  • Next message: Keith Thompson: "Re: Array Lookup [Was: Why is "Hello World" const char* ?]"

    Relevant Pages

    • Re: FAQ issue: Guaranteed value ranges of fundamental types?
      ... > Victor Bazarov wrote: ... the C standard defined those relationships between ... >> type sizes. ... I don't have a copy of C90. ...
      (comp.lang.c)
    • Re: Memory allocated during run time
      ... A can of worms I was trying hard not to re-open. ... think anybody can seriously deny that it still is one in C90. ... current standard; de-facto, ... would mandate the use of the past tense for such questions. ...
      (comp.lang.c)
    • Re: Implicit int
      ... How much such code (portable C90 code that C99 broke) is there in the ... none of the standard typedefs, particularly size_t, are wider than ... Note that this was an *implicit* guarantee; the C90 standard standard ...
      (comp.std.c)
    • Re: Expanding buffer - response to "Determine the size of malloc" query
      ... by the Standard, and size_t is defined as an unsigned integral type. ... is it conforming for a C90 implementation to implement size_t as ... long (the only unsigned integer types), ... So I suppose it's impossible to write a fully conforming C90 program ...
      (comp.lang.c)
    • Re: An example of unions not being type safe?
      ... the committee corrected the C90 standard by issuing ... All absolutely true, of course. ... but the flaw is that there are implementations on which the ...
      (comp.lang.c)