Bitwise Optimization in Java: Bitfields, Bitboards, and Beyond
Subject:   Errata
Date:   2005-02-04 22:35:49
From:   gjmilne
A small mistake on the first page of this article

y = all 1 bits means that y=-1

y = all zeros except for the leftmost or sign bit mean that y = Integer.MIN_VALUE

This is all quite obvious from your 4-bit example table earlier.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Errata
    2005-02-05 22:35:27  glenpepicelli [View]

    Thanks for showing us that mistake. I've asked the editors to fix it.