getSigned method

int getSigned(
  1. int v
)

Implementation

int getSigned(int v) {
  final split = (_range >> 1);
  final bit = _bitUpdate(split);
  _shift();
  return bit != 0 ? -v : v;
}