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

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

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