View Single Post
  #26 (permalink)  
Old June 15th, 2005, 09:55 AM
PC PC is offline
Registered User
 
Join Date: Jun 2005
Location: Roma, , Italy.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Nicholas and Alexei.


1) About shifting, I think that there is an error when in the book we find "... The left shift fills these bits with the value in the 32nd bit..."(page 41- Left shift). Left shift operation inserts always 0 bits on the right side of 32bits signed integer, but preserves bit 31 (sign bit) from shifting.


2)
Quote:
quote:
 For instance, -64 >> 5 >>> 1 does return 2147483616.
Does -64>>>1 return 2147483616 ?
Isn't it?

3) Page 39
Quote:
quote:
3. The one's complement is converted back to a floating-point number.
Isn't better to say 32-bit number?

Best regard.

Paolo
Reply With Quote