Chromium Code Reviews| Index: sdk/lib/core/int.dart |
| =================================================================== |
| --- sdk/lib/core/int.dart (revision 43513) |
| +++ sdk/lib/core/int.dart (working copy) |
| @@ -103,6 +103,14 @@ |
| */ |
| int operator >>(int shiftAmount); |
| + /** |
| + * Returns this integer to the power of [exponent] modulo [modulus]. |
| + * |
| + * It is an error if [exponent] is negative or if [modulus] is |
| + * negative or zero. |
|
Lasse Reichstein Nielsen
2015/02/06 19:57:04
I think we have migrated to writing this as:
Th
regis
2015/02/06 21:46:54
Done.
|
| + */ |
| + int modPow(int exponent, int modulus); |
| + |
| /** Returns true if and only if this integer is even. */ |
| bool get isEven; |