operator + method

  1. @override
JubJubNativeFq operator +(
  1. JubJubNativeFq other
)
override

Implementation

@override
JubJubNativeFq operator +(JubJubNativeFq other) {
  final BigInt sum = v + other.v;
  return JubJubNativeFq.nP(sum >= p ? sum - p : sum);
}