OLD | NEW |
1 part of fixnum; | |
2 | |
3 // 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 |
4 // 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 |
5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
6 | 4 |
7 /** | 5 /** |
8 * A fixed-precision integer. | 6 * A fixed-precision integer. |
9 */ | 7 */ |
10 abstract class intx implements Comparable { | 8 abstract class intx implements Comparable { |
11 | 9 |
12 // Arithmetic operations. | 10 // Arithmetic operations. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 * Returns the value of this [intx] as a hexadecimal [String]. | 94 * Returns the value of this [intx] as a hexadecimal [String]. |
97 */ | 95 */ |
98 String toHexString(); | 96 String toHexString(); |
99 | 97 |
100 /** | 98 /** |
101 * Returns the value of this [intx] as a [String] in the given radix. | 99 * Returns the value of this [intx] as a [String] in the given radix. |
102 * [radix] must be an integer between 2 and 16, inclusive. | 100 * [radix] must be an integer between 2 and 16, inclusive. |
103 */ | 101 */ |
104 String toRadixString(int radix); | 102 String toRadixString(int radix); |
105 } | 103 } |
OLD | NEW |