| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 library dart._internal; | |
| 6 | |
| 7 import 'dart:collection'; | |
| 8 | |
| 9 import 'dart:core' hide Symbol; | |
| 10 import 'dart:core' as core; | |
| 11 import 'dart:math' show Random; | |
| 12 import 'dart:_js_primitives' show printString; | |
| 13 import 'dart:_js_helper' show JS, patch; | |
| 14 import 'dart:_interceptors' show JSArray; | |
| 15 | |
| 16 part 'iterable.dart'; | |
| 17 part 'list.dart'; | |
| 18 part 'lists.dart'; | |
| 19 part 'print.dart'; | |
| 20 part 'sort.dart'; | |
| 21 part 'symbol.dart'; | |
| 22 | |
| 23 // Powers of 10 up to 10^22 are representable as doubles. | |
| 24 // Powers of 10 above that are only approximate due to lack of precission. | |
| 25 // Used by double-parsing. | |
| 26 const POWERS_OF_TEN = const [ | |
| 27 1.0, /* 0 */ | |
| 28 10.0, | |
| 29 100.0, | |
| 30 1000.0, | |
| 31 10000.0, | |
| 32 100000.0, /* 5 */ | |
| 33 1000000.0, | |
| 34 10000000.0, | |
| 35 100000000.0, | |
| 36 1000000000.0, | |
| 37 10000000000.0, /* 10 */ | |
| 38 100000000000.0, | |
| 39 1000000000000.0, | |
| 40 10000000000000.0, | |
| 41 100000000000000.0, | |
| 42 1000000000000000.0, /* 15 */ | |
| 43 10000000000000000.0, | |
| 44 100000000000000000.0, | |
| 45 1000000000000000000.0, | |
| 46 10000000000000000000.0, | |
| 47 100000000000000000000.0, /* 20 */ | |
| 48 1000000000000000000000.0, | |
| 49 10000000000000000000000.0, | |
| 50 ]; | |
| OLD | NEW |