OLD | NEW |
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; | 5 part of dart.core; |
6 | 6 |
7 // TODO: Convert this abstract class into a concrete class double | 7 // TODO: Convert this abstract class into a concrete class double |
8 // that uses the patch class functionality to account for the | 8 // that uses the patch class functionality to account for the |
9 // different platform implementations. | 9 // different platform implementations. |
10 | 10 |
11 /** | 11 /** |
| 12 * A double-precision floating point number. |
| 13 * |
12 * Representation of Dart doubles containing double specific constants | 14 * Representation of Dart doubles containing double specific constants |
13 * and operations and specializations of operations inherited from | 15 * and operations and specializations of operations inherited from |
14 * [num]. Dart doubles are 64-bit floating-point numbers as specified in the | 16 * [num]. Dart doubles are 64-bit floating-point numbers as specified in the |
15 * IEEE 754 standard. | 17 * IEEE 754 standard. |
16 * | 18 * |
17 * The [double] type is contagious. Operations on [double]s return | 19 * The [double] type is contagious. Operations on [double]s return |
18 * [double] results. | 20 * [double] results. |
19 * | 21 * |
20 * It is a compile-time error for a class to attempt to extend or implement | 22 * It is a compile-time error for a class to attempt to extend or implement |
21 * double. | 23 * double. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 * "0." | 166 * "0." |
165 * ".0" | 167 * ".0" |
166 * "-1.e3" | 168 * "-1.e3" |
167 * "1234E+7" | 169 * "1234E+7" |
168 * "+.12e-9" | 170 * "+.12e-9" |
169 * "-NaN" | 171 * "-NaN" |
170 */ | 172 */ |
171 external static double parse(String source, | 173 external static double parse(String source, |
172 [double onError(String source)]); | 174 [double onError(String source)]); |
173 } | 175 } |
OLD | NEW |