Warn if bit inversion is on but returns nonsense.

Fixed #16.