| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of fixnum; |
| 6 |
| 5 /** | 7 /** |
| 6 * A fixed-precision integer. | 8 * A fixed-precision integer. |
| 7 */ | 9 */ |
| 8 abstract class intx implements Comparable { | 10 abstract class intx implements Comparable { |
| 9 | 11 |
| 10 // Arithmetic operations. | 12 // Arithmetic operations. |
| 11 intx operator +(other); | 13 intx operator +(other); |
| 12 intx operator -(other); | 14 intx operator -(other); |
| 13 // The unary '-' operator. Note that -MIN_VALUE will be equal | 15 // The unary '-' operator. Note that -MIN_VALUE will be equal |
| 14 // to MIN_VALUE due to overflow. | 16 // to MIN_VALUE due to overflow. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 * Returns the value of this [intx] as a hexadecimal [String]. | 96 * Returns the value of this [intx] as a hexadecimal [String]. |
| 95 */ | 97 */ |
| 96 String toHexString(); | 98 String toHexString(); |
| 97 | 99 |
| 98 /** | 100 /** |
| 99 * Returns the value of this [intx] as a [String] in the given radix. | 101 * Returns the value of this [intx] as a [String] in the given radix. |
| 100 * [radix] must be an integer between 2 and 16, inclusive. | 102 * [radix] must be an integer between 2 and 16, inclusive. |
| 101 */ | 103 */ |
| 102 String toRadixString(int radix); | 104 String toRadixString(int radix); |
| 103 } | 105 } |
| OLD | NEW |