Chromium Code Reviews| Index: sdk/lib/core/int.dart |
| diff --git a/sdk/lib/core/int.dart b/sdk/lib/core/int.dart |
| index 6ca271829d00c7329a918600f6acf9f92951e439..23eda314290b52f11aa2aa4b216e43a12d6b5cf5 100644 |
| --- a/sdk/lib/core/int.dart |
| +++ b/sdk/lib/core/int.dart |
| @@ -196,6 +196,14 @@ abstract class int extends num { |
| */ |
| int abs(); |
| + /** |
| + * Returns the sign of this integer. |
| + * |
| + * Returns 0 for zero, -1 for values less than zero and |
| + * +1 for values greater than zero. |
| + */ |
| + int get sign; |
| + |
| /** Returns `this`. */ |
| int round(); |