From: Otis Bricker Date: 2006-07-08T01:00:05+09:00 Subject: Re: Grails "Oliver Wong" wrote in news:Aburg.133531$771.14823@edtnps89: >>> [?] Are the non-byte datatypes fixed-size? >> >> Not sure what you mean. I believe that int,long, double and the like >> are all fixed size. > > They have a fixed range (e.g. from Long.MIN_VALUE to > Long.MAX_VALUE for > long). Their actual bit-width is implementation defined, and is > inaccessible from within your Java program. > > http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html# 19511 http://java.sun.com/docs/books/vmspec/2nd-edition/html/Overview.doc.html# 31446 Sun seems to state that the virtual machine will use fixed size representations(2.4.1 and 3.3). I guess you could view this as only defining the value range. But since the range is defined seperately in 3.3.1, this seems and incorrect interpretation. OB