Appendix B. Powers of Two Table

Refer to Table B-1 for powers of two.

Table B-1. Powers-of-Two from 21 to 264

image

With n bits in integer two's complement format, you can count:

  • Unsigned from 0 to (one less than 2n)

  • Signed from -2n-1 to (one less than 2n-1)

Get Just Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.