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

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

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/core/identical.dart ('k') | sdk/lib/core/invocation_mirror.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 dart.core;
6
7 /** 5 /**
8 * Representation of Dart integers containing integer specific 6 * Representation of Dart integers containing integer specific
9 * operations and specialization of operations inherited from [num]. 7 * operations and specialization of operations inherited from [num].
10 * 8 *
11 * Integers can be arbitrarily large in Dart. 9 * Integers can be arbitrarily large in Dart.
12 * 10 *
13 * *Note however, that when compiling to JavaScript, integers are 11 * *Note however, that when compiling to JavaScript, integers are
14 * implemented as JavaScript numbers. When compiling to JavaScript, 12 * implemented as JavaScript numbers. When compiling to JavaScript,
15 * integers are therefore restricted to 53 significant bits because 13 * integers are therefore restricted to 53 significant bits because
16 * all JavaScript numbers are double-precision floating point 14 * all JavaScript numbers are double-precision floating point
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 /** 70 /**
73 * Parse [source] as an integer literal and return its value. 71 * Parse [source] as an integer literal and return its value.
74 * 72 *
75 * Accepts "0x" prefix for hexadecimal numbers, otherwise defaults 73 * Accepts "0x" prefix for hexadecimal numbers, otherwise defaults
76 * to base-10. 74 * to base-10.
77 * 75 *
78 * Throws a [FormatException] if [source] is not a valid integer literal. 76 * Throws a [FormatException] if [source] is not a valid integer literal.
79 */ 77 */
80 external static int parse(String source); 78 external static int parse(String source);
81 } 79 }
OLDNEW
« no previous file with comments | « sdk/lib/core/identical.dart ('k') | sdk/lib/core/invocation_mirror.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698