feIsnegative static method

int feIsnegative(
  1. FieldElement f
)

Implementation

static int feIsnegative(FieldElement f) {
  final List<int> s = List<int>.filled(32, 0);
  feTobytes(s, f);
  return s[0] & 1;
}