Re: byte data type
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Sun, 14 Aug 2005 20:29:05 +0100
Roedy Green wrote:
byte is signed. It was an idiotic holdover from the days of C where
chars were 7 bits.
C does not specify the number of bits to a char. Nor if it is signed or unsigned (usually they are unsigned). It doesn't even specify if signed chars use two-complement notation.
I don't really think it is the business of a high level language, such as Java, to have comprehensive support for bit bashing.
Tom Hawtin -- Unemployed English Java programmer http://jroller.com/page/tackline/ .
- Follow-Ups:
- Re: byte data type
- From: Monique Y. Mudama
- Re: byte data type
- From: Roedy Green
- Re: byte data type
- References:
- byte data type
- From: rahul8143
- Re: byte data type
- From: Roedy Green
- byte data type
- Prev by Date: Re: Objects
- Next by Date: Size
- Previous by thread: Re: byte data type
- Next by thread: Re: byte data type
- Index(es):