discardConjugatesLength static method

int discardConjugatesLength(
  1. int length
)

Returns the length of the result of calling discardConjugates on a list of the given length. See discardConjugates for more information.

Implementation

static int discardConjugatesLength(int length) {
  return (length == 0) ? 0 : ((length >>> 1) + 1);
}