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

Side by Side Diff: test/generated_sdk/lib/math/math.dart

Issue 1104753002: patch_sdk: fix part/import order (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 months 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
« no previous file with comments | « test/generated_sdk/lib/isolate/isolate.dart ('k') | tool/patch_sdk.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 /** 5 /**
6 * Mathematical constants and functions, plus a random number generator. 6 * Mathematical constants and functions, plus a random number generator.
7 */ 7 */
8 library dart.math; 8 library dart.math;
9 import 'dart:_foreign_helper' show JS;
10 import 'dart:_js_helper' show patch, checkNum;
9 11
10 part "jenkins_smi_hash.dart"; 12 part "jenkins_smi_hash.dart";
11 part "point.dart"; 13 part "point.dart";
12 part "random.dart"; 14 part "random.dart";
13 part "rectangle.dart"; 15 part "rectangle.dart";
14 import 'dart:_foreign_helper' show JS;
15 import 'dart:_js_helper' show patch, checkNum;
16 16
17 /** 17 /**
18 * Base of the natural logarithms. 18 * Base of the natural logarithms.
19 * 19 *
20 * Typically written as "e". 20 * Typically written as "e".
21 */ 21 */
22 const double E = 2.718281828459045; 22 const double E = 2.718281828459045;
23 23
24 /** 24 /**
25 * Natural logarithm of 10. 25 * Natural logarithm of 10.
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 _nextState(); 434 _nextState();
435 int bits27 = _lo & ((1 << 27) - 1); 435 int bits27 = _lo & ((1 << 27) - 1);
436 return (bits26 * _POW2_27_D + bits27) / _POW2_53_D; 436 return (bits26 * _POW2_27_D + bits27) / _POW2_53_D;
437 } 437 }
438 438
439 bool nextBool() { 439 bool nextBool() {
440 _nextState(); 440 _nextState();
441 return (_lo & 1) == 0; 441 return (_lo & 1) == 0;
442 } 442 }
443 } 443 }
OLDNEW
« no previous file with comments | « test/generated_sdk/lib/isolate/isolate.dart ('k') | tool/patch_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698