Primitive Type Sizes

From: Ken (kk_oop_at_yahoo.com)
Date: 05/28/04


Date: 28 May 2004 06:39:40 -0700

Hi. Does the Java spec mandate set sizes for primitive types (e.g.,
int, float, char, etc.)? I know the ANSI C++ standard does not do
this, which makes these sizes compiler dependent. So I guess I'm
trying to figure out if in Java these sizes are compiler or JVM
dependent.

Thanks!

Ken



Relevant Pages

  • Size of primitive types?
    ... Does the Java spec mandate set sizes for primitive types (e.g., ... I know the ANSI C++ standard does not do ... which makes these sizes compiler dependent. ...
    (comp.lang.java.programmer)
  • Re: Need help finding a supplier...
    ... The general process for design is to first establish the standard sizes ... gears, gear boxes, etc. etc. that you are likely to need. ...
    (rec.crafts.metalworking)
  • Re: Type of argc
    ... I see nothing in the standard even suggesting that size_t is a good ... -- a library function that takes a single size_t parameter that does ... In particular, it has no real relationship to the use of argc, because ... namely that of holding values of sizes in bytes. ...
    (comp.std.c)
  • Re: size of pointer in C?
    ... >>> The quickest way to find out what pointer sizes are on your particular ... the C standard only uses the ... > properly whether they differ or not. ...
    (comp.lang.c)
  • Re: standard size for smt tantalums?
    ... > tantalums made in the standard discrete surface mount sizes (1206, ... Sometimes additional sizes are available (depending on the ... Would a ceramic work just ...
    (sci.electronics.design)