| 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 // Dart core library. | 5 part of dart.core; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * All numbers in dart are instances of [num]. | 8 * All numbers in dart are instances of [num]. |
| 9 */ | 9 */ |
| 10 abstract class num implements Comparable { | 10 abstract class num implements Comparable { |
| 11 /** Addition operator. */ | 11 /** Addition operator. */ |
| 12 num operator +(num other); | 12 num operator +(num other); |
| 13 | 13 |
| 14 /** Subtraction operator. */ | 14 /** Subtraction operator. */ |
| 15 num operator -(num other); | 15 num operator -(num other); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 * | 113 * |
| 114 * The [num] in converted to an [int] using [toInt]. That [int] is | 114 * The [num] in converted to an [int] using [toInt]. That [int] is |
| 115 * then converted to a string representation with the given | 115 * then converted to a string representation with the given |
| 116 * [radix]. In the string representation, lower-case letters are | 116 * [radix]. In the string representation, lower-case letters are |
| 117 * used for digits above '9'. | 117 * used for digits above '9'. |
| 118 * | 118 * |
| 119 * The [radix] argument must be an integer between 2 and 36. | 119 * The [radix] argument must be an integer between 2 and 36. |
| 120 */ | 120 */ |
| 121 String toRadixString(int radix); | 121 String toRadixString(int radix); |
| 122 } | 122 } |
| OLD | NEW |