Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: sdk/lib/core/int.dart

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sdk/lib/core/identical.dart ('k') | sdk/lib/core/invocation.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "core.dart"; 5 part of "dart:core";
6 6
7 /** 7 /**
8 * An arbitrarily large integer. 8 * An arbitrarily large integer.
9 * 9 *
10 * **Note:** When compiling to JavaScript, integers are 10 * **Note:** When compiling to JavaScript, integers are
11 * implemented as JavaScript numbers. When compiling to JavaScript, 11 * implemented as JavaScript numbers. When compiling to JavaScript,
12 * integers are therefore restricted to 53 significant bits because 12 * integers are therefore restricted to 53 significant bits because
13 * all JavaScript numbers are double-precision floating point 13 * all JavaScript numbers are double-precision floating point
14 * values. The behavior of the operators and methods in the [int] 14 * values. The behavior of the operators and methods in the [int]
15 * class therefore sometimes differs between the Dart VM and Dart code 15 * class therefore sometimes differs between the Dart VM and Dart code
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 * 316 *
317 * var value = int.parse(text, onError: (source) => null); 317 * var value = int.parse(text, onError: (source) => null);
318 * if (value == null) ... handle the problem 318 * if (value == null) ... handle the problem
319 * 319 *
320 * The [onError] function is only invoked if [source] is a [String]. It is 320 * The [onError] function is only invoked if [source] is a [String]. It is
321 * not invoked if the [source] is, for example, `null`. 321 * not invoked if the [source] is, for example, `null`.
322 */ 322 */
323 external static int parse(String source, 323 external static int parse(String source,
324 {int radix, int onError(String source)}); 324 {int radix, int onError(String source)});
325 } 325 }
OLDNEW
« no previous file with comments | « sdk/lib/core/identical.dart ('k') | sdk/lib/core/invocation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698