Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

bit representation  RSS feed

 
roja potti
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1111 1111 1111 1111 1111 1111 1111 1010
how is this bit pattern interpreted as -6
 
Corey McGlone
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by roja potti:
1111 1111 1111 1111 1111 1111 1111 1010
how is this bit pattern interpreted as -6

Read this entry in my blog, the SCJP Tipline.
Corey
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!