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

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