| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // Dart core library. | |
| 6 | |
| 7 interface int extends num { | |
| 8 // Bit-operations. | |
| 9 int operator &(int other); | |
| 10 int operator |(int other); | |
| 11 int operator ^(int other); | |
| 12 int operator ~(); | |
| 13 int operator <<(int shiftAmount); | |
| 14 int operator >>(int shiftAmount); | |
| 15 | |
| 16 // Testers. | |
| 17 bool isEven(); | |
| 18 bool isOdd(); | |
| 19 | |
| 20 // Specializations of super-interface. | |
| 21 int operator negate(); | |
| 22 int abs(); | |
| 23 int round(); | |
| 24 int floor(); | |
| 25 int ceil(); | |
| 26 int truncate(); | |
| 27 } | |
| OLD | NEW |