| Index: runtime/lib/integers.dart
|
| diff --git a/runtime/lib/integers.dart b/runtime/lib/integers.dart
|
| index 7f7fc90c259314cf8c4d34c2df54bbfa478d91ae..9c503c4b775bf56c11391182b094a4bd1c7afa9b 100644
|
| --- a/runtime/lib/integers.dart
|
| +++ b/runtime/lib/integers.dart
|
| @@ -92,6 +92,9 @@ class _IntegerImplementation {
|
| int abs() {
|
| return this < 0 ? -this : this;
|
| }
|
| + int get sign {
|
| + return (this > 0) ? 1 : (this < 0) ? -1 : 0;
|
| + }
|
| bool get isEven => ((this & 1) == 0);
|
| bool get isOdd => !isEven;
|
| bool get isNaN => false;
|
|
|