operator + method

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

Implementation

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