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

Side by Side Diff: sdk/lib/core/double.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/date.dart ('k') | sdk/lib/core/duration.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 // TODO: Convert this abstract class into a concrete class double 7 // TODO: Convert this abstract class into a concrete class double
6 // that uses the patch class functionality to account for the 8 // that uses the patch class functionality to account for the
7 // different platform implementations. 9 // different platform implementations.
8 10
9 /** 11 /**
10 * Representation of Dart doubles containing double specific constants 12 * Representation of Dart doubles containing double specific constants
11 * and operations and specializations of operations inherited from 13 * and operations and specializations of operations inherited from
12 * [num]. 14 * [num].
13 * 15 *
14 * The [double] type is contagious. Operations on [double]s return 16 * The [double] type is contagious. Operations on [double]s return
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 * Accepts the same format as double literals: 96 * Accepts the same format as double literals:
95 * [: ['+'|'-'] [digit* '.'] digit+ [('e'|'E') ['+'|'-'] digit+] :] 97 * [: ['+'|'-'] [digit* '.'] digit+ [('e'|'E') ['+'|'-'] digit+] :]
96 * 98 *
97 * Also recognizes "NaN", "Infinity" and "-Infinity" as inputs and 99 * Also recognizes "NaN", "Infinity" and "-Infinity" as inputs and
98 * returns the corresponding double value. 100 * returns the corresponding double value.
99 * 101 *
100 * Throws a [FormatException] if [source] is not a valid double literal. 102 * Throws a [FormatException] if [source] is not a valid double literal.
101 */ 103 */
102 external static double parse(String source); 104 external static double parse(String source);
103 } 105 }
OLDNEW
« no previous file with comments | « sdk/lib/core/date.dart ('k') | sdk/lib/core/duration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698