operator % method

BigInt operator % (
  1. BigInt other
)

Euclidean modulo operator.

Returns the remainder of the Euclidean division. The Euclidean division of two integers a and b yields two integers q and r such that a == b * q + r and 0 <= r < b.abs().

The sign of the returned value r is always positive.

See remainder for the remainder of the truncating division.

Implementation

BigInt operator %(BigInt other);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-core/BigInt/operator_modulo.html