Other |
---|
5.0 tigerFixed |
Relates :
|
JLS 5.1.3 defines the byte to char conversion as a narrowing conversion that simply discards bits. That doesn't work because the conversion adds bits, not removes bits. Is the sign extended before discarding bits or is the value padded with zeroes? This is completely unspecified in the JLS and implementations could differ.
|